News:

--

Main Menu

Recent posts

#1
Main version 2.6 / Re: Rotation Video
Last post by Drakon66 - Today at 06:35:26 PM
Quote from: eumagga0x2a on May 01, 2024, 04:31:07 PMAn enhancement to Avidemux to allow user to rotate video preview is possible

how to set that

Quote from: eumagga0x2a on May 01, 2024, 04:31:07 PMPlease make sure that "Post-Processing" is disabled in Avidemux
Quote from: eumagga0x2a on May 01, 2024, 04:31:07 PMlease also consider using a lossless codec (Ut Video or (FF)HuffYUV) for intermediate steps.

Where check this

#2
Avidemux-French / Re: Échantillonnage différent ...
Last post by eumagga0x2a - Today at 12:41:43 PM
Bonjour,

L'ajout d'une vérification de compatibilité pour les pistes audio est très souhaité. Peut-être un jour...
#3
Main version 2.6 / Re: Why am I getting a Warning...
Last post by eumagga0x2a - Today at 12:36:39 PM
Quote from: tropolite on May 03, 2024, 09:23:30 AMWhat's possibly affected the playback is my update to a 27" 2560x1440 screen.

This matters only if you use the unaccelerated "Qt" ("RGB") video display mode in Avidemux. You should use it only if all other options fail.
#4
Main version 2.6 / Re: Feature request: moving th...
Last post by szlldm - Today at 11:35:45 AM
do you mean the navigation slider? you can drag it with the mouse when playing
#5
Main version 2.6 / Feature request: moving the pr...
Last post by duckduck - Today at 05:53:39 AM
now we can move the progress bar when playing video by keyboard only.
it will be very helpful if mouse is also allowed, thanks
#6
Avidemux-French / Re: Échantillonnage différent ...
Last post by Dagobert_78 - May 03, 2024, 03:10:41 PM
En attendant une solution qui m'éviterais un post-traitement, et en me servant du Script de Simonalain21, je me suis fait un scrip afin de convertir tous les audios au bon échantillonnage.

Mais je dois toujours, manuellement, rechercher les vidéos qui n'ont pas le bon échantillonnage.

#PY  <- Needed to identify #
adm = Avidemux()
gui = Gui()
# --------  extension recherchée  --------
ext = "mkv"
# ----------------
sep = "\\"

def processVideo(vidin, outdir):
    if not adm.loadVideo(vidin):
        return 0

