[Live-devel] FW: Errors on client side when using vlc as media player
Daniel Labonte
Daniel.Labonte at pleora.com
Fri Jun 27 09:46:20 PDT 2014
Hi again,
I believe I solved the errors with the streaming. I changed one command line argument for avconv using -f h264 instead of flv, as the comments in testOnDemandRTSPServer mention h.264 video elementary stream.
I will review the FAQ to address my next issue; streaming live video, or stream from a pipe.
Regards,
Daniel
From: Daniel Labonte
Sent: June-26-14 1:18 PM
To: '
Subject: Errors on client side when using vlc as media player
Good afternoon,
my current project involves sampling video transmitted in real-time (in this case a test pattern) and stream these images to be viewed remotely on a client computer.
The environment is a Ubuntu 12.04 64bit machine. Tests were done using a physical server and a virtual machine.
For the current prototype, the captured images are put into an .avi container using openCV, the output being a named pipe (pleoraFIFO.avi).
This avi file is then converted using avconv to produce a H264 format video. The actual command and arguments used is:
avconv -i ./pleoraFIFO.avi -vcodec libx264 -an -f flv test.264
The idea is then to stream the file test.264 using live555. I tried different approaches; live555MediaServer, testONDemandRTSPServer,
testH264VideoStreamer and a modified version of testONDemandRTSPServer where only test.264 is streamed. Regardless of the live555
executable used, I am unable to view the video stream on a client.
Note that the file test.264.can be viewed using a media player (totem or vlc) on the server.
I have attached different stats/log information related to test.264 and information reported by testRTSPCLient and openRTSP on the client side.
If vlc is used on the server to stream the video. the following errors are reported:
vlc test.264 --sout '#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://192.168.129.102:8080/test.sdp}'
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x8703f8] logger interface: using logger.
[0x792108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f02e00012c8] stream_out_rtp stream out: Consider passing --rtsp-host=IP on the command line instead.
[flv @ 0x7f0314c1ebc0] Estimating duration from bitrate, this may be inaccurate
[flv @ 0x7f02e00027a0] Estimating duration from bitrate, this may be inaccurate
[0x7f02e0c10278] main demux error: option sub-original-fps does not exist
[0x7f0304000b78] main input error: no suitable demux module for `file/subtitle:///home/builduer/samples/eppGateway//test264.txt'
although the streamed video can be viewed using vlc rtsp on the client side
vlc rtsp://192.168.129.102:8080/test.sdp
I am confused as to why I experience the reported errors streaming using live555 media server applications and your help/comments are welcome.
I downloaded and build live555 version dated May 27, 2014.
Regards
Daniel
_______________________
Daniel Labonte
Senior Software Designer
Pleora Technologies Inc.
Tel: +1-613-270-0625 | Fax: +1-613-270-1425
Daniel.Labonte at pleora.com | www.pleora.com
Discover the Next Generation of Video Interfaces
We've Moved! Please note our new address:
340 Terry Fox Drive, Suite 300
Kanata, Ontario K2K 3A2
This communication contains confidential information intended only for the addressee(s). If you have received this communication in error, please notify us immediately and delete this communication from your mail box.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140627/baabc972/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test264.txt
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140627/baabc972/attachment-0001.txt>
More information about the live-devel
mailing list