Help with transcoding h264 encoded TS on raspberry pi

Sebastian Dröge sebastian at centricular.com
Fri Dec 13 11:12:55 PST 2013


On Fr, 2013-12-13 at 19:04 +0100, Markus Fritsche wrote:
> On 12/13/2013 06:49 PM, Sebastian Dröge wrote:
> 
> > You mean since 1.2 the problem is gone? What did you use for scaling and
> > cropping and how did you do that? Possible that something in videoscale
> > or videocrop has fixed that, there were some changes that could've been
> > related.
> 
> The red bar only shows up with videocrop (just made a test file):
> 
> gst-launch-1.0 filesrc location='test.ts' ! progressreport ! tsparse !
> decodebin name=demux demux. ! queue ! audioconvert ! voaacenc
> bitrate=128000 ! queue ! mux. demux. ! queue ! audioconvert ! voaacenc
> bitrate=128000 ! queue ! mux. demux. ! queue ! videoconvert ! videocrop
> top=4 bottom=4 ! videoconvert ! omxh264enc control-rate=1
> target-bitrate=1500000 !
> "video/x-h264,profile=high,width=720,height=568" ! queue ! h264parse !
> mux. matroskamux name=mux ! filesink location='out.mkv'
> 
> The videos could be found at
> http://reauktion.de/test.ts and
> http://reauktion.de/out.mkv

Which caps are configured on videocrop here, and is videoconvert
converting between different video formats? Do you also get these
red/green problems if you don't encode after videocrop but display the
video directly? Does the pattern change somehow if you use different
cropping values, e.g. does it disappear if you only crop at the top or
bottom?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131213/55d90247/attachment-0001.pgp>


More information about the gstreamer-devel mailing list