[FFmpeg-user] Conversion fails ... transport stream to h264 mpeg 4, ... help please
PyProg PyProg
pyprog05 at gmail.com
Wed Oct 10 09:01:10 CEST 2012
Hello,
I have a problem with a conversion (transport stream (.ts) to h264
mpeg 4 (.mp4)), I would like to know what should be put in the FFmpeg
syntax for this conversion can occur. This is the result of the
conversion fails:
# --------------------- #
linux_dependances_portables/ffmpeg/ffmpeg -i
"/home/toto/blender/20121009_182802_[5 France 5]_[C dans l'air].ts" -f
mp4 -c:v libx264 -b:v 2500k -s 853x480 -aspect 16:9 -c:a libvo_aacenc
-b:a 128k -vf yadif -threads 4 -y
"/home/toto/a/nouv_EKD/video/version_3/transcodage_vidéo/09_10_12.mp4"
ffmpeg version N-45086-ged015f6 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 6 2012 05:10:52 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
--disable-shared --disable-ffserver --disable-doc --enable-bzlib
--enable-zlib --enable-postproc --enable-runtime-cpudetect
--enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
--enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype
--enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 51. 73.102 / 51. 73.102
libavcodec 54. 63.100 / 54. 63.100
libavformat 54. 29.105 / 54. 29.105
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[mpeg @ 0xaf207a0] Format mpeg detected only with low score of 25,
misdetection possible!
[mpeg @ 0xaf207a0] Further flags set but no bytes left
[mpeg @ 0xaf207a0] pes_ext C2 is invalid
[mpeg @ 0xaf207a0] probed stream 1 failed
[mpeg @ 0xaf207a0] probed stream 5 failed
[mpeg @ 0xaf207a0] probed stream 6 failed
[mpeg @ 0xaf207a0] probed stream 7 failed
[mpeg @ 0xaf207a0] Invalid timestamps stream=1, pts=852695377,
dts=5539292435, size=34318
[mp1 @ 0xaf667e0] Header missing
Last message repeated 3 times
[mpeg @ 0xaf207a0] Invalid timestamps stream=2, pts=2897908561,
dts=4977112148, size=30969
[mpeg @ 0xaf207a0] DTS discontinuity in stream 2: packet 56 with DTS
2897947441, packet 57 with DTS 3620529164
[mpeg @ 0xaf207a0] Invalid timestamps stream=7, pts=314091292,
dts=1682967080, size=45061
[mp1 @ 0xaf667e0] Header missing
[mpeg @ 0xaf207a0] Could not find codec parameters for stream 1
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0xaf207a0] decoding for stream 4 failed
[mpeg @ 0xaf207a0] Could not find codec parameters for stream 4
(Audio: mp1, 0 channels, s16): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0xaf207a0] Could not find codec parameters for stream 5
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0xaf207a0] Could not find codec parameters for stream 6
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpeg @ 0xaf207a0] Could not find codec parameters for stream 7
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0xaf5c2a0] start time is not set in estimate_timings_from_pts
[NULL @ 0xaf7d6a0] start time is not set in estimate_timings_from_pts
Input #0, mpeg, from '/home/toto/blender/20121009_182802_[5 France
5]_[C dans l'air].ts':
Duration: 10:12:23.67, start: 3489.903244, bitrate: 1 kb/s
Stream #0:0[0x1c2]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:1[0x1e1]: Video: none, 90k tbr, 90k tbn
Stream #0:2[0x1c0]: Audio: mp1, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:3[0x20]: Subtitle: dvd_subtitle
Stream #0:4[0x1c5]: Audio: mp1, 0 channels, s16
Stream #0:5[0x1eb]: Video: none, 90k tbr, 90k tbn
Stream #0:6[0x1ea]: Video: none, 90k tbr, 90k tbn
Stream #0:7[0x1e0]: Video: none, 1 tbr, 90k tbn
Output #0, mp4, to
'/home/toto/a/nouv_EKD/video/version_3/transcodage_vidéo/09_10_12.mp4':
Metadata:
encoder : Lavf54.29.105
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp2 -> libvo_aacenc)
Press [q] to stop, [?] for help
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[mp2 @ 0xaf26bc0] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
# --------------------- #
Here's the informations of the input video :
# --------------------- #
toto at toto-kubuntu:~/ekd_toto/linux_dependances_portables/ffmpeg$
/home/toto/ekd_toto/linux_dependances_portables/ffmpeg/ffmpeg -i
"/home/toto/blender/20121009_182802_[5 France 5]_[C dans l'air].ts"
ffmpeg version N-45086-ged015f6 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 6 2012 05:10:52 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
--disable-shared --disable-ffserver --disable-doc --enable-bzlib
--enable-zlib --enable-postproc --enable-runtime-cpudetect
--enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
--enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype
--enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 51. 73.102 / 51. 73.102
libavcodec 54. 63.100 / 54. 63.100
libavformat 54. 29.105 / 54. 29.105
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[mpeg @ 0xa6f87a0] Format mpeg detected only with low score of 25,
misdetection possible!
[mpeg @ 0xa6f87a0] Further flags set but no bytes left
[mpeg @ 0xa6f87a0] pes_ext C2 is invalid
[mpeg @ 0xa6f87a0] probed stream 1 failed
[mpeg @ 0xa6f87a0] probed stream 5 failed
[mpeg @ 0xa6f87a0] probed stream 6 failed
[mpeg @ 0xa6f87a0] probed stream 7 failed
[mpeg @ 0xa6f87a0] Invalid timestamps stream=1, pts=852695377,
dts=5539292435, size=34318
[mp1 @ 0xa73e7e0] Header missing
Last message repeated 3 times
[mpeg @ 0xa6f87a0] Invalid timestamps stream=2, pts=2897908561,
dts=4977112148, size=30969
[mpeg @ 0xa6f87a0] DTS discontinuity in stream 2: packet 56 with DTS
2897947441, packet 57 with DTS 3620529164
[mpeg @ 0xa6f87a0] Invalid timestamps stream=7, pts=314091292,
dts=1682967080, size=45061
[mp1 @ 0xa73e7e0] Header missing
[mpeg @ 0xa6f87a0] Could not find codec parameters for stream 1
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and
'probesize' options
[mpeg @ 0xa6f87a0] decoding for stream 4 failed
[mpeg @ 0xa6f87a0] Could not find codec parameters for stream 4
(Audio: mp1, 0 channels, s16): unspecified frame size
Consider increasing the value for the 'analyzeduration' and
'probesize' options
[mpeg @ 0xa6f87a0] Could not find codec parameters for stream 5
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and
'probesize' options
[mpeg @ 0xa6f87a0] Could not find codec parameters for stream 6
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and
'probesize' options
[mpeg @ 0xa6f87a0] Could not find codec parameters for stream 7
(Video: none): unspecified size
Consider increasing the value for the 'analyzeduration' and
'probesize' options
[NULL @ 0xa7342a0] start time is not set in estimate_timings_from_pts
[NULL @ 0xa7556a0] start time is not set in estimate_timings_from_pts
Input #0, mpeg, from '/home/toto/blender/20121009_182802_[5 France
5]_[C dans l'air].ts':
Duration: 10:12:23.67, start: 3489.903244, bitrate: 1 kb/s
Stream #0:0[0x1c2]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:1[0x1e1]: Video: none, 90k tbr, 90k tbn
Stream #0:2[0x1c0]: Audio: mp1, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:3[0x20]: Subtitle: dvd_subtitle
Stream #0:4[0x1c5]: Audio: mp1, 0 channels, s16
Stream #0:5[0x1eb]: Video: none, 90k tbr, 90k tbn
Stream #0:6[0x1ea]: Video: none, 90k tbr, 90k tbn
Stream #0:7[0x1e0]: Video: none, 1 tbr, 90k tbn
At least one output file must be specified
# --------------------- #
I hope you can help me for this.
a+
--
http://ekd.tuxfamily.org
http://ekdm.wordpress.com
http://glouk.legtux.org/guiescputil
http://lcs.dunois.clg14.ac-caen.fr/~alama/blog
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter
More information about the ffmpeg-user
mailing list