Cannot export video

I’m not sure when/why this started happening, but it used to work fine…

however now whenever i export I get opengl errors and a failure. I have run an opengl test program and it works fine including v4+

I have the latest gpu drivers and latest release version of shotcut (17.09.04) windows 64bit.

help appreciated.

see log attached:

[h264 @ 0000000005a3cf20] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000000000a26ad20] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000000000a3fcbc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 0000000004ba1900] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba22a0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000000000a4ba5a0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 0000000004ba3aa0] A non-intra slice in an IDR NAL unit.
[h264 @ 0000000004ba3aa0] decode_slice_header error
[h264 @ 0000000004ba3aa0] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0000000004ba1420] A non-intra slice in an IDR NAL unit.
[h264 @ 0000000004ba1420] decode_slice_header error
[h264 @ 0000000004ba1420] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0000000004ba2760] A non-intra slice in an IDR NAL unit.
[h264 @ 0000000004ba2760] decode_slice_header error
[h264 @ 0000000004ba2760] Reinit context to 1280x720, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[h264 @ 0000000004ba0f60] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba1420] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba1dc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 0000000004ba1900] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba22a0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba0a80] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 0000000004ba1900] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba00e0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba1dc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 0000000004ba3aa0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba05c0] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000004ba35e0] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
Movit system requirements: Needs extension ‘GL_ARB_framebuffer_object’ or at least OpenGL version 1.5 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_float’ or at least OpenGL version 3.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_non_power_of_two’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_fragment_shader’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_shading_language_100’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_pixel_buffer_object’ or at least OpenGL version 2.1 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_rg’ or at least OpenGL version 3.0 (has version 0.0)
Movit initialization failed.
[consumer qglsl] OpenGL Shading Language rendering is not supported on this machine.
[h264 @ 0000000004ba1420] Reinit context to 1920x1088, pix_fmt: yuv420p
[libx264 @ 0000000004ba3aa0] using SAR=1/1
[libx264 @ 0000000004ba3aa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000000004ba3aa0] profile High, level 4.0
[libx264 @ 0000000004ba3aa0] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=2 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=13 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=13 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[h264 @ 0000000004ba0a80] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000000000b64db80] Reinit context to 1920x1088, pix_fmt: yuv420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TRCK, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TENC, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TCOP, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TOPE, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TCOM, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TCON, skipped
[mp3 @ 000000000a28b480] Cannot read BOM value, input too short
[mp3 @ 000000000a28b480] Error reading frame TYER, skipped
[mp3 @ 000000000a28b480] Skipping 0 bytes of junk at 1170.
[mp3 @ 000000000a28b480] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TRCK, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TENC, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TCOP, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TOPE, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TCOM, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TCON, skipped
[mp3 @ 000000000b4a57c0] Cannot read BOM value, input too short
[mp3 @ 000000000b4a57c0] Error reading frame TYER, skipped
[mp3 @ 000000000b4a57c0] Skipping 0 bytes of junk at 1170.
[mp3 @ 000000000b4a57c0] Estimating duration from bitrate, this may be inaccurate
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[h264 @ 0000000004ba05c0] Reinit context to 1920x1088, pix_fmt: yuv420p
Current Frame: 1, percentage: 0

downgrading to 17.05.03 did not resolve the issue.

from what I can tell in the logs “Movit” is not configured correctly and does not find openGL. I have no idea how to fix this.

is there somewhere i can find help? is there an issue tracker or something?

Did you tried to launch the program as admin? Just export one clip in a lossless format? …

Thanks for the advice Keno,

Just tried that and the same OpenGL errors appear in the log:

Movit system requirements: Needs extension ‘GL_ARB_framebuffer_object’ or at least OpenGL version 1.5 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_float’ or at least OpenGL version 3.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_non_power_of_two’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_fragment_shader’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_shading_language_100’ or at least OpenGL version 2.0 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_pixel_buffer_object’ or at least OpenGL version 2.1 (has version 0.0)
Movit system requirements: Needs extension ‘GL_ARB_texture_rg’ or at least OpenGL version 3.0 (has version 0.0)
Movit initialization failed.
[consumer qglsl] OpenGL Shading Language rendering is not supported on this machine.
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[h264 @ 000000000a44f7e0] Increasing reorder buffer to 1
Current Frame: 1, percentage: 0

So ,first you should try to update your graphic card driver.
What is the model?

From FAQ :slight_smile:
Why does it frequently crash on Windows?
While some systems have a video adapter driver with at least version 2.1 OpenGL, there may be some incompatibility between the OpenGL code in Shotcut or Qt and the driver that causes a crash. You can try to upgrade to the latest driver for your hardware. Versions 15.09 and higher can also use DirectX when GPU processing is not enabled, and that should improve compatibility. Try the different options under Settings > Display Method: OpenGL or DirectX.

If you are using the 32-bit version of Shotcut on 64-bit Windows (it may appear in “Program Files (x86)”), try using the 64-bit version of Shotcut instead. You may be experiencing issues with drivers or running into memory limitations.

Of course, there can still be other reasons we have not yet discovered. If you believe none of the reasons above applies to you, then you can locate your shotcut-log.txt file in AppData (see other question below for more information) and paste it into a bug report.

i have upgraded my drivers previously (before posting this topic) … and run opengl tests successfully.

ok, so direct X is an option - exporting a simple file doesn’t fail! thank you!

but if i open my existing project (lots of hard work!) shotcut tells me to ‘enable gpu processing and restart’ - so i have to start from scratch.

or is there a way to convert…

Not as far as I know…

The best option would be to recreate a project. Made a copy of the original.
Open the mtl file with a text editor and do some copy // paste…