Fail to read video files (mp4 or MOV or avi) with Gstreamer in jetson nano

I use the command:
gst-launch-1.0 playbin uri=file:///video.MOV

and i get:
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstFileSrc:source: Resource not found.
Additional debug info:
gstfilesrc.c(533): gst_filesrc_start (): GstPlaybinBin: playbin0/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
No such file “/video.MOV”
Setting pipeline to NULL …
Freeing pipeline …

(Because i don’t know how to write the pipeline i use playbin.)

Any ideas how to fix it? Thanks.

Hi,
It has to be absolute path in setting uri. Please refer to this command:

$ gst-launch-1.0 playbin uri=file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.mp4

I had also tried this way and get the same errors.

Hi,
You can cd to the folder of video.MOV and try

$ gst-launch-1.0 filesrc location=video.MOV ! qtdemux ! h264parse ! nvv4l2decoder ! nvoverlaysink

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.