Avidemux 2.5.4 crash often during linear editing 720p MP4 files w/ duration 2-3h

Started by vedavrata, May 18, 2014, 11:09:06 PM

Previous topic - Next topic

vedavrata

Avidemux v2.5.4 crashes often during linear editing ("A", "B", "Cut") of 720p MP4 long (files w/ duration 2-3 hours).

Logfile is here: http://pastebin.com/xpb03dHp and in the Attachment.

  Avidemux v2.5.4
Compiler: GCC 4.7.1 20120908 (prerelease)
Build Target: Linux (x86-64)
User Interface: GTK+ (2.24.17)
   ...
*********** BACKTRACK **************
/usr/lib/libADM_core.so(ADM_backTrack+0x5c) [0x7f45f6850ddc]:0:<ADM_backTrack>:-2
/usr/lib/libADM_core.so(ADM_dezalloc+0x59) [0x7f45f68500b9]:1:<ADM_dezalloc>:-2
avidemux(_Z11GUI_PlayAvib+0x461) [0x457911]:2:<GUI_PlayAvi(bool)>:0
avidemux(_Z12HandleAction6Action+0xe35) [0x4555c5]:3:<HandleAction(Action)>:0
avidemux(_Z11guiCallbackP12_GtkMenuItemPv+0x1f) [0x53003f]:4:<guiCallback(_GtkMenuItem*, void*)>:0
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x108e7) [0x7f45f482b8e7]:5:<>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x44f) [0x7f45f48442df]:6:<g_signal_emit_valist>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f45f4844f92]:7:<g_signal_emit>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x24e8cb) [0x7f45f548e8cb]:8:<>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7f45f482b620]:9:<g_closure_invoke>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21f00) [0x7f45f483cf00]:10:<>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xb06) [0x7f45f4844996]:11:<g_signal_emit_valist>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f45f4844f92]:12:<g_signal_emit>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_accel_group_activate+0x105) [0x7f45f52b0625]:13:<gtk_accel_group_activate>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_accel_groups_activate+0xcd) [0x7f45f52b195d]:14:<gtk_accel_groups_activate>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_window_activate_key+0x156) [0x7f45f54a70c6]:15:<gtk_window_activate_key>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x267159) [0x7f45f54a7159]:16:<>:-2
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x136929) [0x7f45f5376929]:17:<>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7f45f482b620]:18:<g_closure_invoke>:-2
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21af8) [0x7f45f483caf8]:19:<>:-2
*********** BACKTRACK **************
   ...
[lavc] Build: 3430145
[lavc] Decoder init: CODEC_ID_PNG video decoder initialized!
[lavc] Destroyed
[Bridge] Destroying bridge

AQUAR

Being an MP4 media file it probably has an AVC compressed video stream in it.
So maybe try V2.6.8, as that is more suited to these kinds of media files.

Jan Gruuthuse

Dont use gtk (not developed for now), use QT flavour.
2.5.6 for SD video that does not work on 2.6.8.
2.6.8 for HD video and dvb-(C/T/S)2 mpeg-ts recordings.
2.6.8 best to install:
  • avidemux3-core-2.6.8-xxxx-Linux
  • avidemux3-plugins-COMMON-2.6.8-xxxx-Linux
  • avidemux3-qt4-2.6.8-xxxx-Linux
  • avidemux3-plugins-QT4-2.6.8-xxxx-Linux
  • avidemux3-cli-2.6.8-xxxx-Linux
  • avidemux3-plugins-CLI-2.6.8-xxxx-Linux
  • avidemux3-plugins-SETTINGS-2.6.8-xxxx-Linux

vedavrata

Quote from: Jan Gruuthuse on May 19, 2014, 06:35:51 AM
Dont use gtk (not developed for now), use QT flavour.
2.5.6 for SD video that does not work on 2.6.8.
2.6.8 for HD video and dvb-(C/T/S)2 mpeg-ts recordings.
So, i can use QT 2.6.8 for any type of video files, correct?
And it's better to use 'SpiderMonkey' type of project, correct?

Quote from: Jan Gruuthuse on May 19, 2014, 06:35:51 AM
2.6.8 best to install:
  • avidemux3-core-2.6.8-xxxx-Linux
  • avidemux3-plugins-COMMON-2.6.8-xxxx-Linux
  • avidemux3-qt4-2.6.8-xxxx-Linux
  • avidemux3-plugins-QT4-2.6.8-xxxx-Linux
  • avidemux3-cli-2.6.8-xxxx-Linux
  • avidemux3-plugins-CLI-2.6.8-xxxx-Linux
  • avidemux3-plugins-SETTINGS-2.6.8-xxxx-Linux
