[FFmpeg-user] xerror doesn't work

Ly Tran Cong lytc at vega.com.vn
Mon Feb 27 05:17:08 CET 2012


Dear expert,
I report the following problem with ffmpeg.
Below is my transcode command with xerror to exit on error:

500      26985     1 80 Feb25 pts/2    1-15:01:06 ffmpeg -re -xerror -y -i
udp://239.30.10.6:5106?reuse=1
<http://239.30.10.6:5106/?reuse=1>-itsoffset 00:00:05 -re -xerror -i
udp://
239.30.10.6:5106?reuse=1 <http://239.30.10.6:5106/?reuse=1> -metadata
title=SCTV16 -map 0:0 -c:v h263 -r 15 -s 176x144 -b:v 128k -qmax 20 -vsync
1 -flags +global_header -f rtp rtp://127.0.0.1:57224 -flags +global_header
-map 1:1 -c:a libfaac -ac 1 -b:a 8k -ar 44100 -rtpflags +latm -async 44100
-f rtp rtp://127.0.0.1:57226

500      27060     1 81 Feb25 pts/2    1-15:20:17 ffmpeg -xerror -re -y -i
udp://239.30.10.6:5106?reuse=1
<http://239.30.10.6:5106/?reuse=1>-itsoffset 00:00:05 -re -xerror -i
udp://
239.30.10.6:5106?reuse=1 <http://239.30.10.6:5106/?reuse=1> -metadata
title=SCTV16 -map 0:0 -c:v mpeg4 -r 12 -s 320x240 -b:v 128k -qmax 12 -vsync
1 -flags +global_header -f rtp rtp://127.0.0.1:57214 -flags +global_header
-map 1:1 -c:a libfaac -ac 1 -b:a 8k -ar 44100 -rtpflags +latm -async 44100
-f rtp rtp://127.0.0.1:57216

500      27406     1 81 Feb25 pts/2    1-15:21:36 ffmpeg -xerror -re -y -i
udp://239.30.10.6:5106?reuse=1
<http://239.30.10.6:5106/?reuse=1>-itsoffset 00:00:05 -i udp://
239.30.10.6:5106?reuse=1 <http://239.30.10.6:5106/?reuse=1> -metadata
title=HTV9 -map 0:0 -c:v mpeg4 -r 12 -s 320x240 -b:v 128k -qmax 12 -vsync 1
-flags +global_header -f rtp rtp://127.0.0.1:57114 -flags +global_header
-map 1:1 -c:a libfaac -ac 1 -b:a 8k -ar 44100 -rtpflags +latm -async 44100
-f rtp rtp://127.0.0.1:57116

500      27671     1 80 Feb25 pts/2    1-14:59:38 ffmpeg -re -xerror -y -i
udp://239.30.10.6:5106?reuse=1
<http://239.30.10.6:5106/?reuse=1>-itsoffset 00:00:05 -i udp://
239.30.10.6:5106?reuse=1 <http://239.30.10.6:5106/?reuse=1> -metadata
title=HTV9 -map 0:0 -c:v h263 -r 15 -s 176x144 -b:v 128k -qmax 20 -vsync 1
-flags +global_header -f rtp rtp://127.0.0.1:57124 -flags +global_header
-map 1:1 -c:a libfaac -ac 1 -b:a 8k -ar 44100 -rtpflags +latm -async 44100
-f rtp rtp://127.0.0.1:57126

But this command run about few hour and it display curcular_buffer: OVERRUN
but *doesn't exit*.

circular_buffer: OVERRUN.6 size=  842797kB time=14:44:55.44 bitrate=
130.0kbits/s dup=50 drop=530918
 circular_buffer: OVERRUN.7 size=  843011kB time=14:45:09.46 bitrate=
130.0kbits/s dup=50 drop=531058

At that time, this consume 2G RAM each command.

top - 08:53:03 up 6 days, 16:55,  3 users,  load average: 6.99, 5.72, 5.41
Tasks: 266 total,   5 running, 260 sleeping,   0 stopped,   1 zombie
Cpu(s): 33.4%us,  1.1%sy,  0.1%ni, 65.1%id,  0.0%wa,  0.1%hi,  0.3%si,
0.0%st
Mem:  16429688k total, 13947832k used,  2481856k free,   221656k buffers
Swap:  4185072k total,        0k used,  4185072k free,  4218372k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND
26985 transcod  25   0 2287m *2.0g* 3248 R 100.0 12.9   2339:56
ffmpeg
27060 transcod  25   0 2451m *2.0g* 3292 R 100.0 13.0   2358:29
ffmpeg
27406 transcod  25   0 2452m *2.0g* 3284 R 100.0 13.0   2359:15
ffmpeg
27671 transcod  25   0 2288m *2.0g* 3212 R 100.0 12.9   2336:47 ffmpeg

Please download log file here: http://www.mediafire.com/?e9tazj74s9eb6e6

-- 
Regards,
Tran Ly

Vega Corporation
98 Hoang Quoc Viet Str, Hanoi, Vietnam
Tel: 84 4 755 4190
Fax: 84 4 755 4190
Mobile: 84 91 487 1115
www.vega.com.vn; www.clip.vn; www.chacha.vn; www.ringring.vn


More information about the ffmpeg-user mailing list