GNOME Bugzilla – Bug 690132
avenc_mpeg2video: pixel-aspect-ratio issue when transcoding video
Last modified: 2013-06-18 09:14:09 UTC
Created attachment 231422 [details] Screenshot of transcoded video with 1.x Encodebin transcoding from mp4 (sintel trailer) to MPEG2 TS with MP2 audio using the avenc_mpeg2 results in a video that looks like the attached screenshot
This seems to work fine for me: gst-launch-1.0 uridecodebin uri=file:///home/tpm/Episodes/sintel-1280-surround.mp4 ! avenc_mpeg2video ! mpegtsmux ! filesink location=sintel.ts -v gst-launch-1.0 playbin uri=file://`pwd`/sintel.ts Could you please provide gst-launch lines and the exact input file to reproduce the issue?
Created attachment 231529 [details] Sample code yes, that works here as well. I'm using encodebin within rygel, sample code doing the same and resulting in the same output is attached.
Source file was downloaded from http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.mp4
Thanks
And it's not only the PAR, the file seems to be completely broken. The video looks completely corrupted in GStreamer but is just stretched in avplay/mplayer. The audio (with avenc_mp2) is not decodable by anything, with twolame GStreamer can't decode it.
Same thing happens with GstX264Enc
Forgot to mention: this used to work in 0.10
Created attachment 239392 [details] Updated example New Sample code that compiles for 0.10 and 1.x (make encode-1.0 encode-0.10) encode-0.10 produces a correct file, encode-1.0 (using GStreamer from ubuntu 12.10) doesn't.
Looks like this is fixed on master