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

FFmpeg trac at avcodec.org
Fri Oct 14 20:28:20 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):

 The problem is that when I use libavformat to open the file, it doesn't
 find the audio stream:

 Output #0, mpegts, to 's':
     Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080,
 q=2-31, 90k tbn, 30 tbc
     Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 0 channels

 [mpegts @ 0x18cf3ee0] sample rate not set

 Per your other question, mpeg4 does not work with -threads 0:

 {{{
 [mpeg4 @ 0x36ea180] automatic thread number detection not supported by
 codec, patch welcome
 }}}

 I've provided a lot of other information, including isolating the
 changelist where this broke. Is any of this useful? It looks like it's
 triggered by the changes in sending qmin, qmax and sc_threshold. I disable
 scenecut detection with '-sc_threshold 0' which may also be related.

 If you there is a private fpt host I could use to upload the file I would
 provide it so you can reproduce.

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


More information about the FFmpeg-trac mailing list