GStreamer splitfilesrc for timelapse

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GStreamer splitfilesrc for timelapse

icepicknz

Hey guys,

 

Having some issues and cant figure out why its not working… I have a bunch of files with date format in the path so cant use multifilesrc and need to use splitfilesrc

 

List of files

root@nvidia-desktop:/media/nvidia/SCOUT/timelapse# ls 2020060613

202006061300-cam3.jpeg  202006061308-cam3.jpeg  202006061316-cam3.jpeg  202006061324-cam3.jpeg  202006061332-cam3.jpeg  202006061340-cam3.jpeg  202006061348-cam3.jpeg  202006061356-cam3.jpeg  

202006061302-cam3.jpeg  202006061310-cam3.jpeg  202006061318-cam3.jpeg  202006061326-cam3.jpeg  202006061334-cam3.jpeg  202006061342-cam3.jpeg  202006061350-cam3.jpeg  202006061358-cam3.jpeg  

202006061304-cam3.jpeg  202006061312-cam3.jpeg  202006061320-cam3.jpeg  202006061328-cam3.jpeg  202006061336-cam3.jpeg  202006061344-cam3.jpeg  202006061352-cam3.jpeg  

202006061306-cam3.jpeg  202006061314-cam3.jpeg  202006061322-cam3.jpeg  202006061330-cam3.jpeg  202006061338-cam3.jpeg  202006061346-cam3.jpeg  202006061354-cam3.jpeg  

 

Trying to turn them into a video

 

root@nvidia-desktop:/media/nvidia/SCOUT/timelapse# gst-launch-1.0 -e splitfilesrc location = "2020 *. jpeg" caps="image/jpeg,framerate=30/1" ! jpegdec !  omxh264enc !  avimux !  filesink location = timelapse.avi 

WARNING: erroneous pipeline: no property "caps" in element "splitfilesrc0"

 

root@nvidia-desktop:/media/nvidia/SCOUT/timelapse# gst-launch-1.0 splitfilesrc location = "*. jpeg" !  'image / jpeg, framerate = 2/1' !  jpegdec !  omxh264enc !  avimux !  filesink location = timelapse.avi

 

(gst-launch-1.0:1612): GStreamer-CRITICAL **: 20:09:21.077: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed

WARNING: erroneous pipeline: no element "image"

 

 

root@nvidia-desktop:/media/nvidia/SCOUT/timelapse# gst-launch-1.0 splitfilesrc location = "*. jpeg" ! jpegdec !  omxh264enc !  avimux !  filesink location = timelapse.avi

Setting pipeline to PAUSED ...

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstSplitFileSrc:splitfilesrc0: Found no files matching the pattern.

Additional debug info:

gstsplitfilesrc.c(322): gst_split_file_src_start (): /GstPipeline:pipeline0/GstSplitFileSrc:splitfilesrc0:

Failed to find files in '.' for pattern '*. jpeg'

Setting pipeline to NULL ...

Freeing pipeline ...

 

 

Any help would be appreciated

 

Regards

Barry


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel