GNOME Bugzilla – Bug 621465
[x264enc] Video codec information copied incorrectly to output
Last modified: 2011-01-04 13:39:34 UTC
This is an issue a user has experienced with Arista Transcoder. Original issue can be seen here: http://github.com/danielgtaylor/arista/issues#issue/12 The issue is with this file: http://ia331209.us.archive.org/0/items/Patent_Absurdity/Patent_Absurdity_LQ_350kbit.ogv When transcoded to H.264/AAC in MP4, the output container seems to contain copied values from the input container and this makes other GStreamer-based applications report the file's video stream as Theora when in reality it is H.264. FFmpeg and such report the video stream properly as H.264. The command being run internally is similar to: gst-launch-0.10 uridecodebin uri="file:///home/dan/Projects/arista/Patent_Absurdity_LQ_350kbit.ogv" name=dmux qtmux name=mux ! queue ! filesink name=sink location="/home/dan/Desktop/Patent_Absurdity_LQ_350kbit.mp4" dmux. ! queue ! ffmpegcolorspace ! videorate ! videoscale ! video/x-raw-yuv, width=\(int\)400, height=\(int\)224, framerate=\(fraction\)30000/1001, pixel-aspect-ratio=\(fraction\)1/1\; video/x-raw-rgb, width=\(int\)400, height=\(int\)224, framerate=\(fraction\)30000/1001, pixel-aspect-ratio=\(fraction\)1/1 ! videobox top=-8 bottom=-8 ! x264enc pass=qual quantizer=21 me=umh subme=6 ref=3 threads=0 ! tee name=videotee ! queue ! mux.video_%d dmux. ! queue ! audioconvert ! audiorate ! audioresample ! audio/x-raw-int, width=\(int\)[ 8, 24 ], depth=\(int\)[ 8, 24 ], rate=\(int\)[ 8000, 96000 ], channels=\(int\)[ 1, 6 ]\; audio/x-raw-float, width=\(int\)[ 8, 24 ], depth=\(int\)[ 8, 24 ], rate=\(int\)[ 8000, 96000 ], channels=\(int\)[ 1, 6 ] ! faac bitrate=192000 ! mux.audio_%d
video/audio encoders probably don't replace the incomming codec tags properly
The video isn't available anymore
Looking at qtmux, it already drops video/audio/container codec tags, this makes me think that the 'encoder' tag is the one to blame here.
Should be fixed by this commit: commit 7b97c2de6ab5729b622e4b9e8cecd69d936d5442 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Tue Jan 4 10:32:05 2011 -0300 x264enc: Handle codec/encoder tags Make x264enc drop video-codec and codec tags and replace encoder/encoder-version with x264 and its build number Fixes #621465 I'm closing the bug, in case you still have problems, please reopen and provide the offending file.