Unable to played streaming video with VLC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to played streaming video with VLC

Gopal Sharma
Hi,

I am new to gstreamer.
I have requirement to stream a video file from Linux machine (Ubuntu 16.04) & play the video with VLC media player on windows machine (Windows10).

I have started streaming using below command:
gst-launch-1.0 -v filesrc location = /home/gsharma/Videos/file_name.mp4 ! decodebin ! x264enc ! rtph264pay ! udpsink host=10.112.171.241 port=9001

I have tried to play streaming video with VLC using url:
rtp://@:9001
But failed to play the video & reports error related to SDP.

I have created an SDP file on windows & launched VLC with sdp file using command:
vlc.exe -vvv gstreamer_sdp.sdp
Content of SDP file is:
v=0
c=IN IP4 10.112.171.241
s=ESP H264+AAC STREAM
m=video 9001 RTP/AVP 96
a=rtpmap:96  MP4V-ES/90000


But it is still not playing with VLC & no error is getting reported.
Please let me know what I am doing wrong.

Thanks,
Gopal
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: Unable to played streaming video with VLC

Thornton, Keith
Hi,
I would suggest using the gstreamer rtsp-server to send the file and on the VLC side you can then use an rtsp:// url to receive it.

-----Urspr√ľngliche Nachricht-----
Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Gopal Sharma
Gesendet: Dienstag, 25. Juli 2017 13:39
An: [hidden email]
Betreff: Unable to played streaming video with VLC

Hi,

I am new to gstreamer.
I have requirement to stream a video file from Linux machine (Ubuntu 16.04) & play the video with VLC media player on windows machine (Windows10).

I have started streaming using below command:
/gst-launch-1.0 -v filesrc location = /home/gsharma/Videos/file_name.mp4 !
decodebin ! x264enc ! rtph264pay ! udpsink host=10.112.171.241 port=9001/

I have tried to play streaming video with VLC using url:
/rtp://@:9001/
But failed to play the video & reports error related to SDP.

I have created an SDP file on windows & launched VLC with sdp file using
command:
/vlc.exe -vvv gstreamer_sdp.sdp/
Content of SDP file is:
/v=0
c=IN IP4 10.112.171.241
s=ESP H264+AAC STREAM
m=video 9001 RTP/AVP 96
a=rtpmap:96  MP4V-ES/90000/

But it is still not playing with VLC & no error is getting reported.
Please let me know what I am doing wrong.

Thanks,
Gopal




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Unable-to-played-streaming-video-with-VLC-tp4683939.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...