[FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0"
FFmpeg
trac at avcodec.org
Mon Oct 17 15:48:03 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):
Replying to [comment:33 cehoyos]:
> Replying to [comment:32 terran]:
> > Replying to [comment:30 cehoyos]:
> > > Please clarify if ''"-threads 4" fails just like "-threads 0"'' was
correct or not (similar for threads 5/6/7/8).
> >
> > Yes, "-threads 4" fails as well as 5/6/7/8. When I use -threads 0, 6
threads are used.
>
> Then please test ffmpeg -i rehearsal.mp4 -threads 4 -vcodec libx264 -b:v
7000000 -acodec mp2 out.ts
That command works and provides a valid audio stream, though I had to add
'-b:a 48000 -ac 2 -ar 44100' to the command as required.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/542#comment:35>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list