AW: AW: Question about decodebin and prerolling
Bernhard Graaf
bernhard.graaf at gmx.de
Thu Dec 20 15:53:04 UTC 2018
And don't forget the -e, otherwise the file may be corrupted.
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Donnerstag, 20. Dezember 2018 16:47
An: 'Discussion of the development of and with GStreamer'
Betreff: AW: AW: Question about decodebin and prerolling
You need to decode audio as well, something like:
gst-launch-1.0 uridecodebin uri=dvb://BBC%20NEWS name=d ! queue ! x264enc !
mp4mux name=m ! filesink location=news.mp4 d. ! queue ! audioencoder ! m.
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Russel Winder
Gesendet: Donnerstag, 20. Dezember 2018 17:25
An: Discussion of the development of and with GStreamer
Betreff: Re: AW: Question about decodebin and prerolling
On Thu, 2018-12-20 at 15:23 +0100, Bernhard Graaf wrote:
> Hello Russel,
>
> May you send us the output from gst-launch-1.0 playbin -v
> uri=dvb://BBC%20NEWS.
>
> Seams something handled different from playbin-side.
Well that was informative! :-) I did as suggested and immediately discovered
that the
playbin is using uridecodebin not decodebin, so I tried:
gst-launch-1.0 uridecodebin uri=dvb://BBC%20NEWS ! x264enc ! mp4mux !
filesink location=news.mp4
and it worked. Well when I say worked, I got video but no audio.
Huge step forward, but not a complete solution as yet.
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list