cap
August 5, 2021, 2:22am
1
Hello,
I am trying to playback a video file from a gstreamer RTSP server to a client.
Here is my gstreamer pipeline to test playing the video file over VLC:
./test_launch “filesrc location=test.mov ! decodebin ! rtpmp4vpay name=pay0 pt=96”
When I try to connect to the server from VLC, the connection is made but video doesn’t load. Test.mov is a quicktime video which I think uses mpeg-4 format.
Also if anyone has helpful resources to create gstreamer pipelines, please post link.
Thank you.
cap
August 5, 2021, 3:14am
3
One solution I found is to use a demuxer and turn the video into a raw video stream then parse the raw video stream, this seems to work.
Hi,
It may be h264 in mov files. You may install ffmpeg and run
$ ffprobe -i test.mov
If it is h264, please run like:
./test_launch "filesrc location=test.mov ! qtdemux ! h264parse ! rtph264pay name=pay0 pt=96"
cap
August 5, 2021, 8:17am
5
@DaneLLL
Thank you, this is exactly what I tried and it works. I think you’re right and it is h264.
system
Closed
October 10, 2021, 6:29am
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.