[FFmpeg-user] RTMP Input error (UDP output)
Matt Conway
conwayxd at gmail.com
Wed Mar 18 13:37:48 CET 2015
I am trying to use an RTMP source from the internet and broadcast it to my
local network over UDP.
In the console output below I am using avi as my file format which produces
the error.
If I use flv, there is no error and output SEEMS to be ok but I cannot
receive the output through pwomxplayer on a Raspberry Pi.
Any help is greatly appreciated!
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\admin>ffmpeg -i
rtmp://1.20006911.fme.ustream.tv/ustreamVideo/20006911/
9gjxU2DxvaUJDQZ9Yc6eGweKwV6Y2E7a -an -c:v copy -f avi udp://239.0.1.23:1234
ffmpeg version N-69920-g8bc8001 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-
libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink
--enab
le-zlib
libavutil 54. 18.100 / 54. 18.100
libavcodec 56. 22.100 / 56. 22.100
libavformat 56. 22.100 / 56. 22.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.100 / 5. 11.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, flv, from
'rtmp://1.20006911.fme.ustream.tv/ustreamVideo/20006911/9gjx
U2DxvaUJDQZ9Yc6eGweKwV6Y2E7a':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuvj420p(pc, bt709), 800x450 [SAR
1:1 D
AR 16:9], 30 fps, 30 tbr, 1k tbn, 2k tbc
Output #0, avi, to 'udp://239.0.1.23:1234':
Metadata:
ISFT : Lavf56.22.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuvj420p, 800x450 [SAR 1:1
DAR
16:9], q=2-31, 30 fps, 30 tbr, 60 tbn, 60 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[avi @ 0000000002e8e8c0] H.264 bitstream malformed, no startcode found, use
the
video bitstream filter 'h264_mp4toannexb' to fix it ('-bsf:v
h264_mp4toannexb' o
ption with ffmpeg)
av_interleaved_write_frame(): Invalid data found when processing input
frame= 1 fps=0.0 q=-1.0 Lsize= 1kB time=00:00:00.01 bitrate=
669.1kbits
/s
video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing ov
erhead: unknown
Conversion failed!
C:\Users\admin>
More information about the ffmpeg-user
mailing list