how to convert decodebin to pipeline

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

how to convert decodebin to pipeline

Ash 20001
I have a pipeline: gst-launch-1.0 -v filesrc location=out.264 ! h264parse ! decodebin ! xvimagesink. This pipeline reads raw h264 data and decodes and renders it. Decodebin selects an omx_videodec_0 HW video decoder automatically. I have two questions:

1. If I try to launch the pipeline like this: "gst-launch-1.0 -v filesrc location=out.264 ! h264parse ! omx_videodec_0! xvimagesink", the pipeline doesn't work. Is there a way to figure out the pipeline that decodebin creates so that I can just launch it manually with gst-launch without using decodebin?

2. If not, is there a way using decodebin to select a different decoder than the one it automatically picks?

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

RE: how to convert decodebin to pipeline

Ash 20001
For 1) below, the pipeline graph is attached, however I do not understand how to convert it to a pipeline on the commandline via gst-launch.




From: [hidden email]
To: [hidden email]
Subject: how to convert decodebin to pipeline
Date: Tue, 29 Mar 2016 22:25:32 -0700

I have a pipeline: gst-launch-1.0 -v filesrc location=out.264 ! h264parse ! decodebin ! xvimagesink. This pipeline reads raw h264 data and decodes and renders it. Decodebin selects an omx_videodec_0 HW video decoder automatically. I have two questions:

1. If I try to launch the pipeline like this: "gst-launch-1.0 -v filesrc location=out.264 ! h264parse ! omx_videodec_0! xvimagesink", the pipeline doesn't work. Is there a way to figure out the pipeline that decodebin creates so that I can just launch it manually with gst-launch without using decodebin?

2. If not, is there a way using decodebin to select a different decoder than the one it automatically picks?

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

out.png (338K) Download Attachment