Error/crash stereo float

I received this when editing on a different machine… tried to edit on original machine and receive the same error. This is a project that worked fine days ago.

[Info ] [filter swresample] 2(stereo) float 1323000Hz -> 2(stereo) float 48000Hz
[Error ] [filter swresample] swr_convert() failed
Segmentation fault

Linux 4.15.0-0.bpo.2-amd64 #1 SMP Debian 4.15.11-1~bpo9+1 (2018-04-07) x86_64 GNU/Linux

Edit: Also this for export log:

[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[libx264 @ 0x7f97d4183340] using SAR=1/1
[libx264 @ 0x7f97d4183340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f97d4183340] profile High, level 4.0
[libx264 @ 0x7f97d4183340] 264 - core 152 r2854 e9a5903 - 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=12 lookahead_threads=2 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=15 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=15 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[mp4 @ 0x7f97d41825a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0x7f97d41825a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Current Frame: 1924, percentage: 21
Current Frame: 1925, percentage: 21
Current Frame: 1926, percentage: 21
Current Frame: 1929, percentage: 21
Current Frame: 1930, percentage: 21
Failed with exit code 11

then tried webm

[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[filter swresample] 2(stereo) float 44100Hz -> 2(stereo) float 48000Hz
libpng warning: iCCP: known incorrect sRGB profile
[producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[filter swresample] 2(stereo) float 1323000Hz -> 2(stereo) float 48000Hz
[filter swresample] swr_convert() failed
Failed with exit code 11

TOTAL FAIL

For some reason your audio has a bizarre sampling frequency. Any idea why? Are you changing the speed of the clip?

At what moment does the crash happen?

For me, in 18.05.03, Shotcut crashes if a video file is dragged into the source monitor.

The workaround for me has been to first drag in an image file (jpg), drag it to the timeline and then continue with importing video files.

@brian yes, i changed the speed of the clip to 30x and it worked just fine and i exported the file, but wanted to do a re-edit, this time it fails at the 30x clip. if i change the file properties now, it will screw up my whole time-line.

I tried to reproduce your problem by opening a clip and setting the speed to 30x. But that doesn’t make it crash for me. So there may be something else causing the problem. Do you have other filters or transitions at play?

One thing you could do to help me reproduce the problem would be to start a new project and systematically try to recreate scenarios in your trouble file. For example, create a new project and drop in the clip that you are speeding up 30x and see if that crashes all by itself. If not, try adding other features from your trouble file until you get a crash. Then we can try to deduce that feature (or combination of features) is making it crash for you.

@brian Firstly, thank you tremendously!
I have an audio track with clip properties: speed 30x. it has one filter “Limiter” set as follows: gain -14.0, limit -5.0, release 0.5. i dont necessarily need these exact values, i just need to take out the pops and such from a poor/sensitive audio recording.

I also have a video track muted. it has multiple clipart .PNG files in succession, but each of them are dissolved into the next.

@brian i took the limiter out, and no crash. i think i can work with that because at that speed pops don’t matter. Your posts led me to get past the errors, thank you!

Thanks for the extra information. Unfortunately, I’m still not able to reproduce the failure. I’m glad you were able to find a work-around.

Would you be willing to send me your .mlt file that causes the failure. Maybe I can get some additional clues from it.

1 Like

@brain, absolutely anything to help the you and the shotcut dev team, i’m in. It is the easiest straight most forward video editor i ever used. (albeit with a few crashes if i try to resize or drag, but still worth it)

https://pastebin.com/8HAw54jT crashes at 04:36:20 ~ish but unsure if you will need sources to confirm.

Linux 4.15.0-0.bpo.2-amd64 #1 SMP Debian 4.15.11-1~bpo9+1 (2018-04-07) x86_64 GNU/Linux
Shotcut version 18.05.03

There is a new version 18.05.08 you can try.

1 Like

new version didnt help but i dont care, i got my final export finished by removing “Limiter”.
THANK Y’ALL