Questions tagged [h.264]

H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is a standard for video compression

H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is a standard for video compression, and is currently one of the most commonly used formats for the recording, compression, and distribution of high definition video. The final drafting work on the first version of the standard was completed in May 2003.

H.264/MPEG-4 AVC is a block-oriented motion-compensation-based codec standard developed by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG). It was the product of a partnership effort known as the Joint Video Team (JVT). The ITU-T H.264 standard and the ISO/IEC MPEG-4 AVC standard (formally, ISO/IEC 14496-10 - MPEG-4 Part 10, Advanced Video Coding) are jointly maintained so that they have identical technical content.

H.264 is perhaps best known as being one of the codec standards for Blu-ray Discs; all Blu-ray players must be able to decode H.264. It is also widely used by streaming internet sources, such as videos from Vimeo, YouTube and the iTunes Store, web software such as the Adobe Flash Player and Microsoft Silverlight, broadcast services for DVB and SBTVD, direct-broadcast satellite television services, cable television services, and real-time video conferencing.

More information at http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

Official ITU specifications: http://www.itu.int/rec/T-REC-H.264/en

2531 questions
22
votes
1 answer

Forcing Mpeg2Demultiplexer to use ffdshow to render H264 Digital TV Video

I spend a lot of time trying to make DTVViewer sample of DirectShow work unfortunately with no success. The video format of DVBT network is H264 and I found that the IntelliConnect behavior of IFilterGraph prefers to use Mpeg2 Video format. For…
Bakhshi
  • 1,239
  • 12
  • 25
21
votes
4 answers

Encoding FFMPEG to MPEG-DASH – or WebM with Keyframe Clusters – for MediaSource API

I'm currently sending a video stream to Chrome, to play via the MediaSource API. As I understand it, MediaSource only supports MP4 files encoded with MPEG-DASH, or WebM files that have clusters beginning with keyframes (otherwise it raises the…
Chris Nolet
  • 7,969
  • 7
  • 59
  • 90
20
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
  • 23,639
  • 42
  • 138
  • 202
20
votes
5 answers

How to decode H.264 video frame in Java environment

Does anyone know how to decode H.264 video frame in Java environment? My network camera products support the RTP/RTSP Streaming. The service standard RTP/RTSP from my network camera is served and it also supports “RTP/RTSP over HTTP”. RTSP : TCP…
user262186
19
votes
2 answers

Extracting h264 from CMBlockBuffer

I am using Apple VideoTool Box (iOS) to compress raw frames captured by the device camera. My callback is being called with a CMSampleBufferRef object that contains CMBlockBuffer. The CMBlockBuffer object contain the H264 elementary stream but I…
koby
  • 193
  • 1
  • 4
18
votes
3 answers

H.264 conversion with FFmpeg (from a RTP stream)

Environment: I have an IP Camera, which is capable of streaming it's data over RTP in a H.264 encoded format. This raw stream is recorded from the ethernet. With that data I have to work. Goal: In the end I want to have a *.mp4 file, which I can…
Toby
  • 3,575
  • 12
  • 43
  • 64
18
votes
1 answer

FFmpeg can't decode H264 stream/frame data

Recently I had chance to work with two devices that are streaming the H264 through RTSP. And I've ran into some problem trying to decompress this stream using FFmpeg library. Every time the "avcodec_decode_video2" is called - FFmpeg just says…
Gediminas
  • 1,721
  • 2
  • 24
  • 43
17
votes
3 answers

H264 frame viewer

Do you know any application that will display me all the headers/parameters of a single H264 frame? I don't need to decode it, I just want to see how it is built up.
Ferenc Deak
  • 30,889
  • 14
  • 82
  • 151
17
votes
2 answers

H.264 encoded MP4 presented in HTML5 plays on Safari but not iOS devices

I'm using Adobe Media Encoder CS5 to encode a FLV file to H.264 to present on the web via HTML5 and the video file plays just fine in Safari in OS X (and in Firefox encoded to OGG) but on any iOS device (iPad, iPhone) I get the play icon with the…
Tom
  • 3,997
  • 16
  • 56
  • 87
17
votes
5 answers

RTSP h.264 in google chrome browser

After we are moving over to html5 and many browsers like Google chrome bans VLC web plugin.... Is there any way to play h.264 / h.265 Rtsp streams in browsers this days ?
Stweet
  • 603
  • 3
  • 9
  • 25
17
votes
0 answers

Incorrect presentation timestamps when seeking backwards through MP4 video

I'm using MediaCodec and MediaExtractor to play video at variable rates, both forwards and backwards. The code is using something like SpeedControlCallback to establish inter-frame pauses - feeding it the presentationTimeUs field from the output…
moe
  • 310
  • 1
  • 10
17
votes
2 answers

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream correctly?

I posted an same question to another community Video Production that I've found later, and which seems to be a better place for this question: See:…
kaorukobo
  • 1,724
  • 2
  • 16
  • 26
17
votes
3 answers

H264 with multiple PPS and SPS

I have a card that produces a H264 stream with a SPS (Sequence Parameter Set) and a PPS (Picture Parameter Set), in that order, directly before each I-Frame. I see that most H264 streams contain a PPS and SPS at the first I-Frame. Is this…
Paul Knopf
  • 8,943
  • 21
  • 69
  • 131
17
votes
2 answers

Any way to programmatically disable hardware accelerated h.264 video decoding in silverlight 5?

We are getting reports from our Mac users that some of their video is playing back garbled. This only started happening when Silverlight 5 was released. This release included hardware video decoding acceleration for H.264, which is the codec we use.…
Bryce Kahle
  • 7,859
  • 1
  • 21
  • 26
16
votes
3 answers

Parsing H264 in mdat MP4

I have a file that only contains the mdat atom in a MP4 container. The data in the mdat contains AVC data. I know the encoding parameters for the data. The format does not appear to be in the Annex B byte stream format. I am wondering how I would go…
Steve McFarlin
  • 3,536
  • 1
  • 22
  • 23