[FFmpeg-user] RTSP Input/Output error (invalid data found)

Roquene roquene at googlemail.com
Mon Feb 3 01:46:52 CET 2014


Hello


I am fighting with this problem for several days already .
I have an IP Camera (IPC - 770HD) . This supports H.264 over RTSP .
The URL looks like this: rtsp://192.168.178.5:554/live/av0?user=admin

So this also works beautifully in VLC .

But with ffplay happens :
\ ffmpeg \ bin> ffplay rtsp://192.168.178.5:554/live/av0?user=admin
ffplay version N- 60240 - ge1cb6dc Copyright (c) 2003-2014 the FFmpeg 
developers
   built on January 29 2014 22:01:42 with gcc 4.8.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- libcaca - 
enable- libfreetyp
e - enable- libgsm - enable- libilbc - enable- libmodplug - enable- 
libmp3lame - ena
ble - libopencore - amrnb - enable- libopencore - AMRWB - enable- 
libopenjpeg - enable- l
ibopus - enable- librtmp - enable- libschroedinger - enable- libsoxr - 
enable- LIBSP
eex - enable- libtheora - enable- libtwolame - enable- libvidstab - 
enable- libvo -aa
cenc - enable- libvo - amrwbenc - enable- libvorbis - enable- libvpx - 
enable- libwavp
ack - enable- libx264 - enable- libxavs - enable- libxvid - enable- zlib
   libavutil 52 63,100 / 52 63,100
   libavcodec 55 49 101 / 55 49 101
   libavformat 55th 28,101 / 55 28,101
   libavdevice 55 7100 / 55 7,100
   libavfilter 4 1101 / 4 1101
   libswscale 2 5101 / 2 5101
   libswresample 0 17,104 / 0 17,104
   libpostproc 52 3100 / 52 3100
[ rtsp @ 024aff40 ] CSeq 2 expected , 1 sq = 0B f = received.0KB 0/ 0
rtsp :/ / 192.168.178.5:554 / av0 user = admin : Invalid data found When 
processing input


I wanted to convert the RTSP to a RTMP stream with ffmpeg originally. 
With variations of this command:

ffmpeg -i rtsp://192.168.178.5:554/av0?user=admin -re -acodec copy 
-vcodec copy -f flv rtmp://localhost/live/testStream

But keep getting the above error.

maybe someone has an idea?


RoqueNE



More information about the ffmpeg-user mailing list