Questions tagged [video-codecs]

Questions related to video compression and decompression methods. This includes popular video codec standards like H.264, MPEG4.

A video codec is a device or software that enables video compression or decompression for digital video. The compression usually employs lossy data compression.

More details at http://en.wikipedia.org/wiki/Video_codec

171 questions
4
votes
1 answer

Qt : How to create a video from multiple QImages

How to create a .mp4 video out of multiple QImages in a Qt application. Looking at QMediaRecorder examples, it only knows how to grab frames from camera. There seems to be no way to pass multiple QImages or some other image data type into…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
4
votes
1 answer

Video compression issue in samsung s5 device

I trying to compress video. it's working fine in all device but in Samsung S5 it gives below error. Error Log : android.media.MediaCodec$CodecException: Error 0xffffec77 below have my compression function public boolean convertVideo(final String…
4
votes
3 answers

How to use .so file to create an .apk file in android application for my custom video codec

i want create an app or .apk file which can play video in particular format. For this I had compiled my source files and taken object files, from object files i have generated one shared library file (.so) using command gcc -c -fPIC hello.c -o…
4
votes
4 answers

Motion detection on screenshots

I'd like to know if there is a fast algorithm that can detect parts that moved between two sequential screenshots. The algorithm should take two images and output a set of (rectangular) regions in one image and a vector that describes where the…
fuz
  • 88,405
  • 25
  • 200
  • 352
3
votes
3 answers

How can i know the duration of any h264 file?

I have one file in which only h264 frames are there in form of NAL unit. So now is there any method so i can count the duration of that file? I dont know how many frames are there in file. I have only file size. PS: All i want to do is in C language…
Jeegar Patel
  • 26,264
  • 51
  • 149
  • 222
3
votes
1 answer

How to extract frames from video using webcodecs from chrome 86

WebCodecs is released in Chrome 86. But there's no real code example on how to use it yet. Given a video url, how to extract video frames as ImageData using webcodecs?
Lincolnhuj
  • 63
  • 6
3
votes
2 answers

Video Codec for all major browsers

I am using video/mp4 format and using in 'video js', this is working fine in chrome but having issue with Firefox. Getting following error in console: Specified "type" attribute of "video/mp4" is not supported. Load of media resource # failed. Is…
Riz
  • 9,703
  • 8
  • 38
  • 54
3
votes
1 answer

Upgrading an existing h.264 solution of Level-4.1 to support 4K(Level-5.2)

I am currently studying to support 4K(3840x2160) on H.264 Encoder. When I studied the specs of H.264, it says 4K resolution is supported in Level-5.2(XAVC). In order to check the implementation I encoded my full HD(1920x1080)bitstream using x264 in…
Codec Guy
  • 137
  • 2
  • 11
3
votes
1 answer

Audio/Video codecs for Android platform

I'm looking for, either open-source or commercially available, Audio and Videl encoder & decoder for Android for an application I want to write for Android. For audio, I want to be able to both encode-decode the AMR/AD-PCM/AAC formats and for Video…
Sri Harsha V
  • 31
  • 1
  • 2
3
votes
0 answers

Parsing and CABAC Decoder Module

Can anybody help me with Parsing & CABAC decoding engine design for HEVC. I have googled it but not getting the exact thing.
3
votes
2 answers

Video Processing Library on Windows Phone 8

Are there video processing library on Windows phone 8? I am trying to convert very short videos from one format to another. From what I searched, FFMPEG is not available for windows phone: Using FFmpeg in .net? Is there an SDK support for video…
ssk
  • 9,045
  • 26
  • 96
  • 169
3
votes
1 answer

What do these two parts of libavcodec/h263data.h do exactly?

Below are two segments of code from the FFMPEG library, specifically located here: libavcodec/h263data.h (http://ffmpeg.org/doxygen/0.6/h263data_8h-source.html). I would like to know more about how these two segments operate in the larger context…
Chris Lindgren
  • 607
  • 1
  • 5
  • 13
3
votes
1 answer

FFmpeg screencast recording: which codecs to use?

I've been experimenting with recording screencasts using FFmpeg's X11grab module, which has worked more or less fine so far. I understand that a/v encoding is a complex process with many fine details, but I'm doing my best to learn. I'd like to do…
mkaito
  • 1,005
  • 1
  • 10
  • 19
2
votes
1 answer

kVTVideoDecoderBadDataErr when using VTDecompressionSessionDecodeFrame and H264 NAL units

My code can successfully extract all the NAL units of a H264 stream, that is packed into an Avi-File. I can also parse the SPS, PPS and the NAL unit types 1 and 5. I then extract a whole GOP (group of pictures), starting with the SPS and PPS,…
Lupurus
  • 3,618
  • 2
  • 29
  • 59
2
votes
1 answer

How can I detect WebRTC supported video and audio codecs in the browser using JavaScript?

Is there a way to check what WebRTC audio and video codecs are supported by the browser? I have searched around but I can't seem to find a solution. UPDATE To be more precise, I want to be able to get a list of browser-supported audio and video…
Cacious
  • 137
  • 1
  • 14
1
2
3
11 12