[gmail] Re: Change aspect ratio without transcoding?

Marc Leeman marc.leeman at gmail.com
Tue Apr 10 01:50:25 PDT 2012


> >> 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?
> > 
> > Hi, I don't know of any element that could do that on encoded video, but
> > you could make an element yourself that only changes the
> > pixel-aspect-ratio.
> 
> Yes, I have been researching a way to do this.
> 
> Using the information from [1], I should theoretically be able to replace
> (using some for of 'binary sed') a certain byte sequence in the stream to
> get what I want. The problem was, that I haven't been able to find the
> sequence header ('000001B3') in the stream I was working on, so I gave it up.
> 
> Thanks.
> 
> [1] http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html

Looks like something that could be appended to the parser; that one
should search for the correct headers.

It might be that your stream was not properly formatted, in some cases,
the parser corrects this. 


-- 
  greetz, marc
harvey 2.6.29.1 #1 PREEMPT Mon Apr 6 22:33:31 CDT 2009 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120410/a691a98d/attachment.pgp>


More information about the gstreamer-devel mailing list