[FFmpeg-user] Patching fails on FFMPEG
Geetha Priya
r.geetha.p at gmail.com
Thu Aug 9 06:28:57 CEST 2012
Got It!
If I use container format I get the below error -
geetha at geetha-VirtualBox:~/ffmpeg$ ./ffmpeg -y -i /home/geetha/low150.mp4
-c copy -vbsf h264_mp4toannexb -map 0 -f segment -segment_time 10
-container_format mpegts /home/geetha/low150stream%d.ts
ffmpeg version N-34882-g6f20921, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 9 2012 11:27:40 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx
--enable-pthreads --enable-libmp3lame --enable-libaacplus
--enable-libopencore-amrnb --enable-libopencore-amrwb
libavutil 51. 25. 0 / 51. 25. 0
libavcodec 53. 34. 0 / 53. 34. 0
libavformat 53. 20. 0 / 53. 20. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 48. 1 / 2. 48. 1
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/geetha/low150.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.16.104
Duration: 00:00:46.37, start: 0.000000, bitrate: 172 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 480x300, 131 kb/s, 8 fps, 8 tbr, 8 tbn, 16 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo,
s16, 40 kb/s
Metadata:
handler_name :
[mpegts @ 0x1f90860] muxrate VBR, pcr every 0 pkts, sdt every 200, pat/pmt
every 40 pkts
Output #0, segment, to '/home/geetha/low150stream%d.ts':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.20.0
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 480x300,
q=2-31, 131 kb/s, 8 fps, 90k tbn, 8 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, 40
kb/s
Metadata:
handler_name :
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[segment @ 0x1f7e220] I'd reset at 0 956250
[mpegts @ 0x1f90860] Duplicate stream id 0
av_interleaved_write_frame(): Operation not permitted
Segmentation fault (core dumped)
If I user segment_format option is not recognised
geetha at geetha-VirtualBox:~/ffmpeg$ ./ffmpeg -y -i /home/geetha/low150.mp4
-c copy -vbsf h264_mp4toannexb -map 0 -f segment -segment_time 10
-segment_format mpegts /home/geetha/low150stream%d.ts
ffmpeg version N-34882-g6f20921, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 9 2012 11:27:40 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx
--enable-pthreads --enable-libmp3lame --enable-libaacplus
--enable-libopencore-amrnb --enable-libopencore-amrwb
libavutil 51. 25. 0 / 51. 25. 0
libavcodec 53. 34. 0 / 53. 34. 0
libavformat 53. 20. 0 / 53. 20. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 48. 1 / 2. 48. 1
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/geetha/low150.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.16.104
Duration: 00:00:46.37, start: 0.000000, bitrate: 172 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 480x300, 131 kb/s, 8 fps, 8 tbr, 8 tbn, 16 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo,
s16, 40 kb/s
Metadata:
handler_name :
Unrecognized option 'segment_format'
Failed to set value 'mpegts' for option 'segment_format'
More information about the ffmpeg-user
mailing list