<div dir="ltr"><div><div>Hi,<br><br></div>I'm completely new to GStreamer and trying to transcode some HDTV h264 recordings in TS format to h264 with a lower bitrate to save disk space.<br><br>gst-launch-1.0 version 1.0.10<br>
GStreamer 1.0.10<br><a href="http://packages.qa.debian.org/gstreamer1.0">http://packages.qa.debian.org/gstreamer1.0</a><br><br>omx:  omxmpeg2videodec: OpenMAX MPEG2 Video Decoder<br>omx:  omxmpeg4videodec: OpenMAX MPEG4 Video Decoder<br>
omx:  omxh263dec: OpenMAX H.263 Video Decoder<br>omx:  omxh264dec: OpenMAX H.264 Video Decoder<br>omx:  omxtheoradec: OpenMAX Theora Video Decoder<br>omx:  omxvp8dec: OpenMAX VP8 Video Decoder<br>omx:  omxmjpegdec: OpenMAX MJPEG Video Decoder<br>
omx:  omxvc1dec: OpenMAX WMV Video Decoder<br>omx:  omxh264enc: OpenMAX H.264 Video Encoder<br><br></div><div>I tried a lot of variations I found on the nets, but didn't get any result what so ever apart from error messages:<br>
<br>gst-launch-1.0 filesrc location=<file.ts> ! tsdemux ! h264parse ! omxh264dec ! omxh264enc ! filesink location=test.h264<br><br></div><div>this is as primitive as can get I suppose. Taking into account my non-existent experience with GSTreamer, this pipeline would make sense. Demux, parse, decode, encode, dump to a file. What I get is<br>
<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Internal data stream error.<br>Additional debug info:<br>mpegtsbase.c(1620): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:<br>
stream stopped, reason not-negotiated<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></div><div>Any pointers to what I'm doing wrong? I also tried decodebin to construct the decoding pipeline for me, but it fails saying I don't have a h264 decoder..<br>
<br></div><div>Thanks in advance<br></div><div><br><br><br></div></div>