[FFmpeg-user] live stream transcoding problem

Robert Harakaly r.harakaly at gmail.com
Sat Mar 10 17:09:00 CET 2012

Hello Carl, Andrey

Thanks both of you for the feedback. I took the latest published
snapshot from the web page and compiled it.

After more tests I worry the bug is not fixed yet (at least not completely)

I tried all combinations with or without options sent by Andrey. While
without "threads" option the command seems more stable, but when I added
option threads=2 the problems restarted.

In general (regardless of options used) there is a "critical" phase
first 60-90 frames where many command invocation fails, always on: 
[webm @ 0x15fc0c0] Starting new cluster at offset 37796 bytes, pts 3564

After passing the critical phase the stream is up for ~10 minutes.
Then the failures has 2 main reasons. Either:

[webm @ 0x15fc0c0] Starting new cluster at offset 37796 bytes, pts 3564


circular_buffer: OVERRUN0 size=   15103kB time=00:01:01.65 bitrate=2006.8kbits/s    
PES packet size mismatch0 size=   17666kB time=00:01:12.30 bitrate=2001.5kbits/s    
[mp2 @ 0x1953d80] incomplete frame
Error while decoding stream #0:1
[mpeg2video @ 0x195a200] ac-tex damaged at 6 29
[mpeg2video @ 0x195a200] Warning MVs not available
[mpeg2video @ 0x195a200] concealing 315 DC, 315 AC, 315 MV errors
frame= 1805 fps= 22 q=0.0 Lsize=   17933kB time=00:01:12.77 bitrate=2018.8kbits/s    
video:17061kB audio:809kB global headers:4kB muxing overhead 0.329293%

The second reason seems is more frequent when command running without
threads option and without Andrey's options.

Any idea ?


More information about the ffmpeg-user mailing list