[FFmpeg-user] Audio lost
SaToNiO
satonio at gmail.com
Fri Sep 30 15:39:24 CEST 2011
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 at 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 at 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
More information about the ffmpeg-user
mailing list