AW: AW: Change aspect ratio without transcoding?

Bernhard Graaf bernhard.graaf at gmx.de
Wed Apr 4 04:11:49 PDT 2012


Hi Martijn,

have you tried something like 'videoscale'? I've never used this element
before, but it's seems to help for fixing your problem.
In other case you should decode/encode the stream into the needed format.
Sorry.....


-----Ursprüngliche Nachricht-----
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Martijn Grendelman
Gesendet: Mittwoch, 4. April 2012 12:41
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: AW: Change aspect ratio without transcoding?

Hi,

> which sink-object you are using? Xvimagesink has a parameter for that 
> 
> g_object_set (G_OBJECT (sinkobjectname), "force-aspect-ratio", 1, NULL);

Ah, sorry, I should have mentioned that. We don't actually play the video
with Gstreamer. We're using a tcpserversink to serve the stream to our
distribution network.

I'd like the AR of the video to be 16:9 before that. Unfortunately, the
input (an analog-to-h.264 encoder) only supports 4:3 for the available
signal, even though the source is 16:9.

Best regards,
Martijn Grendelman





> 
> -----Ursprüngliche Nachricht-----
> Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
>
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
> Im Auftrag von Martijn Grendelman
> Gesendet: Mittwoch, 4. April 2012 10:21
> An: gstreamer-devel at lists.freedesktop.org
> Betreff: Change aspect ratio without transcoding?
> 
> Hi,
> 
> I have a feeling that I'm on the wrong track here, but I'm going to ask
> anyway.
> 
> I have a MPEG-TS, containing H.264 video, in 4:3 aspect ratio. I'd like to
> stretch the video to 16:9. Is that possible without transcoding, perhaps
> by only remuxing?
> 
> Best regards,
> Martijn Grendelman
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list