Page 1 of 1

VLC not able to play video streams

Posted: 29 Oct 2014 20:36
by harshalpatel
Hi,

I am streaming a video using ffmpeg command and trying a local loopback and play the video on VLC player. I have Ubuntu 14.04 installed on my server.

ffmpeg command that I am using to send video file is:
./ffmpeg -re -i /root/test_file.y4m -c:v libx264 -f:v mpegts -r:v 30 -s:v 1280x720 -b:v 1000k udp://127.0.0.1:8090

On the VLC player, I am using command:
vlc -vvv udp://127.0.0.1:8090

I verified the port is open with iptables and netstat.

VLC player is not playing any video and log file is not showing any activity.

Harshal Patel,
HPC Systems Engineer
Signalogic Inc.

Re: VLC not able to play video streams

Posted: 30 Oct 2014 20:10
by harshalpatel
Hi,

A quick update to my previous post:

There was an error in my VLC command line. It should be:
vlc -vvv udp://@127.0.0.1:8090 and I was able to play video on VLC player. I was doing a local loopback.

Next I tried to send the video using ffmpeg command as a UDP stream over the network and receive and play it using VLC application on the Samsung Galaxy Tab 4 with Android version 4.4.2.

I tried to stream video over the network using ffmpeg command:
./ffmpeg -re -i /root/test_file.y4m -c:v libx264 -f:v mpegts -r:v 30 -s:v 1280x720 -b:v 1000k udp://10.0.1.60:8090

and to receive on the tablet, VLC player URL:
udp://@10.0.1.60:8090

The VLC log shows incoming stream being received, but so far I'm not seeing any video.

Harshal Patel
HPC Systems Engineer
Signalogic Inc.

Re: VLC not able to play video streams

Posted: 31 Oct 2014 20:33
by harshalpatel
Hi,

Follow up to my previous post:

I am able to receive and play video in VLC player on my Android tablet coming from the network.

Because I was trying to receive high resolution videos, fourcc decoder stopped working and VLC media player was not able to play the stream so I had to reduce the resolution of the video file and it is working fine. Maybe in the Beta version of Android VLC, high resolution videos are not supported yet.

Harshal Patel
HPC Systems Engineer
Signalogic Inc.