[FFmpeg-user] Fwd: live udp transcoding problem when using ffmpeg command line?

dj stava djstava at gmail.com
Tue Feb 7 04:18:59 EET 2017


---------- Forwarded message ----------
From: dj stava <djstava at gmail.com>
Date: Tue, Feb 7, 2017 at 10:16 AM
Subject: live udp transcoding problem when using ffmpeg command line?
To: ffmpeg-devel-owner at ffmpeg.org


Hi,everyone,

     I use the ffmepg(version: 3.2.2 static) command line to transcode
 live udp stream(mpgv & mpga codec) and then send the coded data to
nginx-rtmp server,but problem occurred after server hours,fatal error is

WriteN, RTMP send error 10054 <129 bytes>

WriteN, RTMP send error 10053 <41 bytes>

 WriteN, RTMP send error 10038 <42 bytes>

av_interleaved_write_frame(): Operation not permitted

    Last message repeated 1 times

[flv @ 00000000039cbb40] Failed to update header with correct duration.

Error writing trailer of rtmp://10.10.10.188/hls/live5: Operation not
> permitted




ffmpeg transcoding command line is

ffmpeg -f mpegts -v error -i "udp://@225.0.0.5:9000?overrun
> _nonfatal=1&buffer_size=10000000
> <http://225.0.0.5:9000/?overrun_nonfatal=1&buffer_size=10000000>" -vcodec
> libx264 -acodec aac -preset ultrafast -pix_fmt yuv420p -strict -2 -r 25 -s
> 720x576 -vf w3fdif -y -f flv rtmp://10.10.10.188/hls/live5
>

ffmpeg configuration

ffmpeg version 3.2.2-static http://johnvansickle.com/ffmpeg/  Copyright (c)
>> 2000-2016 the FFmpeg developers
>
>   built with gcc 5.4.1 (Debian 5.4.1-4) 20161202
>
>   configuration: --enable-gpl --enable-version3 --enable-static
>> --disable-debug --disable-ffplay --disable-indev=sndio
>> --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r
>> --enable-gnutls --enable-gray --enable-libass --enable-libfreetype
>> --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb
>> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
>> --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora
>> --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
>> --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
>> --enable-libxvid --enable-libzimg
>
>   libavutil      55. 34.100 / 55. 34.100
>
>   libavcodec     57. 64.101 / 57. 64.101
>
>   libavformat    57. 56.100 / 57. 56.100
>
>   libavdevice    57.  1.100 / 57.  1.100
>
>   libavfilter     6. 65.100 /  6. 65.100
>
>   libswscale      4.  2.100 /  4.  2.100
>
>   libswresample   2.  3.100 /  2.  3.100
>
>   libpostproc    54.  1.100 / 54.  1.100
>
>
using nginx(version: nginx-1.11.3 and also tried verion 1.6.3) and
nginx-rtmp-module(https://github.com/arut/nginx-rtmp-module,git latest
version) as rtmp server ,and source udp stream seems to be ok,vlc plays
well.

Any help is appreciated.


More information about the ffmpeg-user mailing list