[FFmpeg-devel] FW: Transport streams with change in channels/sample rate result in huge silence insertion
Sailaja Mahendrakar
smahendrakar at rgbnetworks.com
Fri Jan 25 18:40:19 CET 2013
Hi Michael,
Where can I upload the test sample with audio channels and sample rate change?
I found the earlier fix has a problem with initial silence addition, so making the correction now(attached diff).
git status
ffmpeg.c
libavfilter/af_aresample.c
libavfilter/avcodec.h
libavfilter/avfilter.h
libavfilter/buffersrc.c
libswresample/swresample.c
libswresample/swresample.h
libswresample/swresample_internal.h
Regards,
Sailaja
-----Original Message-----
From: Sailaja Mahendrakar
Sent: Monday, January 14, 2013 1:42 PM
To: 'Michael Niedermayer'; FFmpeg development discussions and patches
Subject: RE: [FFmpeg-devel] FW: Transport streams with change in channels/sample rate result in huge silence insertion
Hi Michael,
make fate-filter-aresample, breaks excluding the patch too.
I have a test clip which has change in sample rate as well as channels, where do I upload, for you to take a look?
./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
Thanks,
Sailaja
-----Original Message-----
From: Michael Niedermayer [mailto:michaelni at gmx.at]
Sent: Friday, January 11, 2013 7:23 PM
To: FFmpeg development discussions and patches
Cc: Sailaja Mahendrakar
Subject: Re: [FFmpeg-devel] FW: Transport streams with change in channels/sample rate result in huge silence insertion
Hi
On Fri, Jan 11, 2013 at 09:46:16PM +0000, Sailaja Mahendrakar wrote:
> Hi All,
>
> Can anyone check this patch? Without this fix, transcoded audio will stop playing from the time the audio channels or sample rate is changed.
the patch breaks
make fate-filter-aresample
also please provide a testcase/sample file with which the described bug can be reproduced
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FixForSR_Channels_change.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130125/670aa2fd/attachment.txt>
More information about the ffmpeg-devel
mailing list