Marc Espie wrote: > On Mon, Jun 01, 2020 at 03:20:34PM +0200, prx wrote: > > Hi, > > after trying the new shotcut port, I wonder if there is any tip to read > > video files with it. Do you convert to any format befort importing into > > shotcut? > > > > Find attached messages printed by shotcut recorded with script(1). > > eval `dbus-launch --sh-syntax --exit-with-session` > > in my .xsession for ages, so I haven't even noticed. > > This might help, and there will be further fixes.
Hmm, i have the same behavior and dbus was already running. I didn't have the --sh-syntyx toggle. But adding it made no difference. Stacktrace with debug-shortcut and debug-mlt below. puffy ~> tail -1 .xsession /usr/local/bin/dbus-launch --sh-syntax --exit-with-session /usr/local/bin/spectrwm puffy ~/work> shotcut test.mp4 [...] [Debug ] <MainWindow::open> "test.mp4" [Debug ] <MltXmlChecker::check> begin [Debug ] <MltXmlChecker::check> end [h264 @ 0x9b97b5e0000] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 0x9b96bb97800] Reinit context to 1920x1088, pix_fmt: yuv420p [mov,mp4,m4a,3gp,3g2,mj2 @ 0x9b96bba3000] Value 1.000000 for parameter 'seekable' out of range [-1 - 0] [h264 @ 0x9b981c35000] Reinit context to 1920x1088, pix_fmt: yuv420p [Debug ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2 [AVIOContext @ 0x9b9908bca00] Statistics: 599671 bytes read, 2 seeks [AVIOContext @ 0x9ba20e41000] Statistics: 599671 bytes read, 2 seeks [AVIOContext @ 0x9b9fa0a1600] Statistics: 599671 bytes read, 2 seeks [mov,mp4,m4a,3gp,3g2,mj2 @ 0x9b9fa33a000] Value 1.000000 for parameter 'seekable' out of range [-1 - 0] [h264 @ 0x9b9835c2000] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 0x9b9b6a25800] Reinit context to 1920x1088, pix_fmt: yuv420p [mov,mp4,m4a,3gp,3g2,mj2 @ 0x9b9835c2800] Value 1.000000 for parameter 'seekable' out of range [-1 - 0] [h264 @ 0x9b9fa33a800] Reinit context to 1920x1088, pix_fmt: yuv420p [AVIOContext @ 0x9b9fa336a00] Statistics: 599671 bytes read, 2 seeks [Debug ] <MLT> [producer avformat] "/home/sdk/work/test.mp4" checking VFR: pkt.duration 3600 [h264 @ 0x9b9835c8000] Reinit context to 1920x1088, pix_fmt: yuv420p [Debug ] <Mlt::Controller::setPreviewScale> 1920 x 1080 [Debug ] <MainWindow::setAudioChannels> 2 [Debug ] <Mlt::Controller::setAudioChannels> 2 Segmentation fault (core dumped) puffy ~/work> egdb /usr/local/bin/shotcut shotcut.core [...] (gdb) bt full #0 mlt_consumer_stop (self=0x0) at mlt_consumer.c:1644 properties = 0x0 priv = <optimized out> #1 0x000001f6aca620a4 in Mlt::Controller::closeConsumer (this=0x1f8f4f1c030) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/mltcontroller.cpp:205 No locals. #2 0x000001f6acaa0160 in Mlt::GLWidget::reconfigure (this=<optimized out>, isMulti=<optimized out>) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/glwidget.cpp:707 error = <error reading variable error (Cannot access memory at address 0x2)> #3 0x000001f6aca9f9d6 in Mlt::GLWidget::setProducer (this=0x1f8f4f1c000, producer=<optimized out>, isMulti=<optimized out>) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/glwidget.cpp:620 error = <optimized out> #4 0x000001f6aca38d10 in MainWindow::open (this=0x1f9383efe00, producer=0x1f8f0cabc00) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/mainwindow.cpp:926 ok = <optimized out> screen = <optimized out> #5 0x000001f6aca3c747 in MainWindow::open (this=0x1f9383efe00, url=..., properties=0x0) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/mainwindow.cpp:1321 props = <optimized out> modified = <error reading variable modified (Cannot access memory at address 0x0)> checker = <optimized out> info = <optimized out> #6 0x000001f6aca3d204 in MainWindow::openMultiple (this=0x1f9383efe00, paths=...) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/mainwindow.cpp:1347 No locals. #7 0x000001f6aca266f4 in main (argc=2, argv=<optimized out>) at /usr/obj/ports/shotcut-20.04.12/shotcut-20.04.12/src/main.cpp:347 a = {<QApplication> = {<No data fields>}, mainWindow = 0x1f9383efe00, qtTranslator = <incomplete type>, qtBaseTranslator = <incomplete type>, shotcutTranslator = <incomplete type>, resourceArg = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, { p = {static shared_null = {ref = {atomic = { _q_value = {<std::__1::__atomic_base<int, true>> = {<std::__1::__atomic_base<int, false>> = {__a_ = -1}, <No data fields>}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1f93ac03220}, d = 0x1f93ac03220}}, <No data fields>}, isFullScreen = false, appDirArg = {static null = {<No data fields>}, d = 0x1f98586f540 <QArrayData::shared_null>}} result = <optimized out> splash = <optimized out> HTH, Stefan