[FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0"

FFmpeg trac at avcodec.org
Wed Oct 12 02:10:38 CEST 2011


#542: Missing audio when encoding to mpeg-ts with "-threads 0"
-------------------------------------+-------------------------------------
             Reporter:  terran       |                    Owner:  michael
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by terran):

 ffmpeg version N-33513-g3473639, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 11 2011 14:54:45 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
   configuration: --enable-pthreads --enable-avfilter --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-
 libfaac --enable-libmp3lame
   libavutil    51. 20. 1 / 51. 20. 1
   libavcodec   53. 20. 1 / 53. 20. 1
   libavformat  53. 15. 0 / 53. 15. 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: 59.94
 (60000/1001) -> 29.97 (2997/100)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rehearsal.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42mp41
     creation_time   : 2011-08-17 04:36:21
   Duration: 00:12:29.95, start: 0.000000, bitrate: 30155 kb/s
     Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
 1920x1080 [SAR 1:1 DAR 16:9], 29995 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn,
 59.94 tbc
     Metadata:
       creation_time   : 2011-08-17 04:36:21
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16, 157 kb/s
     Metadata:
       creation_time   : 2011-08-17 04:36:21
 [buffer @ 0x14785d20] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 [libx264 @ 0x1478c180] using SAR=1/1
 [libx264 @ 0x1478c180] using cpu capabilities: MMX2 SSE2Fast SSSE3
 FastShuffle SSE4.2
 [libx264 @ 0x1478c180] profile Constrained Baseline, level 4.0
 [mpegts @ 0x14754400] muxrate VBR, pcr every 3 pkts, sdt every 200,
 pat/pmt every 40 pkts
 Output #0, mpegts, to 'rehearsal.ts':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42mp41
     creation_time   : 2011-08-17 04:36:21
     encoder         : Lavf53.15.0
     Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
 q=10-51, 7000 kb/s, 90k tbn, 30 tbc
     Metadata:
       creation_time   : 2011-08-17 04:36:21
     Stream #0:1(eng): Audio: aac, 44100 Hz, 2 channels, s16, 48 kb/s
     Metadata:
       creation_time   : 2011-08-17 04:36:21
 Stream mapping:
   Stream #0.0 -> #0.0 (h264 -> libx264)
   Stream #0.1 -> #0.1 (aac -> libfaac)
 Press [q] to stop, [?] for help
 frame=  150 fps=  9 q=-1.0 Lsize=    6631kB time=00:00:04.96
 bitrate=10937.8kbits/s dup=1 drop=0
 video:6111kB audio:22kB global headers:0kB muxing overhead 8.124616%
 [libx264 @ 0x1478c180] frame I:5     Avg QP:13.31  size: 89682
 [libx264 @ 0x1478c180] frame P:145   Avg QP:18.54  size: 40064
 [libx264 @ 0x1478c180] mb I  I16..4: 70.3%  0.0% 29.7%
 [libx264 @ 0x1478c180] mb P  I16..4: 34.2%  0.0%  9.1%  P16..4: 20.7%
 7.6%  2.5%  0.0%  0.0%    skip:26.0%
 [libx264 @ 0x1478c180] final ratefactor: 19.93
 [libx264 @ 0x1478c180] coded y,uvDC,uvAC intra: 25.1% 23.7% 7.0% inter:
 12.6% 11.7% 1.2%
 [libx264 @ 0x1478c180] i16 v,h,dc,p: 46% 28% 13% 13%
 [libx264 @ 0x1478c180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 22%  5%  5%
 5%  5%  4%  4%
 [libx264 @ 0x1478c180] i8c dc,h,v,p: 66% 17% 13%  3%
 [libx264 @ 0x1478c180] ref P L0: 68.3% 21.3% 10.4%
 [libx264 @ 0x1478c180] kb/s:10012.22

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/542#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list