ffmpegwasm / ffmpegwasm/ffmpeg.wasm

ffmpeg crash when using -v:q with jpg

Đang mở
#292 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**
Steps to reproduce the behavior:
If you use -q:v ffmpeg crashes.

**To Reproduce**
-i TFP_6600.JPG -q:v 1 -vf scale=iw*1.33:ih output.jpg

**Expected behavior**
Quality of the exportet JPG should be loosles

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: Win10
- Browser Edge
-
**Additional context**
JQMIGRATE: Migrate is installed, version 3.3.2
bootstrap:2 [info] use ffmpeg.wasm v0.10.1
bootstrap:2 [info] load ffmpeg-core
bootstrap:2 [info] loading ffmpeg-core

bootstrap:2 [info] ffmpeg-core.js script loaded
bootstrap:2 [info] ffmpeg-core loaded
bootstrap:2 [info] run FS.writeFile TFP_6600.JPG <1469867 bytes binary file>
bootstrap:2 [info] run ffmpeg command: -i TFP_6600.JPG -q:v 1 -vf scale=iw*1.33:ih output.jpg
bootstrap:2 [fferr] ffmpeg version v0.9.0-2-gb11e5c1495 Copyright (c) 2000-2020 the FFmpeg developers
bootstrap:2 [fferr] built with emcc (Emscripten gcc/clang-like replacement) 2.0.8 (d059fd603d0b45b584f634dc2365bc9e9a6ec1dd)
bootstrap:2 [fferr] configuration: --target-os=none --arch=x86_32 --enable-cross-compile --disable-x86asm --disable-inline-asm --disable-stripping --disable-programs --disable-doc --disable-debug --disable-runtime-cpudetect --disable-autodetect --extra-cflags='-s USE_PTHREADS=1 -I/src/build/include -O3 --closure 1' --extra-cxxflags='-s USE_PTHREADS=1 -I/src/build/include -O3 --closure 1' --extra-ldflags='-s USE_PTHREADS=1 -I/src/build/include -O3 --closure 1 -L/src/build/lib' --pkg-config-flags=--static --nm=llvm-nm --ar=emar --ranlib=emranlib --cc=emcc --cxx=em++ --objcc=emcc --dep-cc=emcc --enable-gpl --enable-nonfree --enable-zlib --enable-libx264 --enable-libx265 --enable-libvpx --enable-libwavpack --enable-libmp3lame --enable-libfdk-aac --enable-libtheora --enable-libvorbis --enable-libfreetype --enable-libopus --enable-libwebp --enable-libass --enable-libfribidi
bootstrap:2 [fferr] libavutil 56. 51.100 / 56. 51.100
bootstrap:2 [fferr] libavcodec 58. 91.100 / 58. 91.100
bootstrap:2 [fferr] libavformat 58. 45.100 / 58. 45.100
bootstrap:2 [fferr] libavdevice 58. 10.100 / 58. 10.100
bootstrap:2 [fferr] libavfilter 7. 85.100 / 7. 85.100
bootstrap:2 [fferr] libswscale 5. 7.100 / 5. 7.100
bootstrap:2 [fferr] libswresample 3. 7.100 / 3. 7.100
bootstrap:2 [fferr] libpostproc 55. 7.100 / 55. 7.100
bootstrap:2 [fferr] Input #0, image2, from 'TFP_6600.JPG':
bootstrap:2 [fferr] Duration: 00:00:00.04, start: 0.000000, bitrate: 293973 kb/s
bootstrap:2 [fferr] Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 6048x4024, 25 tbr, 25 tbn, 25 tbc
bootstrap:2 [fferr] Stream mapping:
bootstrap:2 [fferr] Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
bootstrap:2 [fferr] [swscaler @ 0x1d65ec0] deprecated pixel format used, make sure you did set range correctly
83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25

Pthread aborting at Error
at n (blob:https://timofischerprojects.com/83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25:81)
at ra (blob:https://timofischerprojects.com/83e7f5c8-54f6-4006-b37a-5846d3e10e9a:199:201)
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[1996]:0x13dc78
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[341]:0x16b64
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[6232]:0x53788b
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[1047]:0x7a505
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[303]:0x12d36
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[13084]:0xada9c1
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[3230]:0x27f565
at blob:https://timofischerprojects.com/535e186d-5e13-4c12-a6ba-721ab8204f01:wasm-function[1177]:0x9534c
n @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25
ra @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:199
$func1996 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x13dc78
$Vd @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x16b64
$func6232 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x53788b
$func1047 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x7a505
$func303 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x12d36
$func13084 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xada9c1
$func3230 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27f565
$func1177 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x9534c
$func12335 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xa1d399
$func1177 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x94bb6
$func3215 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27be74
$func3214 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27a593
$func13041 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xad68fe
$ae @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xad7ba3
f._main @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:217
K @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:171
$func12911 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xacb7da
f.dynCall @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:28
onmessage @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25

OOM
n @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25
ra @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:199
$func1996 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x13dc78
$Vd @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x16b64
$func6232 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x53788b
$func1047 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x7a505
$func303 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x12d36
$func13084 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xada9c1
$func3230 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27f565
$func1177 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x9534c
$func12335 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xa1d399
$func1177 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x94bb6
$func3215 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27be74
$func3214 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27a593
$func13041 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xad68fe
$ae @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xad7ba3
f._main @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:217
K @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:171
$func12911 @ 535e186d-5e13-4c12-a6ba-721ab8204f01:0xacb7da
f.dynCall @ 83e7f5c8-54f6-4006-b37a-5846d3e10e9a:28
onmessage @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
8295c1a4-bd44-485f-b3a6-f55841c6459e:1

worker.js onmessage() captured an uncaught exception: RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
threadPrintErr @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
onmessage @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
8295c1a4-bd44-485f-b3a6-f55841c6459e:1

RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
at n (83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25)
at ra (83e7f5c8-54f6-4006-b37a-5846d3e10e9a:199)
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x13dc78
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x16b64
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x53788b
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x7a505
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x12d36
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0xada9c1
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27f565
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x9534c
threadPrintErr @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
onmessage @ 8295c1a4-bd44-485f-b3a6-f55841c6459e:1
bootstrap:2 [fferr] pthread sent an error! blob:https://timofischerprojects.com/8295c1a4-bd44-485f-b3a6-f55841c6459e:1: Uncaught RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
8295c1a4-bd44-485f-b3a6-f55841c6459e:1

Uncaught RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
at n (83e7f5c8-54f6-4006-b37a-5846d3e10e9a:25)
at ra (83e7f5c8-54f6-4006-b37a-5846d3e10e9a:199)
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x13dc78
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x16b64
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x53788b
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x7a505
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x12d36
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0xada9c1
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x27f565
at 535e186d-5e13-4c12-a6ba-721ab8204f01:0x9534c

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.