I have used these to install:
http://avidemux.org/smuf/index.php?topic=16159.0
http://avidemux.org/smuf/index.php/topic,16159.msg70954.html#msg70954
https://www.dropbox.com/s/tgzngastrbscelz/avidemux3_2.6.8_64bit_r9052_14.04_LTS-Trusty-debs.tar.gz
correct?


There are several problems of QT 2.6.8 comparing with GTK 2.5.4:
* No 'Side' view (both Input and Output), only Input or only Output.
* Cannot to the start -- when pressed 'Home' key/button, then cursor goes to 00:00:00.033, not to 00:00:00.000.
* Cannot to the end -- when pressed 'End' key/button, then cursor goes to 00:49:02.566, not to 00:49:02.600.
* [VERY IMPORTANT PROBLEM] Cannot stop (i.e. pause) play (playing of video) -- when pressed 'Space'-key / 'Stop'-button, then cursor returns to the beginning of the frame! :-( (i.e. returns to 00:00:00.033, 00:00:08.366, 00:00:16.699, 00:00:25.033, etc) but do not leave at the current position... :-(


BTW, how to assign 'Save-As project' action to a key?..


Thank you.

Jan Gruuthuse

Quote from: vedavrata on August 05, 2014, 11:32:57 PM
So, i can use QT 2.6.8 for any type of video files, correct?
most video formats
Quote from: vedavrataAnd it's better to use 'SpiderMonkey' type of project, correct?
Can't really tell. I use Tinypy Project for what I do in a saved project, repetitive tasks. Switching order of audio tracks (AC3 track as track 0). Encoding  from predefined video source to target video source. My view as end user. Depending your programming knowledge and what does function or not in one of the 3 project possibilities it could be the case. Again I don't know.
Quote from: vedavrataI have used these to install:
https://www.dropbox.com/s/tgzngastrbscelz/avidemux3_2.6.8_64bit_r9052_14.04_LTS-Trusty-debs.tar.gz
correct?
Probably, If you are on Ubuntu 14.04.1 64-bit version with Intel Core I(3/5/7) with preferable nvidia vdpau supported video card (Nvidia PureVideo).


Quote from: vedavrataThere are several problems of QT 2.6.8 comparing with GTK 2.5.4:
* No 'Side' view (both Input and Output), only Input or only Output.
* Cannot to the start -- when pressed 'Home' key/button, then cursor goes to 00:00:00.033, not to 00:00:00.000.
* Cannot to the end -- when pressed 'End' key/button, then cursor goes to 00:49:02.566, not to 00:49:02.600.
* [VERY IMPORTANT PROBLEM] Cannot stop (i.e. pause) play (playing of video) -- when pressed 'Space'-key / 'Stop'-button, then cursor returns to the beginning of the frame! :-( (i.e. returns to 00:00:00.033, 00:00:08.366, 00:00:16.699, 00:00:25.033, etc) but do not leave at the current position... :-(

* no side by side: only input or output preview
* start: does happen sometimes. Try when this happens with keyboard cursor keys: arrow up, arrow down and then arrow left (repeat arrow left until you can't go back). When for cutting at Begin of video. Don't mark with [A ]. Go to possition where you want to cut, slider move forward, to cutting point (example: where commercial break is). Mark this position with [ B]. Press [Ctrl][X] video is now cut from start of video up to position marked with [ B]
* end: Try when this happens with keyboard cursor keys: arrow down, arrow up and then arrow right (repeat arrow right until you can't go forward).
* space bar: jumps forward here to some position. I'm only using the navigation bar for moving around in/playing the video.


Fast positioning with slider. Selecting editing point with keyboard cursor up/down key only.

These quirks are most like to the fact: avidemux 2.8 flavour is not a frame based editor but time based.
If the video format is supported in 2.5.6 and you need frame based editing then 2.5.6 should be used. Most of recent HD video is not supported in 2.5.6
Both 2.5.6 and 2.6.# can be used alongside. 2.5.6 you need to build yourself on your machine. I don't have the knowledge to produce Distributables of 2.5.6.
Details can be found here: Compiling Avidemux 2.5.x

Jan Gruuthuse

Quote from: vedavrata on August 05, 2014, 11:32:57 PM
BTW, how to assign 'Save-As project' action to a key?..
Don't know how to assign a project to a key.
You can however move the saves projects files (Tinypy, perhaps the others to) to this folder:
~/.avidemux6/custom
or created sub folders in it. Upon restart these become available in avidemux main menu under Custom.
I have following sub folder:
- Audio where i have several tinypy audio projects (TV stations have different audio layouts)
- Conversion: re-encoding tinpy  from/to specific hardware target that do not support some kind of video encoding

vedavrata

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
* space bar: jumps forward here to some position. I'm only using the navigation bar for moving around in/playing the video.
Pity. The 'navigation bar' can not help - can not stay (stop) at the necessary frame, to step by frames. :-(

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
Fast positioning with slider. Selecting editing point with keyboard cursor up/down key only.
The 'up/down' key steps (jumps) by 8 seconds... :-(
The 'left/right' key shoold steps (jumps) by frames as needed. But sometimes them move to certain point only...

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
If the video format is supported in 2.5.6 and you need frame based editing then 2.5.6 should be used.
Pity that we can not combine frame-based editing of 2.5.6 and crash-free stability of 2.6.# ... :-(

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
Both 2.5.6 and 2.6.# can be used alongside.
2.5.6 you need to build yourself on your machine.
I don't have the knowledge to produce Distributables of 2.5.6.
The build of 2.5.6 by myself (on my machine - Fedora 20) failed with "Unsupported CPU" of cmake... :-(
Maybe there is ready the build of 2.5.6 for a 64-bit Fedora 20 ?

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
Details can be found here: Compiling Avidemux 2.5.x
It's Ubuntu. But i have Fedora.
I tried to perform similar with "sudo ./bootStrap.sh --rpm", but had "Unsupported CPU" as the  cmake error message... :-(

So, kindly, how to get RPMs (for Fedora 20) of Avidemux 2.5.6 (for frame-based editing, for 'side-by-side' view, etc.) please?

vedavrata

Quote from: Jan Gruuthuse on August 06, 2014, 01:43:55 AM
Quote from: vedavrata on August 05, 2014, 11:32:57 PM
BTW, how to assign 'Save-As project' action to a key?..
Don't know how to assign a project to a key.
You can however move the saves projects files (Tinypy, perhaps the others to) to this folder
It's not bad to have the folder for projects files...

But it's very often needs to save (preserve) the project, to backup it... 
And 'File'  ->   'Tinypy project'   ->   ''Save-As project''  is a long way... And it gives a lot of wrong clicks by cursor...

With the same reason (often needed to save the project), it should have the Option 'Save project' to speed-up!
But there is only Option 'Save-As project', :-( that means it's necessary every time to specify the file name (of a project)... :-(

Jan Gruuthuse


--------------------------^
use the second floppy icon from the left: save projects.

edit/adapt a project file so it works more general: remove file references and marker settings like these:
attached audio track switching for arte HD and 3sat HD (19.2Ã,°E on astra)

vedavrata

Quote from: Jan Gruuthuse on August 20, 2014, 05:45:30 AM

use the second of "floppy icon" from the left: save projects.
No, even this button (icon) is not "Save project" (but "Save project As")... :-(
So, it as well take a lot of time :-( to just save (backup) the project (the sequence of editing operations)...

vedavrata

Quote
Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
Both 2.5.6 and 2.6.# can be used alongside.
2.5.6 you need to build yourself on your machine.
I don't have the knowledge to produce Distributables of 2.5.6.
The build of 2.5.6 by myself (on my machine - Fedora 20) failed with "Unsupported CPU" of cmake... :-(
Maybe there is ready the build of 2.5.6 for a 64-bit Fedora 20 ?

Quote from: Jan Gruuthuse on August 06, 2014, 01:06:18 AM
Details can be found here: Compiling Avidemux 2.5.x
It's Ubuntu. But i have Fedora.
I tried to perform similar with "sudo ./bootStrap.sh --rpm", but had "Unsupported CPU" as the  cmake error message... :-(

So, kindly, how to get RPMs (for Fedora 20) of Avidemux 2.5.6 (for frame-based editing, for 'side-by-side' view, etc.) please?

And, kindly, what about Avidemux 2.5.6 for Fedora (Fedora 20) please ?..

Jan Gruuthuse

As user, I'm not a developer. If you want avidemux 2.5.6. If you can't find a fedora 20 solution for 2.5.6. I would suggest you install ubuntu desktop 12.04 LTS or 14.04 LTS preferably a 64-bit version, on a second primary partition (4 GB - 10 GB). And start up in Ubuntu to do video editing with avidemux.
Development on 2.5.6 is halted as far as I understood. Even development of 2.6.8 is on low due to time shortage.

vedavrata

Thank you, dear Jan.
Of course, i know about a possibility to have several OS'es at notebook (even often i have both Fedora and Linux Mint/Ubuntu Linux), but it's more comfortable to not reboot to other OS, and have what is needed right now...

Thank you for all your replies.
All the best.