Help with transcoding h264 encoded TS on raspberry pi

Stefan Simon stefansimon8 at gmail.com
Fri Dec 13 08:51:13 PST 2013


I see, you get the width and height in prerolling, I only get it after the
pipeline is prerolled. Unfortunately, even when I encode the "sanitized"
video,  the bottom of the video is distorted with some kind of redish
ghosting... trying to figure out the problem, but my best bet might be
obtaining version 1.2...somehow :)


On Fri, Dec 13, 2013 at 4:32 PM, Tim Müller <tim at centricular.com> wrote:

> On Fri, 2013-12-13 at 15:33 +0100, Stefan Simon wrote:
>
> Hi Stefan,
>
> >
> https://drive.google.com/file/d/0B28etZUkBgLAa2JReDk3VHpUWHM/edit?usp=sharing
>
> Thanks. Seems to work fine in 1.2:
>
> $ gst-launch-1.0 file:///test2.ts ! tsdemux ! h264parse !
> video/x-h264,alignment=au,stream-format=byte-stream ! fakesink -v
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> h264parse0:sink: caps = video/x-h264, stream-format=(string)byte-stream,
> alignment=(string)nal
> h264parse0:src: caps = video/x-h264, stream-format=(string)byte-stream,
> alignment=(string)au, width=(int)1920, height=(int)1080,
> parsed=(boolean)true, pixel-aspect-ratio=(fraction)1/1
>
> (note how the src caps have width+height and all that)
>
> > Found out a curious thing. When I drag the ts file through ffmpeg
> > using vcodec and acodec "copy" gstreamer "just works" with that new
> > file.
>
> It probably gets sanitised a bit in the process, so that it starts with
> a keyframe or SPS/PPS or so.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131213/100f76dd/attachment.html>


More information about the gstreamer-devel mailing list