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

FFmpeg trac at avcodec.org
Wed Oct 12 17:54:30 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):

 > Do -threads 5/6/7/8 work?

 No. It looks like 0, 4+ fail. Sounds like if the threads are => than the
 core count, this bug is triggered.

 > Does ffmpeg -i rehearsal.mp4 -qscale 2 -threads 4 out.ts work?

 Yes, that works. I have only reproduced this with x264 + mpeg-ts.

 > Which option do you have to add to reproduce your original problem?

 The minimum set is:

 -vcodec libx264 -b:v 7000000 -acodec libfaac -threads 0

 Interestingly, I found that changing 7000000 to 700000 also eliminates the
 problem. I do need the 7Mbps encode though.

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


More information about the FFmpeg-trac mailing list