[FFmpeg-user] FFMPEG Crashes while UDP streaming without error(s)

spider58 spider58 at gmail.com
Wed Dec 21 08:22:54 CET 2011


Hello. Im recording video from several UDP channels. (24 hours)

I have a problem only 1 channel

record is working 10 hours or 15 hours etc.. and ffmpeg is crashes.

Windows error  *FFMPEG HAS STOPPED WORKS*

Im using this command

   *ffmpeg -i udp://@IPADRESS:PORT?buffer_size:655535 -t 14000 -ar 44100
-ac 2 -vcodec copy -async 1 d:\myvid.mp4*


My output is below.



ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Nov  6 2011 22:02:08 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 28. 0 / 53. 28. 0
  libavformat  53. 19. 0 / 53. 19. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpegts @ 01E58A80] Unable to seek back to the start
[mpeg2video @ 03800940] mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 01E58A80] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 01E58A80] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://@239.40.25.11:1000?buffer_size=65535':
  Duration: N/A, start: 87132.388433, bitrate: 15384 kb/s
  Program 35
    Metadata:
      service_name    : ?TNT
      service_provider: ?DOGAN TV
    Stream #0:0[0x20d]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p, 720x576 [SAR 16:15 DAR 4:3], 15000 kb/s, 27.05 fps, 25 tbr, 90k
tbn, 50 tbc
    Stream #0:1[0x30c](tur): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16, 256 kb/s
    Stream #0:2[0x30d](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16, 128 kb/s
    Stream #0:3[0x11ef]: Unknown: none ([11][0][0][0] / 0x000B)
Output #0, mp4, to 'c:\TNTTVPazar.mp4':
  Metadata:
    encoder         : Lavf53.19.0
    Stream #0:0: Video: mpeg2video (a[0][0][0] / 0x0061), yuv420p, 720x576
[SAR 16:15 DAR 4:3], q=2-31, 15000 kb/s, 27.05 fps, 25 tbn, 25 tbc
    Stream #0:1(tur): Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2
channels, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (mp2 -> libvo_aacenc)
Press [q] to stop, [?] for help
discarding 1049 audio samples
frame=  120 fps=  0 q=-1.0 size=    1352kB time=00:00:05.59
bitrate=1979.9kbits/s
frame=  140 fps=136 q=-1.0 size=    1544kB time=00:00:06.08
bitrate=2078.7kbits/s
frame=  147 fps= 96 q=-1.0 size=    1644kB time=00:00:06.59
bitrate=2041.7kbits/s
frame=  164 fps= 80 q=-1.0 size=    1848kB time=00:00:07.17
bitrate=2109.5kbits/s
frame=  179 fps= 70 q=-1.0 size=    1949kB time=00:00:07.63
bitrate=2090.2kbits/s
frame=  188 fps= 62 q=-1.0 size=    2073kB time=00:00:08.12
bitrate=2089.5kbits/s
frame=  203 fps= 56 q=-1.0 size=    2213kB time=00:00:08.66
bitrate=2093.1kbits/s
frame=  215 fps= 52 q=-1.0 size=    2379kB time=00:00:09.19
bitrate=2119.8kbits/s
frame=  227 fps= 49 q=-1.0 size=    2538kB time=00:00:09.68
bitrate=2147.4kbits/s
frame=  242 fps= 47 q=-1.0 size=    2698kB time=00:00:10.17
bitrate=2172.9kbits/s
frame=  249 fps= 44 q=-1.0 size=    2846kB time=00:00:10.65
bitrate=2187.3kbits/s
frame=  265 fps= 43 q=-1.0 size=    3078kB time=00:00:11.23
bitrate=2244.0kbits/s
.
.  *there are 16 hours record without error(s).*
.
frame=1451481 fps= 25 q=-1.0 size=20852373kB time=16:07:45.46
bitrate=2941.9kbits/s
frame=1451492 fps= 25 q=-1.0 size=20852515kB time=16:07:46.02
bitrate=2941.9kbits/s
frame=1451506 fps= 25 q=-1.0 size=20852671kB time=16:07:46.48
bitrate=2941.9kbits/s
frame=1451521 fps= 25 q=-1.0 size=20852793kB time=16:07:46.97
bitrate=2941.9kbits/s
frame=1451532 fps= 25 q=-1.0 size=20852938kB time=16:07:47.51
bitrate=2941.9kbits/s
frame=1451543 fps= 25 q=-1.0 size=20853078kB time=16:07:48.06
bitrate=2941.9kbits/s
frame=1451558 fps= 25 q=-1.0 size=20853249kB time=16:07:48.55
bitrate=2941.9kbits/s
frame=1451570 fps= 25 q=-1.0 size=20853378kB time=16:07:49.06
bitrate=2941.9kbits/s
frame=1451582 fps= 25 q=-1.0 size=20853506kB time=16:07:49.62
bitrate=2941.8kbits/s
frame=1451598 fps= 25 q=-1.0 size=20853661kB time=16:07:50.13
bitrate=2941.8kbits/s
frame=1451612 fps= 25 q=-1.0 size=20853779kB time=16:07:50.62
bitrate=2941.8kbits/s
frame=1451622 fps= 25 q=-1.0 size=20853931kB time=16:07:51.15
bitrate=2941.8kbits/s
frame=1451633 fps= 25 q=-1.0 size=20854034kB time=16:07:51.66
bitrate=2941.8kbits/s


AND Windows error  *FFMPEG HAS STOPPED WORKS

No error message, no warning etc.

Inadvance thanks.
*


More information about the ffmpeg-user mailing list