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 727735 - Last few seconds encoding to .mp4 has frozen video
Last few seconds encoding to .mp4 has frozen video
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-07 09:53 UTC by mark skinner
Modified: 2018-11-03 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mark skinner 2014-04-07 09:53:57 UTC
Just using transmageddon to rotate some videos (damn smart phones are not so smart sometimes), when using the original format for my videos (MPEG4 audio:AAC video:H264) the last couple of seconds of the video freezes (sound is fine) but when converting to OGG (vorbis/theora) the video comes out perfectly.  Tried a few tests all on my same computer, all came out the same results.
Comment 1 Christian Fredrik Kalager Schaller 2014-04-07 10:00:21 UTC
Hmm, could you provide two things for me. The first is the image generated when you during transcoding choose the 'debug' option in the 'appmenu' (which is the menu available from the 'top bar' in GNOME 3 and Unity.

The second is to start transmageddon from a terminal, but before launching transmageddon do run this command:

export GST_DEBUG=*:5
transmageddon 2&>output.txt

Then compress the output.txt file and put it somewhere for me to download?
Comment 2 Christian Fredrik Kalager Schaller 2014-04-07 10:00:53 UTC
To be clear, when you run those commands in the terminal, to one of the failing rotates and let it run to the end.
Comment 3 mark skinner 2014-04-07 10:14:07 UTC
Ok, here is output.txt compressed https://www.dropbox.com/s/iw1ac6qdfhhz5u1/output.txt.tar.7z

I'm not 100% sure when you say image, if you mean the video or thumbnail?? Here is a copy of the video anyway https://www.dropbox.com/s/gdmkki8f4y0ja3v/2014-03-09%2015.25.38-110737-07042014.mp4
It's only a 5 second video so the download is quick
Comment 4 mark skinner 2014-04-07 10:22:53 UTC
It's  only about a second that freezes in this one, quite short but it demonstrates what I mean at least. The same video encoded to .ogg comes out fine as you can see here https://www.dropbox.com/s/xn32qmwfglvvo4l/2014-03-09%2015.25.38-111745-07042014.ogg
Comment 5 Christian Fredrik Kalager Schaller 2014-04-07 11:04:46 UTC
Hi,
What I was referring to is this:
http://www.linuxrising.org/screenshots/transmageddon-0.23-gtk3.png

Where you see in the GNOME Shell menu there is a 'Debug' option. When you choose it you should  get an .png image showing up in your default image viewer (if you have graphwiz installed). If nothing shows up then there should still be a file called transmageddon-debug-graph.dot file in /tmp, which you could send me.
Comment 6 mark skinner 2014-04-07 12:54:30 UTC
Okay I did not have graphviz installed so installed it and got this result https://www.dropbox.com/s/e00ej9pd8dtfjbd/transmageddon-pipeline.png
and the .dot 
https://www.dropbox.com/s/7qios3jm6qylsv0/transmageddon-debug-graph.dot

Hope this helps
Comment 7 Christian Fredrik Kalager Schaller 2014-04-07 14:48:49 UTC
Thank you. I suspect this is a GStreamer bug and not Transmageddon itself, but with this information we should be able to find out where at get it resolved. I will keep you up to date as I find some time to dig into this.
Comment 8 mark skinner 2014-04-07 18:16:35 UTC
Okay, keep up the great work, Transmageddon is great and really easy to use
Comment 9 mark skinner 2014-04-07 18:17:13 UTC
Okay, keep up the great work, Transmageddon is great and really easy to use
Comment 10 Christian Fredrik Kalager Schaller 2014-04-08 11:17:46 UTC
Hi Mark,
Ok, I been testing a bit today. Just to confirm the video in comment 3, is that the original or a generated file displaying the issue?
Comment 11 Christian Fredrik Kalager Schaller 2014-04-08 11:19:54 UTC
Actually to update my own question. I assume it is a file demonstrating the issue, I was wondering if you could share the original so I can try to reproduce.
Comment 12 mark skinner 2014-04-08 11:29:44 UTC
Yes comment 3 is the rotated video encoded to .mp4, comment 4 is the rotated video encoded as .ogg I'm at work now but when I get home I'll upload the original video about 18:00GMT
Comment 13 Christian Fredrik Kalager Schaller 2014-04-08 11:38:47 UTC
Thanks Mark, ok having looked through the debug log I will move this bug over to GStreamer. This is either a GStreamer element doing something wrong, or a problem with the input file.

I am seeing a lot of stuff like this in the log:
0:00:26.006582150 ^[[335m 5554^[[00m 0x7fdb6400c630 ^[[36mDEBUG  ^[[00m ^[[00m           baseparse gstbaseparse.c:883:gst_base_parse_convert:<h264parse2>^[[00m conversion failed
Comment 14 Christian Fredrik Kalager Schaller 2014-04-08 11:43:34 UTC
One last question Mark, do you know if the generated video is fine if you don't rotate?
Comment 15 mark skinner 2014-04-08 16:58:59 UTC
Here is the original video link https://www.dropbox.com/s/jk9zk0bd771rlyd/2014-03-09%2015.25.38.mp4
and it comes out with the same results if I do it again without rotating
Comment 16 GStreamer system administrator 2018-11-03 11:29:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/115.