Gstreamer suddenly shutdown not support seekeing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer suddenly shutdown not support seekeing

Akrita
Hi,
I am developing a DVR program on Nvidia Jetson TK1 with Ubuntu 14.04
i use  following command to save video frames in a MP4 file
 
gst-launch-1.0 v4l2src device="/dev/video0" !
"video/x-raw,width=640,height=480,format=(string)YUY2" ! videoconvert  !
omxh264enc ! matroskamux ! filesink location=test.mp4

but when i suddenly shutdown Jetson TK1, generating MP4 file not supporting
seeking .
how can handle this problem to enable seeking in suddenly shutdown.
Best Regards,
Akrita.  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer suddenly shutdown not support seekeing

Adrian Pardini
On Fri, 24 Jan 2020 at 07:02, Akrita <[hidden email]> wrote:

>
> gst-launch-1.0 v4l2src device="/dev/video0" !
> "video/x-raw,width=640,height=480,format=(string)YUY2" ! videoconvert  !
> omxh264enc ! matroskamux ! filesink location=test.mp4

Hello Akrita, try adding the -e (--eos-on-shutdown) flag to
gst-launch-1.0 so the file is properly created when you exit.

Regards.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer suddenly shutdown not support seekeing

Akrita
Thank you Adrian



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel