Hi everybody,
I wanna give maximum info, hope it's not too much...
I tried to make avidemux 2.6.12 to work with a video for the last week 1/2 but it crashes all the time at around 10%.
Environment :
Linux mint 17.3 (ubuntu 14.04.4) 64 bit
Processor AMD E-350 Dual Core, ATI Radeon HD 6310
Video : ISO MP4/M4A, H.264/AVC, 1280 X 720, around 27 minutes.
I've tried :
- the version of my distro (2.5.4)
- the last 4 versions of Jan Gruuthuse for 14.04.4 LTS
- I downloaded and compiled the sources from FossHub.
It crashes, not always with the same errors, sometimes I have a popup that shows the errors, sometimes not, sometimes I can't see the errors since it closes the terminal window automatically (never found any log file neither).
I need to embed the subtitles in videos. Here is what I'd like to do with my MP4 video file :
- Video output : Mpeg4 AVC (x264)
- Filter : subtitles in .ass format file (need special effects only allowed in .ass format)
- Audio output : copy
- Output format : MP4 Muxer
I've tried other video output : Mpeg4 ASP (xvid4) / Mpeg4 ASP (ff) / other formats as well
I've tried Resample FPS to 30.0 (as mentionnend in a post)
I've tried with MP4v2 Muxer
I've tried with other ouput formats (.mkv and others)
I've tried with different settings I've found in this forum...
Desperately, I also tried the driver from AMD and the open source one for my ATI video card...
I have another short video with .ass subtitles file : sometimes it works, sometimes not...
but this one (longer : 27 minutes compared to around 4 minutes) never worked.
The video seems to start at 00:00:00 (no hole) for what I understand...
I tried with the .ass file of the other video (that works sometimes) with the problematic video and it crashes all the time. If I don't include the subtitles file, it works. I converted the .ass file into .srt for testing and it worked (although the video is not what I need obviously).
My .ass file has been created with aegisub and contains script and \move effect mainly. I was not able to test it outside of aegisub since VLC has major issues with .ass files.
As I said before, it's not always the same error, but this is what I've seen several times :
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f7adafd0d30]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f7ad70f7cb0]:1:<>:-2
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ssa.so(_ZN6subAss12getNextFrameEPjP8ADMImage+0x352) [0x7f7ab2b69cd2]:2:<subAss::getNextFrame(unsigned int*, ADMImage*)>:0
/usr/bin/avidemux3_qt4(_ZN20ADM_videoFilterQueue9runActionEv+0x9f) [0x46f57f]:3:<ADM_videoFilterQueue::runAction()>:0
/usr/lib/libADM_coreUtils6.so(_ZN15ADM_threadQueue3runEv+0x11) [0x7f7ad9cc9561]:4:<ADM_threadQueue::run()>:0
/usr/lib/libADM_coreUtils6.so(+0x1c579) [0x7f7ad9cc9579]:5:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184) [0x7f7ad80bd184]:6:<>:-2
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f7ad71bb37d]:7:<clone>:-2
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack
subAss::getNextFrame(unsigned int*, ADMImage*)
ADM_videoFilterQueue::runAction()
ADM_threadQueue::run()
clone
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
Percent:9
avidemux3_qt4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
avidemux3_qt4: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
And yesterday, I've seen this one also :
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack
QTransform::type() const
QPainter::drawPixmap(QPointF const&, QPixmap const&)
QGtkStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const
QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const
QWindowsStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const
QCleanlooksStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const
QGtkStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const
QGtkStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const
QPushButton::paintEvent(QPaintEvent*)
QWidget::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)
QApplication::x11ProcessEvent(_XEvent*)
It appears to me that the problem comes from the way .ass format is managed ?
I also noticed my 2 CPUs are always near 100% and I have to monitor the temperature that goes more than 80 deg C when avidemux is running - around 50 deg when it's not running.
So, is there something I do wrong ? Is it a hardware issue ? Other things I should try ?
I'm pretty new to linux, completely new to video stuff and english is not my language, so forgive me if I don't understand fast enough...
Thanks for the nice app anyway !
1st check your airducts (in/out), vacuum clean, compressed air can or compressor with airdryer, basic air compressor is to wet (water gets into computer)
2nd check your fans (cpu, gpu, power supply, cooling ducts), if desktop PC put you PC on stone floor (floor is cooler and would improve cooling of computer case)
If mp4 is not essential, try with mkv, you can remux .ass later into mkv container with mkvtoolnix.
Upload an .ass file posing this problem (use 7-zip to compress if you can't upload due to upload restrictions)
What is the video resolution (720p, 1080i)
You can't add .ass while re-coding doing applying other video manipulation (filters). (my opinion)
Linux mint 17.3 (ubuntu 14.04.4) is that included QT4 environment?
recommended source would be @ github https://github.com/mean00/avidemux2
regarding the errors: developer(s) will probably pick up on this.
Thank you Jan for your answer !
1) Yes, I will check everything for the temperature, I just wanted to give information just in case it was related.
2) Thank you for the information on mkvtoolnix. ;) I will read on that.
3) It seems that all .ass files pose problems for what I can see... I will make a test with a small dummy .ass file just to be sure...
4) Video resolution : 1280 X 720 as mentionned in my first post was not the answer to this question ?
5)
QuoteYou can't add .ass while re-coding doing applying other video manipulation (filters). (my opinion)
: the only thing I wanna do is embed subtitles - is there another way of doing that than choosing something else than "copy" in "video output" and use the "Subtitles" in "Filters" ?
6)
QuoteLinux mint 17.3 (ubuntu 14.04.4) is that included QT4 environment?
I downloaded and compiled myself running avidemux3_qt4. Does it answer your question ?
7) Recommended source : you don't use that when you put new version here http://avidemux.org/smif/index.php/topic,16659.0.html (http://avidemux.org/smif/index.php/topic,16659.0.html) ?
Quote from: avidemux_qc on July 12, 2016, 10:54:04 AM
>8 >8
4) Video resolution : 1280 X 720 as mentionned in my first post was not the answer to this question ?
>8 >8
Bad question from my side: the 720p is that being resized up/down wards?
Quote from: avidemux_qc on July 12, 2016, 10:54:04 AM7) Recommended source : you don't use that when you put new version here http://avidemux.org/smif/index.php/topic,16659.0.html (http://avidemux.org/smif/index.php/topic,16659.0.html) ?
changed: Yes, i'm using @ github https://github.com/mean00/avidemux2 to build
specific to ubuntu 14.04.4 LTS 64 bit x86 SMP, .... (
unity desktop) there could be (big) differences with Linux mint 17.3 (ubuntu 14.04.4) desktop wise.
If you build your self (perhaps) the current source would be better, I suppose.
Quote from: avidemux_qc on July 12, 2016, 10:54:04 AM
6) QuoteLinux mint 17.3 (ubuntu 14.04.4) is that included QT4 environment?
I downloaded and compiled myself running avidemux3_qt4. Does it answer your question ?
Maybe not, not certain: user experience not a developer myself.
dpkg -l build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libglib2.0-0-dbg libiconv-hook-dev libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrnb0-dbg libopencore-amrwb-dev libopencore-amrwb0-dbg libopenvg1-mesa libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev libva-dev libvdpau-dev libvo-aacenc-dev libvo-amrwbenc-dev libvorbis-dev libvpx-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxml2-dbg libxslt1-dbg libxv-dev libxv1-dbg libxvidcore-dev libxvmc1-dbg libzip-dev mesa-vdpau-drivers mesa-vdpau-drivers-dbg mesa-common-dev pkg-config sqlite3 vdpauinfo vainfo xsltproc yasm
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-=====================-=====================-======================================================================
ii build-essential 11.6ubuntu6 amd64 Informational list of build-essential packages
ii cmake 2.8.12.2-0ubuntu3 amd64 cross-platform, open-source make system
ii cmake-data 2.8.12.2-0ubuntu3 all CMake data files (modules, templates and documentation)
ii cmake-dbg 2.8.12.2-0ubuntu3 amd64 debugging symbols for CMake
ii fakeroot 1.20-3ubuntu2 amd64 tool for simulating superuser privileges
ii fontconfig 2.11.0-0ubuntu4.1 amd64 generic font configuration library - support binaries
ii g++ 4:4.8.2-1ubuntu6 amd64 GNU C++ compiler
ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler
ii gettext 0.18.3.1-1ubuntu3 amd64 GNU Internationalization utilities
ii git 1:1.9.1-1ubuntu0.3 amd64 fast, scalable, distributed revision control system
ii liba52-0.7.4-dev 0.7.4-17 amd64 library for decoding ATSC A/52 streams (development)
ii libaften-dev 0.0.8+git20100105-0ub amd64 audio AC3 encoder - development files
ii libasound2-dbg:amd64 1.0.27.2-3ubuntu7 amd64 debugging symbols for libasound2
ii libasound2-dev:amd64 1.0.27.2-3ubuntu7 amd64 shared library for ALSA applications -- development files
ii libass-dev:amd64 0.10.1-3ubuntu1 amd64 development files for libass
ii libdca-dev:amd64 0.0.5-6ubuntu1 amd64 decoding library for DTS Coherent Acoustics streams (development)
ii libdts-dev:amd64 0.0.5-6ubuntu1 amd64 backward compatibility place-holder for libdca
ii libfaac-dev:amd64 1.28-6 amd64 AAC audio encoder (development)
ii libfaad-dev:amd64 2.7-8 amd64 freeware Advanced Audio Decoder - development files
ii libfreetype6-dev 2.5.2-1ubuntu2.5 amd64 FreeType 2 font engine, development files
ii libfribidi-dev 0.19.6-1 amd64 Development files for FreeBidi library
ii libftgl-dev 2.1.3~rc5-4+nmu1 amd64 development files for libftgl
ii libftgl2:amd64 2.1.3~rc5-4+nmu1 amd64 library to render text in OpenGL using FreeType
ii libglib2.0-0-dbg:amd64 2.40.2-0ubuntu1 amd64 Debugging symbols for the GLib libraries
ii libglib2.0-dev 2.40.2-0ubuntu1 amd64 Development files for the GLib library
ii libiconv-hook-dev 0.0.20021209-10ubuntu amd64 header files of libiconv-hook
ii libmad0-dev 0.15.1b-8ubuntu1 amd64 MPEG audio decoder development library
ii libmp3lame-dev:amd64 3.99.5+repack1-3ubunt amd64 MP3 encoding library (development)
ii libopencore-amrnb-dev:amd64 0.1.3-2ubuntu1 amd64 Adaptive Multi Rate speech codec - development files
ii libopencore-amrnb0-dbg:amd64 0.1.3-2ubuntu1 amd64 Adaptive Multi Rate speech codec - debugging symbols
ii libopencore-amrwb-dev:amd64 0.1.3-2ubuntu1 amd64 Adaptive Multi-Rate - Wideband speech codec - development files
ii libopencore-amrwb0-dbg:amd64 0.1.3-2ubuntu1 amd64 Adaptive Multi-Rate - Wideband speech codec - debugging symbols
ii libopenvg1-mesa:amd64 10.4.0~git20141112.7a amd64 free implementation of the OpenVG API -- runtime
ii libpng12-dev 1.2.50-1ubuntu2.14.04 amd64 PNG library - development
ii libqt4-dbg:amd64 4:4.8.5+git192-g085f8 amd64 Qt 4 library debugging symbols
ii libqt4-dev 4:4.8.5+git192-g085f8 amd64 Qt 4 development files
ii libqt4-opengl-dev 4:4.8.5+git192-g085f8 amd64 Qt 4 OpenGL library development files
ii libqt4-script:amd64 4:4.8.5+git192-g085f8 amd64 Qt 4 script module
ii libqt4-script:i386 4:4.8.5+git192-g085f8 i386 Qt 4 script module
ii libqt4-script-dbg:amd64 4:4.8.5+git192-g085f8 amd64 Qt 4 script library debugging symbols
ii libsamplerate0-dev:amd64 0.1.8-7 amd64 Development files for audio sample rate conversion
ii libsdl-sound1.2-dev:amd64 1.0.3-7 amd64 Sound library for Simple DirectMedia Layer 1.2, development files
ii libsqlite3-0-dbg 3.8.2-1ubuntu2.1 amd64 SQLite 3 debugging symbols
ii libsqlite3-dev:amd64 3.8.2-1ubuntu2.1 amd64 SQLite 3 development files
ii libtwolame-dev 0.3.13-1ubuntu1 amd64 MPEG Audio Layer 2 encoder (development files)
ii libva-dev:amd64 1.5.0-1~xedgers~trust amd64 Video Acceleration (VA) API for Linux -- development files
ii libvdpau-dev:amd64 1.1-0ubuntu1~xedgers1 amd64 Video Decode and Presentation API for Unix (development files)
ii libvo-aacenc-dev:amd64 0.1.3-1 amd64 VisualOn AAC encoder library (development files)
ii libvo-amrwbenc-dev:amd64 0.1.3-1 amd64 VisualOn AMR-WB encoder library (development files)
ii libvorbis-dev:amd64 1.3.2-1.3ubuntu1 amd64 The Vorbis General Audio Compression Codec (development files)
ii libvpx-dev:amd64 1.3.0-2 amd64 VP8 video codec (development files)
ii libvpx1-dbg 1.3.0-2 amd64 VP8 video codec (debugging symbols)
ii libwxsqlite3-2.8-0:amd64 3.0.6.1~dfsg0-2 amd64 SQLite3 C++ wrapper for use in programs based on the wxWidgets
ii libx264-dev:amd64 2:0.142.2389+git956c8 amd64 development files for libx264
ii libxft-dev 2.3.1-2 amd64 FreeType-based font drawing library for X (development files)
ii libxml2-dbg:amd64 2.9.1+dfsg1-3ubuntu4. amd64 Debugging symbols for the GNOME XML library
ii libxml2-dev:amd64 2.9.1+dfsg1-3ubuntu4. amd64 Development files for the GNOME XML library
ii libxslt1-dbg:amd64 1.1.28-2build1 amd64 XSLT 1.0 processing library - debugging symbols
ii libxv-dev:amd64 2:1.0.10-1 amd64 X11 Video extension library (development headers)
ii libxv1-dbg:amd64 2:1.0.10-1 amd64 X11 Video extension library (debug package)
ii libxvidcore-dev:amd64 2:1.3.2-9ubuntu1 amd64 Open source MPEG-4 video codec (development)
ii libxvmc1-dbg 2:1.0.8-1ubuntu1 amd64 X11 Video extension library (debug package)
ii libzip-dev 0.10.1-1.2 amd64 library for reading, creating, and modifying zip archives (development
ii mesa-common-dev:amd64 11.0.4~git20151026+11 amd64 Developer documentation for Mesa
ii mesa-vdpau-drivers:amd64 11.0.4~git20151026+11 amd64 Mesa VDPAU video acceleration drivers
ii mesa-vdpau-drivers-dbg:amd64 11.0.4~git20151026+11 amd64 Debugging symbols for the Mesa VDPAU video acceleration drivers
ii pkg-config 0.26-1ubuntu4 amd64 manage compile and link flags for libraries
ii sqlite3 3.8.2-1ubuntu2.1 amd64 Command line interface for SQLite 3
ii vainfo 1.5.0-1~xedgers~trust amd64 Video Acceleration (VA) API for Linux -- info program
ii vdpauinfo 0.1-1 amd64 Video Decode and Presentation API for Unix (vdpauinfo utility)
ii xsltproc 1.1.28-2build1 amd64 XSLT 1.0 command line processor
ii yasm 1.2.0-1ubuntu1 amd64 modular assembler with multiple syntaxes support
There are differences in the versions of your packages and mine. I followed what is told here :
http://avidemux.org/admWiki/doku.php?id=build:install_2.6 (http://avidemux.org/admWiki/doku.php?id=build:install_2.6)
If this information is not right, would it be a good idea to change it to reflect what we need to install ? Or if I'm missing something ?
yes, the time to accomplish everything.
when you build avidemux 2.6 keep an eye on the terminal output from the build process.
The help Plugins info should reveal some more:
remaining plugin info
additional check output in terminal for
/usr/bin/avidemux3_qt4 --help
Quote*************************
Avidemux v2.6.12 (160712_8fbbf259084) .
*************************
http://www.avidemux.org
Code : Mean, JSC, Grant Pedersen
GFX : Nestor Di, nestordi@augcyl.org
Design : Jakub Misak
FreeBSD : Anish Mistry, amistry@am-productions.biz
Audio : Mihail Zenkov
Mac OS X : Kuisathaverat, Harry van der Wolf
Win32 : Grant Pedersen
Compiler: GCC 4.8.4
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
Large file available: 1 offset
Time: Tue Jul 12 14:24:04 2016
0: /usr/bin/avidemux3_qt4
1: --help
Initialising prefs
[load] Loading prefs from /home/jan/.avidemux6/config2
[load] Preferences found and loaded
[cpuCaps]Checking CPU capabilities
MMX detected
MMXEXT detected
SSE detected
SSE2 detected
SSE3 detected
SSSE3 detected
[cpuCaps]End of CPU capabilities check (cpuMask :ffffffff, cpuCaps :1e6)
[setMask] [CpuCaps] Setting mask to 0xfffffff
[UI_Init] Starting QT4 GUI...
....
Update: download the attachement, has the complete textual output, you could compare against this.
Quoteyes, the time to accomplish everything.
yes, I understand, a lot of work for you guys and we DO appreciate a lot !
But I was wondering if there were not a lot of questions in the forum coming from the simple fact that we don't have the right packages and sources to begin with... waste of time on your side to answer questions that, maybe, wouldn't be asked in the first place...
On our side, it's a little bit confusing with the information from avidemux.org, the one you gave me before, the nightly... running a complete test for me for a 27 min. video (including compiling) is about 5 hours... if we had the right infos, maybe we wouldn't have those problems neither...
I don't know, a sticky post telling us what you guys are using, question to talk the same language... just an idea by the way... ;-)
For the help plugin, I don't understand : how do I get this information ? Is it in the help menu of the gui ?
Sorry, I'm running a test, I cannot answer your other questions... Thanks a lot Jan !
You started asking 7 questions ;) And additional follow up questions.
Some of the info is found in the forums. I try to help where I can.
Avidemux wiki is currently rebuild bit by bit. And a lot of development happened these last months.
Test with one minute videos, if you can. What you're testing is already beyond basic avidemux usage.
If you upload the ass file I could do some testing for you and see if I can find an explanation for it. Or developer(s) could tell you why.
The screen shots are GUI. Avidemux Menu: Help: Plugins: 'Plugins Info' pop up window with 7 tabs:
[Audio] [Video encoder] ....
My additional questions was to see if we're on the same reference base or as close as.
When you start avidemux do it from a terminal box and keep this open.
Edit the terminal properties: Menu: Edit: Profile Preferences:
[title and command]
When command exits: [Hold the terminal open]
Tab [Scrolling]
Helps when you need to look back on what happened (building or running avidemux)
Scrollback: 512 -+ lines
[v] Unlimited
QuoteI try to help where I can.
Yes, really appreciate. I'm sorry if it sounds like I didn't realized - it's always the problem with written comments, we don't know how to express the feelings that come with the comments... I was just giving an idea on a way to, maybe, avoid time wasting on your side... but I perfectly understand all the time involved and the good work... :)
I will continue my tests to try to put the finger on the exact problem and keep you informed.
And I really appreciate all the hints you're giving me !
Thanks again for your time Jan, you're AMAZING ! ;)
Some partial info regarding Libraries Info (http://avidemux.org/smif/index.php/topic,16750.msg74639.html#msg74639). Take into account this is for 16.04 LTS.
Currently on halt and picking up soon again: avidemux Cli/Qt 2.6.12 64-bit deb download ubuntu 16.04 LTS (http://avidemux.org/smif/index.php/topic,16749.msg75610.html#msg75610)
Great ! I didn't read it since it was 16.04... Thanks !
check screen output for in open terminal after building:
-- Checking for
and for and what follows after this:
*** Summary
like
*** Miscellaneous ***
FreeType2 Yes
FontConfig Yes
FRIBIDI Yes
FontConfig Yes
*** Video Encoder ***
x264 Yes
x265 Yes
Hi Jan,
I've made tests to try to isolate the problem...
With the attached file, avidemux crashes 95% of the time with the "QPixmap" error mentioned in my 1st post.
If you wanna verify if you also have the problem, here is what to do with the test video available here : http://w7-solutions.ca/avidemux/ (http://w7-solutions.ca/avidemux/)
- Video Output : Mpeg4 AVC (x264)
- Filters : Subtitles with the test-avidemux11.ass file
- Audio Output : Copy
- Output Format : MP4 Muxer (or v2)
You can save the file or play the video with the "Play filtered" checked (Right side, under the B:) - it crashes most of the time.
If you remove 1 character from the line "Here's a test..." from the .ass file, the problem disappears...
On my side, I can do a quick fix just by removing a word from my too long lines... but I will recompile with the last version anyway...
I would be interested to know if the problem is there in the last version. So if you do the test, I would appreciate if you let me know...
Thanks again for your help, really appreciated all your hints ! ;)
Thanks, with the samples i see something is maybe wrong
It seems the problem is your subtitle image is going outside the video
The bug is that it is not clipped properly
It should be easy to fix
confirmed, see that mean already found the issue.
Quote from: mean on July 13, 2016, 02:41:32 PM
It should be easy to fix
1st this happens
Calling VDPAU decoder , target surface=12
[ass] fontconfig: cannot find font 'Comic Neue', falling back to 'DejaVu Sans Bold'
Calling VDPAU decoder , target surface=13
then
Scripting video streams
Scripting segments
Scripting markers
Scripting post-processing
Scripting video encoder
Scripting video filters
Scripting audio tracks
Scripting muxer
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f424295bf20]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f423e244cb0]:1:<>:-2
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ssa.so(_ZN6subAss12getNextFrameEPjP8ADMImage+0x302) [0x7f4211771e52]:2:<subAss::getNextFrame(unsigned int*, ADMImage*)>:0
/usr/bin/avidemux3_qt4(_ZN20ADM_videoFilterQueue9runActionEv+0x9f) [0x475cef]:3:<ADM_videoFilterQueue::runAction()>:0
/usr/lib/libADM_coreUtils6.so(_ZN15ADM_threadQueue3runEv+0x11) [0x7f424164f861]:4:<ADM_threadQueue::run()>:0
/usr/lib/libADM_coreUtils6.so(+0x1c879) [0x7f424164f879]:5:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184) [0x7f423fa42184]:6:<>:-2
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f423e30837d]:7:<clone>:-2
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack
subAss::getNextFrame(unsigned int*, ADMImage*)
ADM_videoFilterQueue::runAction()
ADM_threadQueue::run()
clone
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
Thanks for your answers !
So, because of the font replacement, the line is too long for the width of the video ?
It's not because you don't have the font installed ?
Because, I don't have this error and the line, both in aegisub and vlc is well inside the video (even if vlc doesn't move it, it's there with spaces on each side).
I added the font here http://w7-solutions.ca/avidemux/ (http://w7-solutions.ca/avidemux/) if you wanna try... (just need to install the bold I think)
I'll fix the real problem
Should take a couple of days
Good idea since it makes it crash...
By the way, thanks for the great tool Mean (and all the developpers who work with you) !
Is already fixed: 64b3711 [Ass] Fix clipping of out of bound bitmap (http://avidemux.org/smif/index.php/topic,16659.msg75700.html#msg75700)
Text is moving nicely from bottom to top. Job well done mean. Rather very fast days ;)
Win32/64 binaries are ready
sample video with current submit: Subtitle ASS long line moving text test video deleted.
Hi Jan and Mean,
Sorry for the time it took me to verify my packages, re-compile and make a couple of tests.
Thanks for the fast fix, very impressed ! And the text is moving quite nicely !
The only comment I have is this one : normally, with the move example I gave you, the line should appear in one shot and not progressively like it does now. You did an effect that is possible to achieve with an .ass file but it's not supposed to do that with only a "move". I'm happy with the way you did it, it adds a nice "twist" to it ! But I was just wondering if it will behave correctly when other effects will be used on top of the move... just wanted to let you know...
And unfortunately, there are one thing I saw that doesn't work anymore... :( Normal lines are often cut (just partially visible). I attach an example file if you wanna test...
Thank you for the good and efficient work !
My clipping seems over enthousiastic, let me check
stupid typo, fixed
Hi mean,
I did a complete test with my 27 minutes video, another one with a smaller video... and you know what ? SPOT ON !
Thanks mean, you're the best !!! 8)
New demo video: Subtitle ASS long lines and moving text test (https://www.youtube.com/watch?v=l7UwG06UVus) on our YouTube Avidemux Demo (https://www.youtube.com/channel/UC7ycUgCIuOlChtpiTFfLTmw) channel.
Check playlists to:
- Developers Corner
- Avidemux How To
Since I tried to embed an .ssa file in my video (mp4) and Avidemux 2.6.19 is crashing every time when I open the nested dialog where you chose the location of the .ssa file and I could reproduce the crash with your test files, I guess the new version has a bug? Worked with a prev. Version without any problems :(
Any hint would be welcome.