# -------- Audio Config  AC3 stéréo +3 db--------       
    adm.audioClearTracks()
    if adm.audioTotalTracksCount() <= 0:
        return 0
    adm.audioAddTrack(0)
    adm.audioCodec(0, "LavAC3", "bitrate=640")
    adm.audioSetResample(0, 48000)
    adm.audioSetDrc2(0, 0, 1, 0.001, 0.2, 1, 2, -12)
    adm.audioSetEq(0, 0, 0, 0, 0, 880, 5000)
    adm.audioSetChannelGains(0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    adm.audioSetChannelDelays(0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    adm.audioSetChannelRemap(0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8)
    adm.audioSetShift(0, 0, 0)

# -------- Video Config --------
# --------   COPY  --------
    adm.videoCodec("Copy")
# --------  --------
    adm.setContainer("MKV", "forceAspectRatio=False", "displayWidth=1280", "displayAspectRatio=2", "addColourInfo=False", "colMatrixCoeff=2", "colRange=0", "colTransfer=2", "colPrimaries=2")
    return adm.save(outdir + sep + basename(vidin))

# --------  Choix du dossier source  --------
inputFolder = gui.dirSelect("Select source folder")
if inputFolder is None:
    gui.displayError("Error", "No source folder selected")
    return 0

# -------- read content --------
vidlist = get_folder_content(inputFolder, ext)
if vidlist is None:
    gui.displayError("Error", "No " + ext + " files found in \"" + inputFolder + "\"")
    return 0

# --------  Choix de la destination  --------
outputFolder = gui.dirSelect("Select output folder")
if outputFolder is None:
    gui.displayError("Error", "No output folder selected")
    return 0

if(inputFolder == outputFolder):
    gui.displayError("Error","Output folder cannot be the same as the input one")
    return 0

success = 0

for video in vidlist:
    success += processVideo(video, outputFolder)

if not success:
    gui.displayInfo("Warning", "No video files processed")
elif success == 1:
    gui.displayInfo("Finished", "One video out of " + str(len(vidlist)) + " processed")
else:
    gui.displayInfo("Finished", str(success) + " videos out of " + str(len(vidlist)) + " processed")

return success
#7
Main version 2.6 / Re: Why am I getting a Warning...
Last post by tropolite - May 03, 2024, 09:23:30 AM
Okay - thank you...

I was just concerned as I've used Avidemux for well over a decade now and it was just a couple months ago that I noticed this warning come up.

Is there a way to decrease the default Avidemux window to View Zoom 1:2.
What's possibly affected the playback is my update to a 27" 2560x1440 screen.

I don't need the Avidemux window being fullsize when editing/converting clips.
Any suggestions on this?
#8
User interface and Usability / Re: Hover Feature Like VLC?
Last post by eumagga0x2a - May 01, 2024, 05:24:55 PM
Writing short and meaningful text for tooltips is a pain ;D
Watching them popping up every time you have left your mouse at a wrong place is another.
#9
Documentation & Tips / Re: How to make a simple scrip...
Last post by eumagga0x2a - May 01, 2024, 05:21:34 PM
Quote from: sneffel on May 01, 2024, 10:20:22 AMI want original.mp4 to be deleted at the end of the process.

I strongly discourage you from doing that before you have watched FINAL.mkv from beginning to the end.

Anyway, this is impossible by means of internal Avidemux scripting.

Quote from: sneffel on May 01, 2024, 10:20:22 AMI want a checkbox in the Select File to Save window that would be called "Export the whole video" as opposed to only the time selection. I rarely want to export the selection, it's often just a mistake and I forgot to press Ctrl + Top arrow at the end.

At the next level a user will forget to check the checkbox ;-)

adm = Avidemux()
ed = Editor()
gui = Gui()

if not adm.isFileOpen():
    return 0

adm.markerA = 0
adm.markerB = ed.getVideoDuration()

ext = adm.getOutputExtension()

if ext is None:
    return 0

outname = gui.fileWriteSelectEx("Select output file", ext)

if outname is None:
    return 0

return adm.save(outname)

Save this as "Reset Markers and Save.py" in the "custom" subfolder of Avidemux profile.

Please also consider using alternative keyboard shortcuts, where the default keyboard shortcut to reset markers is simply "R".
#10
Main version 2.6 / Re: Rotation Video
Last post by eumagga0x2a - May 01, 2024, 04:31:07 PM
Quote from: Drakon66 on April 29, 2024, 03:07:03 PMSo there is no chance for any upadte to add option rotate display video ?

Please don't mix up different things. An enhancement to Avidemux to allow user to rotate video preview is possible (this would facilitate editing of videos where the picture orientation doesn't match the coded orientation). This has nothing to do with any rotation of the output.

You also can configure the MP4 or MOV muxer in Avidemux when saving to MP4 / MOV (the only formats supporting this feature) to ask video player to rotate video display – this applies to the entire video, not to a segment thereof.

But if you append videos coded in different orientations, it is impossible to unify the orientation without re-encoding segments coded in a wrong orientation. This is not an Avidemux limitation.

Quote from: Drakon66 on April 29, 2024, 03:07:03 PMAfter re-encode video with less quality.

Yes, it will, but moderately. Please make sure that "Post-Processing" is disabled in Avidemux. It is disabled by default, but if the user inherits a very old Avidemux profile from the long passed times as this setting defaulted to being enabled, it will be enabled, ruining the quality.

Please also consider using a lossless codec (Ut Video or (FF)HuffYUV) for intermediate steps.

Quote from: Drakon66 on April 29, 2024, 03:07:03 PMOr you can advise what to do to have result video with size = Vid1 + Vid2 [Megabajt].

This is not directly related to quality being the same. Choose constant quality mode with rate factor between 15 and 20 for H.264 or between 20 and 25 for HEVC. This should give a reasonable balance between bitrate and quality.