GNOME Bugzilla – Bug 506163
gst-launch creates an empty file when trying to transcode from .mkv to .mp4
Last modified: 2009-04-16 00:35:55 UTC
Please describe the problem: When running the following pipeline: gst-launch -v filesrc location=Shrek.the.Halls.720p.HDTV.AVC.AC3-GB.mkv ! matroskademux name=d ffmux_mp4 name=m ! filesink location=test.mp4 d.video_00 ! queue ! identity ! m.video_00 d.audio_00 ! queue ! identity ! m.audio_00 I get the following output: ** (gst-launch-0.10:9581): WARNING **: Add decoder amv (111) please //similar stuff ** (gst-launch-0.10:9581): WARNING **: Add decoder adpcm_thp (69650) please Ställer in rörledningen till PAUSED... Rörledningen utför PREROLL... /pipeline0/identity0: last-message = "event ******* (identity0:sink) E (type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, applied_rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, start=(gint64)0, stop=(gint64)1279776000000, position=(gint64)0;) 0x92b0ca0" /pipeline0/identity0: last-message = "event ******* (identity0:sink) E (type: 118, taglist, video-codec=(string)H264, language-code=(string)und;) 0x92b0cc8" /pipeline0/queue0.sink: caps = video/x-h264, codec_data=(buffer)014d4033ffe10016674d40339a7602802dd0800001f480005dc0478c189c01000468eebc80, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1580417221/65891899 /pipeline0/queue0.src: caps = video/x-h264, codec_data=(buffer)014d4033ffe10016674d40339a7602802dd0800001f480005dc0478c189c01000468eebc80, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1580417221/65891899 /pipeline0/identity0.src: caps = video/x-h264, codec_data=(buffer)014d4033ffe10016674d40339a7602802dd0800001f480005dc0478c189c01000468eebc80, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1580417221/65891899 /pipeline0/identity0.sink: caps = video/x-h264, codec_data=(buffer)014d4033ffe10016674d40339a7602802dd0800001f480005dc0478c189c01000468eebc80, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1580417221/65891899 /pipeline0/identity0: last-message = "chain ******* (identity0:sink)i (1320 bytes, timestamp: 0:00:00.000000000, duration: 0:00:00.041692724, offset: -1, offset_end: -1, flags: 33) 0x9421618" /pipeline0/m.video_0: caps = video/x-h264, codec_data=(buffer)014d4033ffe10016674d40339a7602802dd0800001f480005dc0478c189c01000468eebc80, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1580417221/65891899 Here it stops, test.mp4 is created but is zero bytes large. Pressing ctrl-c gives the following: Caught interrupt -- handling interrupt. Interrupt: Stopping pipeline ... FEL: rörledningen vill inte utföra preroll. Ställer in rörledningen till NULL... /pipeline0/m.video_0: caps = NULL /pipeline0/identity0.src: caps = NULL /pipeline0/identity0.sink: caps = NULL /pipeline0/queue0.src: caps = NULL /pipeline0/queue0.sink: caps = NULL /pipeline0/d.audio_00: caps = NULL /pipeline0/d.video_00: caps = NULL FRIGÖR rörledning... Steps to reproduce: 1. Try to transcode a .mkv to a .mp4 Actual results: Nothing. Expected results: A mp4 file should be produced. Does this happen every time? Yes. Other information: See email exchange on gst-devel list: http://sourceforge.net/mailarchive/forum.php?thread_name=cc102fb20711281017v17c151f6s15ace7bb50aac176%40mail.gmail.com&forum_name=gstreamer-devel
Hrm, quite old this bug. Sorry noone ever got around to looking at this. > ** (gst-launch-0.10:9581): WARNING **: Add decoder amv (111) please This means you're using gst-ffmpeg compiled against an external ffmpeg copy, which is something we do not support (with the exception of certain approved released ffmpeg versions). Also, there's a GStreamer-native qtmux element now, I'd suggest you try again with that if you're still interested in transcoding. Closing as OBSOLETE for now, please re-open or file a new bug if you still have trouble with recent versions of GStremer and qtmux.