[FFmpeg-devel] [RFC v2]lavf/mpegts: Return small probe score for very short transport streams

Michael Niedermayer michael at niedermayer.cc
Sun May 1 14:57:27 CEST 2016


On Sun, May 01, 2016 at 12:24:06PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Debian uses the following as a regression test for aac in mpegts:
> $ ffmpeg -f lavfi -i sine=d=0.1 -acodec aac -strict -2 out.ts
> $ ffmpeg -i out.ts
> (possibly simplified)
> 
> This worked in 2.8 when the default aac bitrate was 128k and the 
> length of the output file 2632 bytes. Since f0a82124 the bitrate 
> is 69k and the output file size 1880 bytes. For this size the 
> mpegts probe function never returns a positive value.
> 
> Attached patch fixes Debian bug 823098 here (and does not crash 
> probetest):
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823098
> 
> Please comment, Carl Eugen

>  mpegts.c |   13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> adf5f0c1179c230317823a4bbf9eef8169295f0f  patchmpegtsshort.diff

LGTM

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160501/b0bd42fe/attachment.sig>


More information about the ffmpeg-devel mailing list