Hi all,
How do I convert Avconv configs to megui or other software that works on windows?
Whats codec used for lossless record?
I need to configure using the configs below:
Ps: yuv444p is very necessary for me.Code:This is the core of encoding mp4 at native resolution: avconv -y -i concat:filename.intro.avi\|filename.gameplay.avi -c:v libx264 -preset veryslow -q 1 -global_quality 1 -pix_fmt yuv444p -strict experimental ${VF} -c:a aac -b:a 192k ${AF} ${ASPECT_RATIO} -r 29.97 -metadata title="${META_TITLE}" -metadata artist="${META_ARTIST}" -metadata genre="${META_GENRE}" -metadata comment="${META_COMMENT}" "${PROJECT_ROOT}/output/${NAME_OUTPUT}.mp4" Where: - ASPECT_RATIO is like "-af 21:9" or "-af 244:366" - META_* are metadata textual informations (see descriptions of my videos on Youtube). They are packed by my website because bash is not the best option to manage strings - PROJECT_ROOT is the main folder of the project - NAME_OUTPUT is the romset name plus other information (i.e. "mslug.shortplay.2015-05-23") - AF is the audio filters option, because some gameplay is muted (errors on emulation) or with a low volume. For example:: "volume=volume=0.4" or "volume=volume=0" - VF is the video filters option, with crop, resize, pad, interlace, rotate and other transformation. For example: "crop=320:240:0:0", "scale=256:288", "pad=512:384:1:0", "yadif=0:0" or combine multiple values "transpose=1,pad=104:160:1:0". "crop" cut a portion of the frame, "scale" resize the frame, "pad" add extra px, "yadif" is for interlaced videos, "transpose" rotate the frame. The color format is yuv444p and it's not compatibile with all players (i.e. Hyperspin front-end) but is necessary for maximum quality for colors. AAC audio is 192k that for arcade games is a big value, but in my tests this is a good choice. 128k is also good enough. Preset veryslow and global_quality 1 is for lossless compression for video part. If you need to select only a portion of a video, use -ss and -t parameters. If you need to add fade-in or fade-out effects (i.e. gameplay and intro are cross-faded), use the video filter "fade" option: -vf fade=in:${START_FRAME}:30,fade=out:${STOP_FRAME}:20
Claudio
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by Cauptain; 31st May 2017 at 02:21.
-
I don't use it regularly myself, but I imagine your command line would be much the same for ffmpeg, or even exactly the same.
-crf 0 and -qp 0 are both lossless for h264. The rest of the x264 settings would only effect speed and compression.
https://trac.ffmpeg.org/wiki/Encode/H.264
Similar Threads
-
avconv
By anon_private in forum Newbie / General discussionsReplies: 3Last Post: 2nd May 2017, 09:26 -
avconv/ffmpeg temp files?
By mahjohn in forum Video ConversionReplies: 10Last Post: 14th Feb 2016, 20:56 -
Avconv.exe - trouble with downloadhelper
By WazaKrash in forum Video ConversionReplies: 8Last Post: 18th Oct 2015, 10:18 -
subtitle forced flag lost with avconv
By bruchmann in forum Video ConversionReplies: 0Last Post: 13th Feb 2014, 07:18 -
Avconv Can not resample 6 channels
By Beckend in forum Video ConversionReplies: 4Last Post: 20th May 2013, 20:34