Some parameters in custom profile not taken into consideration

Mar 3, 2013 at 5:42 PM
Edited Mar 3, 2013 at 5:46 PM
Hello Rboy,
I've just downloaded newest beta (from 2nd of March) and when encoding, -qscale parameter is overwritten.

Please see the log excerpt :
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up General conversion parameters : -threads 0 -async 1
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up input file name parameters
__INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up video conversion parameters : -ss 3 -vf yadif=1:-1:0 -r 50 -vcodec libx264 -qscale 0 -f mp4 -y__
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up crop parameters
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> FFMpeg Skipping video cropping
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Checking if video resizing required
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up video resize parameters
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up aspect ratio if required
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up bitrate and quality parameters
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up audio conversion parameters : -acodec copy
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Skipping over Audio Track selection, no language request or only one Audio Track found
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up Audio channels
WARNING> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Skipping over requested to set audio channel information either due to COPY codec or audio parameters already contains channel directive
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Setting up Output filename
INFORMATION> 2013-03-03T17:53:53 MCEBuddy.Transcode.ConvertWithFfmpeg --> Converting the video - Main conversion
2013-03-03T17:53:53 MCEBuddy.AppWrapper.FFmpeg --> Launching process C:\Program Files\MCEBuddy2x\ffmpeg\ffmpeg.exe
__2013-03-03T17:53:53 MCEBuddy.AppWrapper.FFmpeg --> Process arguments  -probesize 100M -analyzeduration 300M -threads 0 -async 1 -y -i "D:\MCEBuddyTEMP\working0\Match of the Day_BBC 1_2013_03_02_23_24_00.ts" -ss 3 -vf yadif=1:-1:0,scale=1280:720 -r 50 -vcodec libx264 -qscale 3 -f mp4 -y -acodec copy "D:\MCEBuddyTEMP\working0\Match of the Day_BBC 1_2013_03_02_23_24_00-converted.mp4"__
As you can see my profile is
-ss 3 -vf yadif=1:-1:0 -r 50 -vcodec libx264 -qscale 0 -f mp4 -y
but arguments passed by MCEBuddy are
-ss 3 -vf yadif=1:-1:0,scale=1280:720 -r 50 -vcodec libx264 -qscale 3 -f mp4 -y -acodec copy

Can you please advise how to get my -qscale back up to 0 ?


---> Also can you please consider posting a blog posts when new beta is released and what changes are made ? There are sometimes fundamental changes with the app and only way to read about them is to browse the forums. Thank you.
Coordinator
Mar 3, 2013 at 6:17 PM
Edited Mar 3, 2013 at 6:18 PM
The only way it can happen is if you put

FixedResolution=true

in the profile, it will not change the resolution or the quality
Coordinator
Mar 3, 2013 at 6:22 PM
Correction:

When FixedResolution is set it will not change the resolution but will adjust the quality to compensate for cropping

However if FixedResolution and SkipCropping is set
OR
FixedResolution is set and the resolution is specified in the <encoder>-video parameters then it will not change the bitrate or quality
Coordinator
Mar 3, 2013 at 6:29 PM
You know what it's a bug, I'll fix it in the next BETA build :)
Coordinator
Mar 3, 2013 at 6:49 PM
So in the next BETA build if the encoder is using constant quality then MCEBuddy will not touch it
If it's using bitrate, it will adjust the bitrate to compensate for resolution changes and cropping unless like mentioned

FixedResolution=true

and

The resolution is specified in the video parameters (if not specified it will only compensate bitrate for cropping)
Mar 3, 2013 at 7:02 PM
Thanks for the response.

My profile does NOT have FixedResolution=true

I've set up MaxWidth=1280 in MceBuddy configuration
[Same Quality x264]
Description=Custom libx264 encode to 720p 
 
order=ffmpeg,handbrake
ffmpeg-general=-threads 0 -async 1
ffmpeg-video=-ss 3 -vf yadif=1:-1:0 -r 50 -vcodec libx264 -qscale 0 -f mp4 -y
ffmpeg-audio=-acodec copy
ffmpeg-audioac3=-acodec copy
ffmpeg-ext=.mp4
ffmpeg-audiodelay=skip
handbrake-general=--decomb --loose-anamorphic --verbose=2 -f mp4
handbrake-video=-e x264 -b 4000 -x cabac=0:ref=2:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6:me=hex
handbrake-audio=-E faac -6 stereo -R auto -B 160 -D 0
handbrake-audioac3=-E faac -6 stereo -R auto -B 160 -D 0
handbrake-ext=.m4v
handbrake-audiodelay=skip
SkipCropping=true
CustomCommandPath=C:\AtomicParsley.exe
CustomCommandParameters=%convertedfile% --overWrite --title "%recordmonthlong% %recordday%, %recorddaylong% %recordhour%%recordhourampm%" --stik "TV Show" --TVEpisode %episodename% --genre %network% --TVSeasonNum "" --TVEpisodeNum "" --longdesc %episodedescription%
CustomCommandHangPeriod=0
CustomCommandCritical=false