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

FFmpeg trac at avcodec.org
Tue Oct 18 15:09:50 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):

 Sorry, I missed your inclusion of "-threads 1".  With the latest head it
 is not just the simple command you listed that will reproduce. Using the
 following two settings seems to trigger the bug:

 -threads 0
 -sc_threshold 40
 -qmin 0

 The exact command that fails is:

 {{{
 threads 0 -s 1920x1080 -f mpegts -b:v 7000000 -qscale:v 1 -r 30.0 -g 30.0
 -map_chapters -1 -vcodec libx264 -coder 0 -loop 1 -cmp +chroma -partitions
 +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16
 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6
 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -wpredp 0 -vprofile baseline
 -acodec libfaac -b:a 48000 -ac 2 -ar 44100
 }}}

 Changing this to the following also fails:

 {{{
 threads 0 -s 1920x1080 -f mpegts -b:v 7000000 -qscale:v 1 -r 30.0 -g 30.0
 -map_chapters -1 -vcodec libx264 -coder 0 -loop 1 -cmp +chroma -partitions
 +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 5 -me_range 16
 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6
 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -wpredp 0 -vprofile baseline
 -strict experimental -acodec aac -b:a 48000 -ac 2 -ar 44100
 }}}

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


More information about the FFmpeg-trac mailing list