Quote:
Originally Posted by Elv13
You want to create a DVD? Did you tried tools like 2ManDVD (recommanded, but you have to check dependencies manually) or DeVeDe?
|
No, I don't want to create a DVD. I would like to put an H.264 encoded Elementary Stream (encoded using x264) into an MPEG-TS container for streaming and testing purposes.
I tried using a more recent SVN version (9/11/09) of ffmpeg to
encapsulate a raw H.264 Elementary Stream file into an MPEG-TS
container file and I got different results (from an older version from March '09) which still didn't work.
Here is my command line:
./ffmpeg -i ./Narnia.264 -vcodec copy -an narnia2.ts
Output:
FFmpeg version SVN-r19819-snapshot, Copyright (c) 2000-2009 Fabrice
Bellard, et al.
configuration:
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.35. 0 / 52.35. 0
libavformat 52.38. 0 / 52.38. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Sep 11 2009 10:26:09, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
Seems stream 0 codec frame rate differs from container frame rate:
48.00 (48/1) -> 24.00 (48/2)
Input #0, h264, from './Narnia.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1920x1080, 24 tbr, 1200k tbn, 48 tbc
Output #0, mpegts, to 'narnia2.ts':
Stream #0.0: Video: 0x0000, yuv420p, 1920x1080, q=2-31, 90k tbn, 24 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpegts @ 0x7643ab0]first pts value must set
av_interleaved_write_frame(): Error while opening file
Any tips??