video is streaming but no image in vlc

*nix specific usage questions
tonj
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2011 10:42

video is streaming but no image in vlc

Postby tonj » 16 Sep 2013 22:54

I'm running vlc-2.0.6-1.el6.x86_64 on a centos 6.4 64bit machine and I'm transcoding video from an axis 211A camera with this command:
cvlc -vvv rtsp://user:password@<axis-cam-ip>:554/mpeg4/media.amp --sout '#transcode{vcodec=FLV1,vb=512,acodec=mpga,ab=64,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8084/zoomcam.flv}'
when I try to view this stream in vlc on a pc there's no image or sound. But I know the centos server is streaming because I've watched the vlc machine in wireshark and I'm getting a very strong stream of continuous data from the ip of the centos machine, and I'm not getting any errors in the streaming console.
During streaming I got this in the log of vlc: (I had to snip the start of urls to bypass this forums max urls rule)
main debug: art not found for ://<<centos6-server-ip>:8084/zoomcam.flv
main debug: connection succeeded (socket = 1284)
qt4 debug: IM: Setting an input
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: video/x-flv
main debug: using access module "access_http"
main debug: TIMER module_need() : 38.350 ms - Total 38.350 ms / 1 intvls (Avg 38.350 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 2967 KiB/s
main debug: looking for stream_filter module: 4 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.169 ms - Total 0.169 ms / 1 intvls (Avg 0.169 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.138 ms - Total 0.138 ms / 1 intvls (Avg 0.138 ms)
main debug: creating demux: access='http' demux='' location=',centos6-server-ip>:8084/zoomcam.flv' file='\\,centos6-server-ip>:8084\zoomcam.flv'
main debug: looking for demux module: 55 candidates
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=flv)
lua debug: Trying Lua scripts in C:\Users\asus\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_streams.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_xml.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\appletrailers.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\break.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\canalplus.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\cue.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\dailymotion.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\extreme.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\france2.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\googlevideo.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\jamendo.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\joox.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\katsomo.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\koreus.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\lelombrik.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metacafe.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metachannels.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\mpora.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pinkbike.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pluzz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\vimeo.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube_homepage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\zapiks.luac
avcodec debug: trying url: \\,centos6-server-ip>:8084\zoomcam.flv
avcodec debug: detected format: flv
main debug: incoming request - stopping current input
main debug: socket 1284 polling interrupted
main debug: waitpipe: object killed
main debug: dying input
avcodec warning: Could not find stream info: Specified event object handle is invalid
main debug: selecting program id=0
avcodec debug: adding es: video codec = undf
avcodec debug: adding es: audio codec = undf
avcodec debug: AVFormat supported stream
avcodec debug: - format = flv (FLV (Flash Video))
avcodec debug: - start time = -1336932574000
avcodec debug: - duration = 0
main debug: using demux module "avcodec"
main debug: TIMER module_need() : 9323.104 ms - Total 9323.104 ms / 1 intvls (Avg 9323.104 ms)
main debug: looking for decoder module: 32 candidates
main debug: no decoder module matching "any" could be loaded
main debug: TIMER module_need() : 21.259 ms - Total 21.259 ms / 1 intvls (Avg 21.259 ms)
main error: no suitable decoder module for fourcc `undf'. VLC probably does not support this sound or video format.
main debug: killing decoder fourcc `undf', 0 PES in FIFO
main debug: looking for decoder module: 32 candidates
main debug: no decoder module matching "any" could be loaded
main debug: TIMER module_need() : 1.145 ms - Total 1.145 ms / 1 intvls (Avg 1.145 ms)
main error: no suitable decoder module for fourcc `undf'. VLC probably does not support this sound or video format.
main debug: killing decoder fourcc `undf', 0 PES in FIFO
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\asus\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.273 ms - Total 1.273 ms / 1 intvls (Avg 1.273 ms)
main debug: `://<<centos6-server-ip>:8084/zoomcam.flv' successfully opened
main debug: dying input
main debug: dying input
main debug: removing module "avcodec"
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: Program doesn't contain anymore ES
main debug: dead input
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for '://<<centos6 -server-ip>:8084/zoomcam.flv' : 9389.498 ms - Total 9389.498 ms / 1 intvls (Avg 9389.498 ms)
this has got me puzzled so I'd appreciate any help.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: video is streaming but no image in vlc

Postby Jean-Baptiste Kempf » 17 Sep 2013 00:38

Seeing the output, your command line is probably missing some double-quotes around the --sout parameter
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tonj
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2011 10:42

Re: video is streaming but no image in vlc

Postby tonj » 17 Sep 2013 11:43

would believe it, this morning I've tried the same thing again and now it's working. Only problem is I have no audio at the end of the chain.
I know the cam is putting out audio on the rtsp stream to the server because I've tested it and I can hear it, but the server isn't including audio in the transcoding. Thanks for your response btw and do you have any ideas regarding the absent audio?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: przxqgl and 6 guests