After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690132 - avenc_mpeg2video: pixel-aspect-ratio issue when transcoding video
avenc_mpeg2video: pixel-aspect-ratio issue when transcoding video
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-12 22:48 UTC by Jens Georg
Modified: 2013-06-18 09:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of transcoded video with 1.x (186.86 KB, image/png)
2012-12-12 22:48 UTC, Jens Georg
Details
Sample code (2.45 KB, application/x-xz)
2012-12-14 00:22 UTC, Jens Georg
Details
Updated example (2.76 KB, application/x-xz)
2013-03-20 17:42 UTC, Jens Georg
Details

Description Jens Georg 2012-12-12 22:48:28 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
Comment 1 Tim-Philipp Müller 2012-12-13 23:43:26 UTC
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?
Comment 2 Jens Georg 2012-12-14 00:22:41 UTC
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.
Comment 3 Jens Georg 2012-12-14 00:29:24 UTC
Source file was downloaded from http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.mp4
Comment 4 Tim-Philipp Müller 2012-12-14 00:53:36 UTC
Thanks
Comment 5 Sebastian Dröge (slomo) 2012-12-17 14:23:12 UTC
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.
Comment 6 Jens Georg 2012-12-20 16:41:29 UTC
Same thing happens with GstX264Enc
Comment 7 Jens Georg 2013-03-20 17:08:18 UTC
Forgot to mention: this used to work in 0.10
Comment 8 Jens Georg 2013-03-20 17:42:58 UTC
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.
Comment 9 Jens Georg 2013-06-14 14:53:16 UTC
Looks like this is fixed on master