[FFmpeg-devel] FW: Transport streams with change in channels/sample rate result in huge silence insertion

Sailaja Mahendrakar smahendrakar at rgbnetworks.com
Tue Jan 29 18:07:21 CET 2013

>> ./ffmpeg -psnr  -y -loglevel verbose -i ../network44-Ad48.ts -vsync 1 
>> -async 2 -f mpegts -map 0:0 -streamid 0:48
>> -codec:v:0 mpeg2video -map 0:1 -streamid 0:49 -codec:a:0 mp2
>> -b:a:0 384000 -ar:a:0 48000 -ac:a:0 2 ../network.ts

>I tested the following command:

>$ ffmpeg -i network44-Ad48.ts -ar 48k -acodec mp2 -vcodec mpeg2video out.ts

>and the output file plays fine (no A/V desync) here.

>Why are you using "-async 2" ?
I do the stream to stream transcodes, so using the -async to be 2. Please let me know the application of async 0,1, and 2. 


ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list