Comments (5)
-enc aom
AOM is default encoder, no need to set this explicitly
-log test.log
.log always added to the end of the file, so with the current setting, it would look like test.log.log.
Proper: -log test
-v " --cq-level=35 "
Default encoding mode is target bitrate, and Q mode needs to be set explicitly using --end-usage=q
. Also --cpu-used=N
needs to be specified. So proper parameter would look something like (added threads for better multithreading):
-v " --end-usage=q --cq-level=35 --cpu-used=4 --threads=4 "
-ff " -map 0:0 -map 0:1 -map 0:2 "
FF settings are passed to the encoder directly, after splitting is done. So this command is wrong as splits only carry video stream and audio processed separately. This line is breaking encode, for sure.
-a " -c:a copy "
Audio is copied by default, if audio is don't need to be changed - no parameters for audio encoding should be passed
-o test2.mkv
.mkv is always added to the output file because it is consistent at muxing. so with this params, it would be test2.mkv.mkv
So final proper command would look like
av1an -i '.\test.mkv' -v " --end-usage=q --cq-level=35 --cpu-used=4 --threads=4 " -log test -o test2
Also would be nice to not copy paste 700 line log into issue page. Files can be attached to the comment 👇
file.txt
If your issue is solved, close it
from av1an.
@master-of-zen
Nice thanks for the fast answer!
Seems to work now :)
from av1an.
from av1an.
Sorry for the resurrection of this issue, but I'm having the same problem and i'm at the end of my wits here. I'm on arch linux running av1an-git, aom-git and ffmpeg-git.
av1an --resume -i MuzHK.mkv -v " --end-usage=q --cq-level=24 --cpu-used=4 " -log out -o MuzHKAV1
Queue: 187 Workers: 4 Passes: 2
Params: --end-usage=q --cq-level=24 --cpu-used=4
0%| | 0/139284 [00:00<?, ?fr/s]Encoding failed, check validity of your encoding settings/commands and start again
Even with default parameters it fails
av1an --resume -i MuzHK.mkv -log out -o MuzHKAV1
Queue: 187 Workers: 4 Passes: 2
Params: --threads=4 --cpu-used=6 --end-usage=q --cq-level=40
0%| | 0/139284 [00:00<?, ?fr/s]Encoding failed, check validity of your encoding settings/commands and start again
Killed
log
08:42:57 Encoding Queue Composed
Encoder: AOM Queue Size: 187 Passes: 2
Params: --threads=4 --cpu-used=6 --end-usage=q --cq-level=40
08:42:57 Resuming...
08:42:57 Resumed with 0 encoded clips done
08:43:01 Enc: 00053.mkv, 4585 fr
08:43:02 Enc: 00098.mkv, 5309 fr
08:43:03 Enc: 00060.mkv, 6336 fr
ffmpeg
ffmpeg version N-98064-gd09c35677d Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
from av1an.
worked it out. video was interlaced and had to pass -vf yadif to ffmpeg. it would be helpful if these errors get passed to client.
from av1an.
Related Issues (20)
- core dumped error HOT 1
- Dockerhub's "latest" tag point to a 2y old image, despite new images available HOT 3
- Error: vpx does not support YUVJ444P HOT 4
- Ignore - Delete Please
- Burning subtitles? HOT 6
- The program closes immediately after launch HOT 4
- avif encoding support is not perfect HOT 1
- Concatenation using mkvmerge fails HOT 1
- Suggestion: Improve handling of failed VMAF probes
- encoder crashed: signal: 6 (SIGABRT) (core dumped)
- Filename with single quote fail target quality with temp set to name with quote HOT 1
- Using --target-quality forces --vmaf HOT 2
- Return code is always non-0 for windows HOT 1
- DGDecNV support HOT 4
- DGDecNV Support 2 HOT 1
- Kind attention, any help
- Av1an does not keep source colorspace, primaries, or pix_fmt HOT 6
- [Feature] Pass extra VMAF args (like n_subsample, pool) HOT 1
- Add Hardware Encoder Support HOT 6
- Video quality suffers when input is a Vapoursynth script and not mkv file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from av1an.