[FFmpeg-user] Capturing raw H264 data. Need to convert to YUV with ffmpeg
Joseph Rosensweig
jrosensw at gmail.com
Mon Oct 29 07:17:48 CET 2012
Hi all,
I've got a program that simply captures h264 data packets, extracts the
payload and appends it to a file. I've been able to successfully capture
the stream, but it seems like I'm not including some header data that
ffmpeg requires. Does anybody know where I can find documentation or
information on what FFMPEG looks for in a raw h264 file? I'm assuming that
I need something to indicate the start and end of frames, maybe the
dimensions, etc. But not sure where to find info on this...
Here is my full uncut console output:
$ ffmpeg -r 30 -s 1280x720 -i test.h264 test.yuv
FFmpeg version git-2d162e3, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 4 2012 11:34:44 with gcc 4.4.3
configuration: --enable-gpl --enable-libx264
--extra-ldflags=-L/source/VideoGatewayAlpha/externals/SDK/lib
--extra-cflags=-I/source/VideoGatewayAlpha/externals/SDK/include
--enable-shared --enable-pic
libavutil 50. 36. 0 / 50. 36. 0
libavcore 0. 16. 1 / 0. 16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52. 94. 0 / 52. 94. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 74. 0 / 1. 74. 0
libswscale 0. 12. 0 / 0. 12. 0
test.h264: Invalid data found when processing input
Thanks,
JD
More information about the ffmpeg-user
mailing list