[FFmpeg-user] Problems with ffmpeg

JULIAN GARDNER joolzg at btinternet.com
Fri Oct 5 01:09:08 CEST 2012



>________________________________
> From: Roger Pack <rogerdpack2 at gmail.com>
>To: FFmpeg user questions <ffmpeg-user at ffmpeg.org> 
>Sent: Thursday, 4 October 2012, 22:49
>Subject: Re: [FFmpeg-user] Problems with ffmpeg
> 
>> Im transcoding Channel4HD down to a lower rate but every now and then it stops working, looking in the log i see
>>
>> frame=160734 fps= 25 q=21.0 size=  954829kB time=01:47:08.35 bitrate=1216.8kbits/s dup=31 drop=0
>> Input stream #0:4 frame changed from rate:48000 fmt:s16 ch:2 chl:stereo to rate:48000 fmt:s16 ch:6 chl:5.1(side)
>> 2012-10-03_22:09:42.45055 -async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000.
>> 2012-10-03_22:09:42.45390 [graph 1 aresample for input stream 0:4 @ 0x6f98b80] [SWR @ 0x2ca8da0] Failed to compensate for timestamp delta of 6428.728021
>
>Older versions work?

My 33000 build works fine and has been for ages, i have a 100mb file which shows the switch over,looking into it more it seems to be when they go to an advert, the audio is switching from aac 5.1 to aac 2.0, and libfaac does not like this, the timestamps then go out and ffmpeg fails to produce any more encoded data.

A copy of the ts is here (93MB) http://joolzg.myetrayz.net:8080/rapidbox/rapidFileDownload.php?r_id=c9f0f895fb98ab9159f51fd0297e236d

At around the 1minute mark it switches audio and ffmpeg goes crazy

command line
ffmpeg -i ../fails.bin -vcodec libx264 -b:v 1500k -preset faster -s 720x576 -acodec libfaac -b:a 128k -ar 32k -ac 2 -async 1 -map 0:0 -map 0:4 -f mpegts -y a.ts

x264 --help
x264 core:128 r2216M 198a7ea

ffmpeg version N-44995-g75f1043 Copyright (c) 2000-2012 the FFmpeg developers

Output #0, mpegts, to 'a.ts':
  Metadata:
    encoder         : Lavf54.29.105
    Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 1150 kb/s, 90k tbn, 50 tbc
    Stream #0:1(eng): Audio: aac, 32000 Hz, stereo, s16, 128 kb/s


Any ideas on getting this working again

joolz


More information about the ffmpeg-user mailing list