Hi, I'm trying to convert a file to other format (mpg to concatenate after) and i've noticed the audio track is missing in the converted file. look: satonio@satonio-laptop:~$ ffmpeg -i salida2.mp4 -s 352x288 -y salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] max_analyze_duration 5000000 reached at 5020000 Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida2.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 [buffer @ 0x197af00] w:864 h:488 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x194fea0] w:864 h:488 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [libopencore_amrnb @ 0x194edc0] bitrate not supported: use one of 4.75k, 5.15k, 5.90k, 6.70k, 7.40k, 7.95k, 10.20k, 12.20k, using 12.20k Output #0, 3gp, to 'salida.3gp': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288, q=2-31, 200 kb/s, 150 tbn, 150 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.0 -> #0.0 (h264 -> h263) Stream #0.2 -> #0.1 (pcm_mulaw -> libopencore_amrnb) Press [q] to stop, [?] for help [h263 @ 0x194b040] warning, clipping 1 dct coefficients to -127..127 Last message repeated 7 times frame= 8904 fps=770 q=31.0 Lsize= 4016kB time=00:00:00.00 bitrate= 0.0kbits/s dup=7716 drop=0 video:3943kB audio:0kB global headers:0kB muxing overhead 1.853415% And after: satonio@satonio-laptop:~$ ffmpeg -i salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida.3gp': Metadata: major_brand : 3gp4 minor_version : 512 compatible_brands: isomiso23gp4 creation_time : 2011-09-28 23:00:00 Duration: 00:00:59.36, start: 0.000000, bitrate: 554 kb/s Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 544 kb/s, 150 fps, 150 tbr, 150 tbn, 29.97 tbc Metadata: creation_time : 2011-09-28 23:00:00 At least one output file must be specified It doesn't work neither converting it to mpg, avi, etc etc and all ends without audio. Also, i've noticed that those videos doesn't have sound played with mplayer (but with vlc work well). Thanks
SaToNiO wrote:
Hi,
I'm trying to convert a file to other format (mpg to concatenate after) and i've noticed the audio track is missing in the converted file.
look:
satonio@satonio-laptop:~$ ffmpeg -i salida2.mp4 -s 352x288 -y salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida2.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 [buffer @ 0x197af00] w:864 h:488 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x194fea0] w:864 h:488 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [libopencore_amrnb @ 0x194edc0] bitrate not supported: use one of 4.75k, 5.15k, 5.90k, 6.70k, 7.40k, 7.95k, 10.20k, 12.20k, using 12.20k Output #0, 3gp, to 'salida.3gp': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288, q=2-31, 200 kb/s, 150 tbn, 150 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.0 -> #0.0 (h264 -> h263) Stream #0.2 -> #0.1 (pcm_mulaw -> libopencore_amrnb) Press [q] to stop, [?] for help [h263 @ 0x194b040] warning, clipping 1 dct coefficients to -127..127 Last message repeated 7 times frame= 8904 fps=770 q=31.0 Lsize= 4016kB time=00:00:00.00 bitrate= 0.0kbits/s dup=7716 drop=0 video:3943kB audio:0kB global headers:0kB muxing overhead 1.853415%
And after: satonio@satonio-laptop:~$ ffmpeg -i salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida.3gp': Metadata: major_brand : 3gp4 minor_version : 512 compatible_brands: isomiso23gp4 creation_time : 2011-09-28 23:00:00 Duration: 00:00:59.36, start: 0.000000, bitrate: 554 kb/s Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 544 kb/s, 150 fps, 150 tbr, 150 tbn, 29.97 tbc Metadata: creation_time : 2011-09-28 23:00:00 At least one output file must be specified
It doesn't work neither converting it to mpg, avi, etc etc and all ends without audio.
Also, i've noticed that those videos doesn't have sound played with mplayer (but with vlc work well).
Thanks _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Streams 2 & 3 have broken headers. Have you tried mapping the streams (-map -map 0.0:0.0 -map 0.1:0.1...) There seem to be multiple issues with the creation of the original file: creation_time : 1945-09-21 14:05:41 (!!!) Was there digital video at the end of WWII? ;-)
Just the year is wrong and it's because i didn't changed it. It was recorded 2011-09-21 14:05:41. If i try: satonio@toshiba:~/videos$ ffmpeg -i input1.mp4 -vcodec copy -map 0:0 -map 0:1 -y -acodec copy out.mkv I get: ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] max_analyze_duration 5000000 reached at 5020000 Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input1.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Data stream encoding not supported yet (only streamcopy) Also i get the same mapping 0:3 and not with 0:2 but i don't get the sound even if i tell it to copy the stream. The same happens if i try to map 0:3.0:1 or something like that. Note i'm using now a newer version: ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3 Thanks in advance. El vie, 30-09-2011 a las 17:16 -0500, gerardo Juarez escribió:
SaToNiO wrote:
Hi,
I'm trying to convert a file to other format (mpg to concatenate after) and i've noticed the audio track is missing in the converted file.
look:
satonio@satonio-laptop:~$ ffmpeg -i salida2.mp4 -s 352x288 -y salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida2.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 [buffer @ 0x197af00] w:864 h:488 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x194fea0] w:864 h:488 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [libopencore_amrnb @ 0x194edc0] bitrate not supported: use one of 4.75k, 5.15k, 5.90k, 6.70k, 7.40k, 7.95k, 10.20k, 12.20k, using 12.20k Output #0, 3gp, to 'salida.3gp': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288, q=2-31, 200 kb/s, 150 tbn, 150 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.0 -> #0.0 (h264 -> h263) Stream #0.2 -> #0.1 (pcm_mulaw -> libopencore_amrnb) Press [q] to stop, [?] for help [h263 @ 0x194b040] warning, clipping 1 dct coefficients to -127..127 Last message repeated 7 times frame= 8904 fps=770 q=31.0 Lsize= 4016kB time=00:00:00.00 bitrate= 0.0kbits/s dup=7716 drop=0 video:3943kB audio:0kB global headers:0kB muxing overhead 1.853415%
And after: satonio@satonio-laptop:~$ ffmpeg -i salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida.3gp': Metadata: major_brand : 3gp4 minor_version : 512 compatible_brands: isomiso23gp4 creation_time : 2011-09-28 23:00:00 Duration: 00:00:59.36, start: 0.000000, bitrate: 554 kb/s Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 544 kb/s, 150 fps, 150 tbr, 150 tbn, 29.97 tbc Metadata: creation_time : 2011-09-28 23:00:00 At least one output file must be specified
It doesn't work neither converting it to mpg, avi, etc etc and all ends without audio.
Also, i've noticed that those videos doesn't have sound played with mplayer (but with vlc work well).
Thanks _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Streams 2 & 3 have broken headers. Have you tried mapping the streams (-map -map 0.0:0.0 -map 0.1:0.1...) There seem to be multiple issues with the creation of the original file: creation_time : 1945-09-21 14:05:41 (!!!) Was there digital video at the end of WWII? ;-)
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
satonio wrote:
Just the year is wrong and it's because i didn't changed it. It was recorded 2011-09-21 14:05:41. If i try:
satonio@toshiba:~/videos$ ffmpeg -i input1.mp4 -vcodec copy -map 0:0 -map 0:1 -y -acodec copy out.mkv
I get:
ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input1.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Data stream encoding not supported yet (only streamcopy)
Also i get the same mapping 0:3 and not with 0:2 but i don't get the sound even if i tell it to copy the stream. The same happens if i try to map 0:3.0:1 or something like that.
Note i'm using now a newer version:
ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3
Thanks in advance.
El vie, 30-09-2011 a las 17:16 -0500, gerardo Juarez escribió:
SaToNiO wrote:
Hi,
I'm trying to convert a file to other format (mpg to concatenate after) and i've noticed the audio track is missing in the converted file.
look:
satonio@satonio-laptop:~$ ffmpeg -i salida2.mp4 -s 352x288 -y salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida2.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 [buffer @ 0x197af00] w:864 h:488 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x194fea0] w:864 h:488 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [libopencore_amrnb @ 0x194edc0] bitrate not supported: use one of 4.75k, 5.15k, 5.90k, 6.70k, 7.40k, 7.95k, 10.20k, 12.20k, using 12.20k Output #0, 3gp, to 'salida.3gp': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288, q=2-31, 200 kb/s, 150 tbn, 150 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.0 -> #0.0 (h264 -> h263) Stream #0.2 -> #0.1 (pcm_mulaw -> libopencore_amrnb) Press [q] to stop, [?] for help [h263 @ 0x194b040] warning, clipping 1 dct coefficients to -127..127 Last message repeated 7 times frame= 8904 fps=770 q=31.0 Lsize= 4016kB time=00:00:00.00 bitrate= 0.0kbits/s dup=7716 drop=0 video:3943kB audio:0kB global headers:0kB muxing overhead 1.853415%
And after: satonio@satonio-laptop:~$ ffmpeg -i salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida.3gp': Metadata: major_brand : 3gp4 minor_version : 512 compatible_brands: isomiso23gp4 creation_time : 2011-09-28 23:00:00 Duration: 00:00:59.36, start: 0.000000, bitrate: 554 kb/s Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 544 kb/s, 150 fps, 150 tbr, 150 tbn, 29.97 tbc Metadata: creation_time : 2011-09-28 23:00:00 At least one output file must be specified
It doesn't work neither converting it to mpg, avi, etc etc and all ends without audio.
Also, i've noticed that those videos doesn't have sound played with mplayer (but with vlc work well).
Thanks _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Streams 2 & 3 have broken headers. Have you tried mapping the streams (-map -map 0.0:0.0 -map 0.1:0.1...) There seem to be multiple issues with the creation of the original file: creation_time : 1945-09-21 14:05:41 (!!!) Was there digital video at the end of WWII? ;-)
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
The relevant lines are: mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header While the video stream seems to be ok, streams 1 and 3 are not well formed. My guess is FFmpeg simply refuses to process these inputs because it cannot read what they are. The problem comes probably from the source of the material. Gerardo
El vie, 30-09-2011 a las 19:20 -0500, gerardo Juarez escribió:
satonio wrote:
Just the year is wrong and it's because i didn't changed it. It was recorded 2011-09-21 14:05:41. If i try:
satonio@toshiba:~/videos$ ffmpeg -i input1.mp4 -vcodec copy -map 0:0 -map 0:1 -y -acodec copy out.mkv
I get:
ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 19. 0 / 53. 19. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x96adaa0] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input1.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Data stream encoding not supported yet (only streamcopy)
Also i get the same mapping 0:3 and not with 0:2 but i don't get the sound even if i tell it to copy the stream. The same happens if i try to map 0:3.0:1 or something like that.
Note i'm using now a newer version:
ffmpeg version N-33136-g812010c, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 1 2011 00:48:53 with gcc 4.4.3
Thanks in advance.
El vie, 30-09-2011 a las 17:16 -0500, gerardo Juarez escribió:
SaToNiO wrote:
Hi,
I'm trying to convert a file to other format (mpg to concatenate after) and i've noticed the audio track is missing in the converted file.
look:
satonio@satonio-laptop:~$ ffmpeg -i salida2.mp4 -s 352x288 -y salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome Last message repeated 2 times [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] multiple edit list entries, a/v desync might occur, patch welcome [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] max_analyze_duration 5000000 reached at 5020000
Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida2.mp4': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 Duration: 00:00:59.36, start: 0.000000, bitrate: 1000 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x488, 920 kb/s, 20.01 fps, 150 tbr, 300 tbn, 600 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:2(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, 1 channels, s16, 64 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:3(eng): Data: none (stts / 0x73747473) Metadata: creation_time : 1945-09-21 14:05:41 [buffer @ 0x197af00] w:864 h:488 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x194fea0] w:864 h:488 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [libopencore_amrnb @ 0x194edc0] bitrate not supported: use one of 4.75k, 5.15k, 5.90k, 6.70k, 7.40k, 7.95k, 10.20k, 12.20k, using 12.20k Output #0, 3gp, to 'salida.3gp': Metadata: major_brand : 3gp5 minor_version : 256 compatible_brands: 3gp53gp4isom creation_time : 2011-09-29 17:43:06 encoder : Lavf53.13.0 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288, q=2-31, 200 kb/s, 150 tbn, 150 tbc Metadata: creation_time : 1945-09-21 14:05:41 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 channels, s16, 128 kb/s Metadata: creation_time : 1945-09-21 14:05:41 Stream mapping: Stream #0.0 -> #0.0 (h264 -> h263) Stream #0.2 -> #0.1 (pcm_mulaw -> libopencore_amrnb) Press [q] to stop, [?] for help [h263 @ 0x194b040] warning, clipping 1 dct coefficients to -127..127 Last message repeated 7 times frame= 8904 fps=770 q=31.0 Lsize= 4016kB time=00:00:00.00 bitrate= 0.0kbits/s dup=7716 drop=0 video:3943kB audio:0kB global headers:0kB muxing overhead 1.853415%
And after: satonio@satonio-laptop:~$ ffmpeg -i salida.3gp ffmpeg version N-33094-gecf31a6, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 29 2011 19:39:35 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 18. 0 / 51. 18. 0 libavcodec 53. 18. 0 / 53. 18. 0 libavformat 53. 13. 0 / 53. 13. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 43. 6 / 2. 43. 6 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 150.00 (150/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'salida.3gp': Metadata: major_brand : 3gp4 minor_version : 512 compatible_brands: isomiso23gp4 creation_time : 2011-09-28 23:00:00 Duration: 00:00:59.36, start: 0.000000, bitrate: 554 kb/s Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 352x288 [SAR 12:11 DAR 4:3], 544 kb/s, 150 fps, 150 tbr, 150 tbn, 29.97 tbc Metadata: creation_time : 2011-09-28 23:00:00 At least one output file must be specified
It doesn't work neither converting it to mpg, avi, etc etc and all ends without audio.
Also, i've noticed that those videos doesn't have sound played with mplayer (but with vlc work well).
Thanks _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Streams 2 & 3 have broken headers. Have you tried mapping the streams (-map -map 0.0:0.0 -map 0.1:0.1...) There seem to be multiple issues with the creation of the original file: creation_time : 1945-09-21 14:05:41 (!!!) Was there digital video at the end of WWII? ;-)
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
The relevant lines are:
mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 1, missing mandatory atoms, broken header [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1950780] stream 3, missing mandatory atoms, broken header
While the video stream seems to be ok, streams 1 and 3 are not well formed. My guess is FFmpeg simply refuses to process these inputs because it cannot read what they are.
The problem comes probably from the source of the material.
Gerardo
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I can't change the source. VLC plays it perfectly. I would like to be able to concatenate videos like that without losing the audio. Do you know any other software i should try? Maybe i have some codecs missing?
participants (2)
-
gerardo Juarez -
SaToNiO