Fedora Linux Support Community & Resources Center
  #1  
Old 28th January 2016, 06:42 PM
mharsha Offline
Registered User
 
Join Date: Jan 2016
Location: India
Posts: 2
windows_7firefox
Question VLC Client not playing the video, even when the Linux PC is receiving the Packets

Hi,
I have been trying to stream a video file using VLC using below commands:

--->Server streaming the video:
cvlc <File_Name> --sout udp:<IP_address> --ttl 12 vlc://qui

File_Name: RefVideoFile_720p_x264_5M.mp4
Ip_address: xx.yy.zz.184:1234, here IP address in unicast

--->Client receiving the video:
cvlc udp://@:1234 --sout file/avi:stream_x5M.mp4

Both Server and client are in same network and are using Fedora 18.
In my case, Sometimes Client is receiving the video, and some times under same conditions it is not receiving the video, in all the cases the Linux PC is receiving the packets. I have verified it in Wireshark.

I am not sure what is triggering the client to receive the video and why it is not receiving all the times.
Reply With Quote
  #2  
Old 28th January 2016, 07:27 PM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 570
macosfirefox
Re: VLC Client not playing the video, even when the Linux PC is receiving the Packets

udp:<IP_address>

This?
udp://<IP_address>

Anyhoo, first try to serve and play on the same machine. If that works, then try to play on a different machine. If it won't, then the issue is a network routing problem, not a VLC problem. Divide and conquer.
__________________
--
Have fun!
http://www.aeronetworks.ca

Last edited by flyingdutchman; 28th January 2016 at 07:35 PM.
Reply With Quote
  #3  
Old 29th January 2016, 04:59 PM
mharsha Offline
Registered User
 
Join Date: Jan 2016
Location: India
Posts: 2
windows_7firefox
Re: VLC Client not playing the video, even when the Linux PC is receiving the Packets

Thank you flyingdutchman for replying.
Sorry for posting it incorrectly, but the commands are syntactically correct, i have used the ip-address in the way you told me. And my client is able to receive the video also.

My issue is that the client is not receiving the video always and I could see the packets coming to the Host machine (in wireshark) even when the vlc client is not receiving the video.

Can you kindly suggest in the above scenario.
Reply With Quote
  #4  
Old 29th January 2016, 06:54 PM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 570
linuxfedorafirefox
Re: VLC Client not playing the video, even when the Linux PC is receiving the Packets

Well, VLC is buggy and I don't use it for that reason. Try to play video with ffplay, mplayer or xine. Also, if you launch the player from a terminal command line, then you should see some error messages.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
  #5  
Old 1st February 2016, 01:25 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 37
Posts: 4,280
linuxfirefox
Re: VLC Client not playing the video, even when the Linux PC is receiving the Packets

Like flyingdurchman said. (+1)
And for the lazy ones, they might try my VHS (using ffmpeg/ffplay) so one can just 'throw' (multiple) files at the script and it plays (or encodes) them all in a row.
It is meant for mass-encodings; playing (audio/video) files/urls is just an additional gimmick.

To upstream (from your stream server):
Code:
vhs -u http://192.168.1.2/mystream.ffm *mp3
# or if that url is in the config
vhs -U *mp3
Likewise for streams, it even has a playlist for remote streams:
1. use for stream play:
2. use to play that url again: (select from list)
Code:
vhs -PP
Obviously, you need to adjust the URL/IP to the proper adress.
See my signature for the link.

Please be aware, i were reported an error breaking the installation, but I cannot reproduce it.
If you try VHS, it would be kind to let me know wether you get an error as well or not.
And if you do, please provide the full output of
Code:
V=1 ./configure --prefix=/usr;make;sudo make install
to report that installation bug.

Hope this helps (and thank you in advance)
__________________
EFI Cheatsheet :: http://forums.fedoraforum.org/showthread.php?t=298546
Video Handler Script (VHS) (mass re-encode videos, screenrecorder, console music/webradio player, ...) :: http://forums.fedoraforum.org/showthread.php?t=299182
Windows 8+ & Fedora 20+ Dualboot :: http://forums.fedoraforum.org/showthread.php?t=298161

Last edited by sea; 1st February 2016 at 01:34 PM.
Reply With Quote
Reply

Tags
client, linux, packets, playing, receiving, video, vlc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sound & video messed up while playing local video. kevross_33 Using Fedora 2 3rd September 2009 11:47 AM
Receiving an unsual error when trying to add HD to Linux kiddsupreme Using Fedora 5 25th December 2008 07:37 PM
Too many Video Packets in the buffer solodiver Using Fedora 3 31st May 2008 11:31 PM
Forward Broadcast packets in Linux Shobhit_Jain Servers & Networking 1 12th November 2006 12:46 AM


Current GMT-time: 16:24 (Monday, 27-03-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat