Help with transcoding h264 encoded TS on raspberry pi

Markus Fritsche fritsche.markus at gmail.com
Fri Dec 13 04:31:39 PST 2013


On Fri, 13 Dec 2013 13:27:50 +0100
Stefan Simon <stefansimon8 at gmail.com> wrote:

> I copy pasted your pipeline, got a Missing element: H.264 decoder message.

> root at raspberrypi:/mnt/tmp/tmp# gst-launch-1.0 filesrc
> location="/mnt/tmp/movie/20121107 0402 - HBO HD - Hanna.ts" !
> progressreport ! tsparse !  decodebin name=demux demux. ! queue !
> audioconvert ! voaacenc bitrate=128000 ! queue ! mux. demux. ! queue !
> deinterlace ! omxh264enc control-rate=1 target-bitrate=2500000 !
> "video/x-h264,profile=high,width=704,height=576" ! queue ! h264parse ! mux.
> mpegtsmux name=mux ! filesink location='out.ts'
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Missing element: H.264 decoder
> progressreport0 (00:00:05): 28952000 / 4960264192 bytes ( 0.6 %)

You need to adjust the width and height as the bitrates (2.5Mbps is a bit low for hd material ;))

> I would definitely be interested in the script, but perhaps even more in
> your GStreamer 1.2 binaries. I read a post from you on some blog that 1.2
> resolves audio/video sync issues in matroska.

That was probably my blog post ;-) 

As soon as I get home I'll see what I can do.

Kind regards
  Markus


-- 
Markus Fritsche <fritsche.markus at gmail.com>


More information about the gstreamer-devel mailing list