Avidemux Forum

Participate => Documentation & Tips => Topic started by: il68k@ya.ru on August 24, 2023, 10:48:06 AM

Title: Help!!!
Post by: il68k@ya.ru on August 24, 2023, 10:48:06 AM
How to enter these codes in the command line of the program:
cabac=1 ref=11 deblock=1:-3:-3 me=umh subme=11 me_range=32 bframes=11 rc=2pass bitrate=1700
that the program would execute them and not make a mistake.
Title: Re: Help!!!
Post by: eumagga0x2a on August 24, 2023, 04:36:40 PM
1. Load a video
2. Select "Mpeg4 AVC (x264) as video codec
3. Open encoder configuration dialog, check "Use advanced configuration", accept the dialog.
4. Save project script ("File" --> "Project Script" --> "Save As Project").
5. Open the exported .py text file with a text editor, edit the options passed to adm.videoCodec() method accordingly:

cabac=1 corresponds to "cabac=True"
ref=11 --> "MaxRefFrames=11" (by the way, asking for 11 ref frames is excessive, IMHO)
deblock=1:-3:-3 AFAIK incorrect command, but might amount to "b_deblocking_filter=True" together with "i_deblocking_filter_alphac0=-3" and "i_deblocking_filter_beta=-3"
me=umh --> "analyze.me_method=2"
subme=11 --> "analyze.subpel_refine=11" (another useless excess, IMHO)
me_range=32 --> "analyze.me_range=32"
bframes=11 --> "MaxBFrame=11"
rc=2pass bitrate=1700" --> "general.params=2PASSBITRATE=1700"

6. Run the edited script via "File" --> "Project Script" --> "Run Project".
Title: Re: Help!!!
Post by: il68k@ya.ru on August 25, 2023, 06:48:41 AM
Quote from: eumagga0x2a on August 24, 2023, 04:36:40 PM1. Load a video
2. Select "Mpeg4 AVC (x264) as video codec
3. Open encoder configuration dialog, check "Use advanced configuration", accept the dialog.
4. Save project script ("File" --> "Project Script" --> "Save As Project").
5. Open the exported .py text file with a text editor, edit the options passed to adm.videoCodec() method accordingly:

cabac=1 corresponds to "cabac=True"
ref=11 --> "MaxRefFrames=11" (by the way, asking for 11 ref frames is excessive, IMHO)
deblock=1:-3:-3 AFAIK incorrect command, but might amount to "b_deblocking_filter=True" together with "i_deblocking_filter_alphac0=-3" and "i_deblocking_filter_beta=-3"
me=umh --> "analyze.me_method=2"
subme=11 --> "analyze.subpel_refine=11" (another useless excess, IMHO)
me_range=32 --> "analyze.me_range=32"
bframes=11 --> "MaxBFrame=11"
rc=2pass bitrate=1700" --> "general.params=2PASSBITRATE=1700"

6. Run the edited script via "File" --> "Project Script" --> "Run Project".

Thank you very much! You helped me a lot...
Title: Re: Help!!!
Post by: il68k@ya.ru on August 31, 2023, 06:26:40 PM
How to save final encoding log in Avidemux ?
Title: Re: Help!!!
Post by: eumagga0x2a on August 31, 2023, 10:09:39 PM
Save a copy of admlog.txt prior to launching Avidemux again.
Title: Re: Help!!!
Post by: il68k@ya.ru on September 01, 2023, 07:26:31 AM
Thank you very much !
Title: Re: Help!!!
Post by: il68k@ya.ru on September 01, 2023, 08:17:15 AM
Is it possible to change metadata (MediaInfo) in Avidemux?

For example this line: Writing library:  x264 core 164 r3081 19856cc
Title: Re: Help!!!
Post by: eumagga0x2a on September 01, 2023, 11:35:04 AM
Quote from: il68k@ya.ru on September 01, 2023, 08:17:15 AMIs it possible to change metadata (MediaInfo) in Avidemux?

For example this line: Writing library:  x264 core 164 r3081 19856cc

No, and the above is not metadata, this info is injected by x264 encoder into H.264 bitstream (as a SEI message).
Title: Re: Help!!!
Post by: il68k@ya.ru on September 15, 2023, 08:07:07 AM
how to remove this:  (https://i.ibb.co/4jnsSmj/1.jpg)  this is in the source file...
Title: Re: Help!!!
Post by: il68k@ya.ru on September 15, 2023, 09:50:47 AM
Is it possible to encode several series at once in one session?
Title: Re: Help!!!
Post by: eumagga0x2a on September 16, 2023, 08:24:24 PM
Quote from: il68k@ya.ru on September 15, 2023, 08:07:07 AMhow to remove this:

Please elaborate. What do the arrows should point to?

Quote from: il68k@ya.ru on September 15, 2023, 09:50:47 AMIs it possible to encode several series at once in one session?

No, this is impossible in one sesson, and simultaneously running multiple Avidemux instances is unsupported.

Title: Re: Help!!!
Post by: il68k@ya.ru on September 17, 2023, 09:45:11 AM
Quote from: eumagga0x2a on September 16, 2023, 08:24:24 PMPlease elaborate. What do the arrows should point to?
I don't know what it's called... bad sectors... maybe this will be clearer... I enlarged the location of the first screenshot...
What setting should I enable in the program to make this disappear ?
(https://i.ibb.co/Jxygw1g/1.jpg)

Title: Re: Help!!!
Post by: eumagga0x2a on September 17, 2023, 10:50:58 AM
Thank you for clarification. I can only give you keywords: To counteract existing banding in dark areas, you need to apply dithering (not available in Avidemux if I am not mistaken). To avoid new banding appearing in dark areas, you probably need to tweak (increase) aq-strength ("Adaptive Quantisation" --> "Variance AQ") when you use x264 as an encoder.
Title: Re: Help!!!
Post by: szlldm on September 17, 2023, 02:59:06 PM
You can try Colors / Deband filter.
Title: Re: Help!!!
Post by: eumagga0x2a on September 17, 2023, 04:47:15 PM
My bad, should have remembered that one.