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 506163 - gst-launch creates an empty file when trying to transcode from .mkv to .mp4
gst-launch creates an empty file when trying to transcode from .mkv to .mp4
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.15
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-28 22:38 UTC by Andreas Tunek
Modified: 2009-04-16 00:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Andreas Tunek 2007-12-28 22:38:28 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
Comment 1 Tim-Philipp Müller 2009-04-16 00:35:55 UTC
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.