[FFmpeg-user] how to extract h264 nal bitstream into a file from h264 quicktime file?

Kaijun Tang kaijun61 at yahoo.com
Tue Apr 26 19:53:02 CEST 2011


I have looked at the source code, it provides like ftyp header for packetized 
h264. I have not seen nal, sps and pps headers for writing streams.

 Kind Regards


Kai




________________________________
From: Kaijun Tang <kaijun61 at yahoo.com>
To: FFmpeg user questions and RTFMs <ffmpeg-user at ffmpeg.org>
Sent: Tue, 26 April, 2011 18:00:52
Subject: Re: [FFmpeg-user] how to extract h264 nal bitstream into a file from 
h264 quicktime file?

I have tried that for both .mov and video only. But I got


Unable to find a suitable output format for 'of.264', here is my ffmpeg info

   built on Dec  9 2010 15:18:49 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2)
  configuration: 
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0

Kind Regards


Kai




________________________________
From: Ben Mesander <ben at cardinalpeak.com>
To: FFmpeg user questions and RTFMs <ffmpeg-user at ffmpeg.org>
Sent: Tue, 26 April, 2011 17:48:08
Subject: Re: [FFmpeg-user] how to extract h264 nal bitstream into a file from 
h264 quicktime file?

Here is how I did it:

http://www.cardinalpeak.com/blog/?p=878

ffmpeg.exe -i Old\ Faithful.mp4 -vcodec copy -vbsf h264_mp4toannexb -an of.h264
I have also done this with .mov containers, which I assume is what you mean by a 


quicktime file.


Regards,
Ben




________________________________
From: Kaijun Tang <kaijun61 at yahoo.com>
To: ffmpeg-user at ffmpeg.org
Sent: Tue, April 26, 2011 10:27:14 AM
Subject: [FFmpeg-user] how to extract h264 nal bitstream into a file from h264 
quicktime file?

I have tried -vbsf h264_mp4toannexb or -f rawvideo. These options don't work.

Thanks,
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

2i
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list