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
43
votes
4 answers

H.265/HEVC web browser support

Are there any web browsers out there that can playback the H.265 / MPEG-4 HEVC codec in a html5 video element? On what platform or hardware? I heard rumours about HEVC support in Edge when hardware decoding is available. With current GPUs and CPUs…
Duvrai
  • 3,398
  • 3
  • 20
  • 21
32
votes
7 answers

How can I convert from mp4 to webm?

How can I convert a video from mp4 to webm using VLC, if possible? What codec should I choose? Do I need to recode the sound? I'm trying to put html5 video on a website with flash as fallback. As I understand it, it's the only format (webm) that…
OZZIE
  • 6,609
  • 7
  • 55
  • 59
23
votes
9 answers

Can't play this video. Android videoView mp4 recorded by android device

I've looked for existing potential solutions with other formats and those still responds with mentioned error. Finally, recorded the video with the same device and used it as a resource for this app and it still doesn't work. Devices: SGS2, lenovo…
Jacob
  • 14,949
  • 19
  • 51
  • 74
22
votes
1 answer

In h264 NAL units means frame.?

I am working on a h264 video codec. I want to know: Is a single NAL unit in H264 equivalent to one video frame?
Jeegar Patel
  • 26,264
  • 51
  • 149
  • 222
14
votes
3 answers

Hardware accelerated FFmpeg on android?

I compiled an older version of FFmpeg for Android (if I recall correctly it was 0.6.X). FFmpeg decodes a video frame, scales it, then I'm using OpenGL to draw it on the screen. As far as I can tell, the problem is the decoding and scaling---they're…
U Avalos
  • 6,538
  • 7
  • 48
  • 81
12
votes
3 answers

fast encoding video codec?

can anybody compare popular video codecs by encoding speed? I understand that usually better compression requires more processing time, but it's also possible that some codecs still provide comparably good compression with fast encoding. any…
Andriy Tylychko
  • 15,967
  • 6
  • 64
  • 112
12
votes
2 answers

VideoCapture is not working in OpenCV 2.4.2

I recently installed OpenCV 2.4.2 in Ubuntu 12.04. cap = VideoCapture(0) is working. but I can't grab frames from some video source. cap = VideoCapture("input.avi") img = cap.read() gives me a numpy with all zero elements. I have also installed…
Froyo
  • 17,947
  • 8
  • 45
  • 73
9
votes
4 answers

How to encode grayscale video streams to MPEG-1 with FFmpeg?

I've got a grayscale video stream coming off a Firewire astronomy camera, I'd like to use FFmpeg to compress the video stream but it will not accept single byte pixel formats for the MPEG1VIDEO codecs. How can I use the FFmpeg API to convert…
Gearoid Murphy
  • 11,834
  • 17
  • 68
  • 86
7
votes
1 answer

How to decode frames from MDAT atom extracted from mp4 video

I am new to video codecs and learning video file format specifications. I have read about QUICKTIME file format specifications from here, and MP4 file format (which is almost similar) from here. There are atoms such FTYPE, MOOV, MDAT etc. The MDAT…
6
votes
1 answer

h.264 MVC 3D support in x264/ffmpeg

Many threads say that there is no open source support for h.264 3D on x264 and the technology is dead. However, I am working on x264 and would like to ask the experts here about their opinion: Is h.264 MVC 3D support added to any opensource codecs…
Codec Guy
  • 137
  • 2
  • 11
6
votes
1 answer

Is there any safer way to include FFMpeg in commercial applications?

https://www.ffmpeg.org/legal.html The above page doesn't make any thing clear if we can use the libraries in commercial projects or not. Incase if there are algorithms breaking patents, which formats I shouldn't support to avoid risk? In short,…
Ayyappa
  • 1,876
  • 1
  • 21
  • 41
6
votes
1 answer

ffmpeg editing metadata major_brand

Hello I have an MP4 video, I want to change the creation_time using ffmepg, without changing the rest of metadata. but I am facing some problems.. The major_brand and more stuff are changed. I want those to be the same. if I put it in ffprobe.exe…
circler
  • 359
  • 1
  • 3
  • 16
4
votes
0 answers

Vimeo (video file link) is not playing in Safari

We are hosting a bunch of videos on Vimeo and using their 'Video file link' on our site to access the videos directly (instead of embeds). While they play perfectly on Chrome, they don't seem to play on Safari. Example of a link provided directly…
4
votes
1 answer

Trouble saving a video file with webrtc in Android

I am developing a webrtc based video chat app, currently the video call is working, but I want to record a video from the remote video stream using the VideoFileRenderer, there are many implementations of the interface for example:…
Mohammad Elsayed
  • 1,885
  • 1
  • 20
  • 46
4
votes
3 answers

how to access HTML5 video decoding functionality?

HTML5 has
Andriy Tylychko
  • 15,967
  • 6
  • 64
  • 112
1
2 3
11 12