News:

--

Main Menu

Recent posts

#1
Avidemux-French / Re: Problème de JobList avec L...
Last post by eumagga0x2a - Today at 08:02:35 PM
Bonjour et merci,

Quote from: Zapata on Today at 09:19:00 AMDonc pour la première question, au sujet de la JobList sous Linux, oui j'avais déjà essayé de répéter la compression avec le même fichier et en effet, le BLOCAGE apparaît au même endroit.

Cela signifie que le problème n'a rien à voir avec JobList. Redirigez stdout (la sortie standard) d'AppImage vers un fichier, reproduisez le blocage et fournissez ce fichier soit en pièce jointe à votre réponse, soit via un service comme WeTransfer / Mega / Dropbox ou Google Drive, SVP. Vous pouvez systématiquement anonymiser les noms et chemins des vidéos dans ce fichier.

Quote from: Zapata on Today at 09:19:00 AMDeuxièmement, vous me conseillez donc de plutôt utiliser le quantificateur constant, je veux bien essayer, mais j'avoue que j'aime bien savoir approximativement la taille finale du fichier, en évaluant le débit à allouer en 2 passes, en fonction de la qualité originelle de l'image (granularité, précision, ...).

Le problème est qu'en utilisant le codage en 2 passes, vous demandez effectivement un débit binaire moyen (directement ou en spécifiant la taille de sortie cible). Cela signifie inévitablement que la qualité fluctue – pas si mal que lorsque l'on utilise le mode débit constant, mais quand même.
#2
Avidemux-French / Re: Problème de JobList avec L...
Last post by Zapata - Today at 09:19:00 AM
Merci pour votre réponse. Donc pour la première question, au sujet de la JobList sous Linux, oui j'avais déjà essayé de répéter la compression avec le même fichier et en effet, le BLOCAGE apparaît au même endroit.

Deuxièmement, vous me conseillez donc de plutôt utiliser le quantificateur constant, je veux bien essayer, mais j'avoue que j'aime bien savoir approximativement la taille finale du fichier, en évaluant le débit à allouer en 2 passes, en fonction de la qualité originelle de l'image (granularité, précision, ...).

Enfin au sujet du post-traitement, je l'avais désactivé il y a un moment suivant votre conseil dans un message précédent.

Bonne journée à vous.
#3
Avidemux-French / Re: Problème de JobList avec L...
Last post by eumagga0x2a - March 27, 2024, 11:07:35 PM
Bonjour,

Concernant la première question, ce blocage est-il entièrement aléatoire ? En cas vous exécutez la même Job List encore une fois, le résultat est-il imprévisible ?

Concernant la deuxième question, a) est-ce que vous avez vraiment vérifié que le post-traitement (postprocessing) est complètement désactivé ?

b) Veuillez utiliser le mode de qualité constante et laisser l'encodeur sélectionner le débit binaire lui-même.
#4
Avidemux-French / Re: Problème de JobList avec L...
Last post by Zapata - March 27, 2024, 09:19:23 AM
Juste une petite précision/correction, j'utilise plus précisément XUBUNTU 22.04
#5
Avidemux-French / Problème de JobList avec Linux...
Last post by Zapata - March 27, 2024, 08:57:28 AM
Bonjour, je voudrais poser 2 questions :

1. Sous Linux / Ubuntu 22.04, j'ai souvent un blocage/plantage au bout du 2ème ou 3ème fichier lorsque je fais une Job List ( j'utilise la dernière version AppImage à priori ).

2. a) Quel que soit le système d'exploitation, j'observe souvent un problème de qualité quand je cherche à encoder en X264 depuis un DVD, essentiellement lorsque le film est ENTRELACE (voir ce sujet), même après avoir appliqué le filtre YADIF adapté ( en cherchant les caractéristiques du film avec MediaInfo ).
b) J'ai pourtant augmenté le débit par rapport à ce que disais dans un message précédent ( je commence à 1500-1550 kbps pour monter jusqu'à 1800 kbps voire 2000 ).


Auriez-vous des idées de réponses à me proposer. Merci et bonne journée à vous !
#6
Unix-Like (Linux/Bsd/...) / Re: Avidemux freezes screen on...
Last post by teaadmirer - March 27, 2024, 12:21:04 AM
Ok. It works now. I don't know if updates fixed it or what, but I had another program not working and installing lib32-nvidia-utils made it work (it was a 32-bit).
#7
Main version 2.6 / Re: Scripting help
Last post by bobdeyoung - March 26, 2024, 09:02:29 PM
Quote from: eumagga0x2a on March 26, 2024, 08:55:20 PMThe following script will add 1s fade-in and 3s fade-out for a selection of at least 4 seconds duration:

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

if not adm.isFileOpen():
    gui.displayError("1s fade-in + 3s fade-out", "No video loaded")
    return

# require at least 4 seconds to be selected
if (adm.markerA < 0):
    adm.markerA = 0
if (adm.markerB < 0):
    adm.markerB = 0
if (adm.markerB > ed.getVideoDuration()):
    adm.markerB = ed.getVideoDuration()
if (adm.markerB - adm.markerA < 4 * 1000 * 1000):
    gui.displayError("1s fade-in + 3s fade-out", "Selection too short, must be at least 4 seconds")
    return

fadeInDuration = 1000 # in ms
fadeOutDuration = 3 * 1000 # in ms

fadeInStart = int(adm.markerA / 1000)
fadeOutStart = int((adm.markerB - 3 * 1000 * 1000) / 1000)

adm.addVideoFilter("fadeToBlack", "startFade=" + str(fadeInStart), "endFade=" + str(fadeInStart + fadeInDuration), "inOut=True", "toBlack=True")
adm.addVideoFilter("fadeToBlack", "startFade=" + str(fadeOutStart), "endFade=" + str(fadeOutStart + fadeOutDuration), "inOut=False", "toBlack=True")
gui.displayInfo("Done", "Fade-in and fade-out added. Select video codec other than \"Copy\" to re-encode video")

Save it as a text file with ".py" as extension. Place it e.g. into %appdata%\avidemux\custom directory to be listed in the "Custom" menu upon restart of Avidemux. You should update to the latest 2.8.2 nightly, I don't think that isFileOpen() method had been added to pyAvidemux class already in 2.8.1. In any case, you must switch from copy mode to an encoder to use filters.

Thanks.  See my reply above...I was trying to avoid having to re-encode.
#8
Main version 2.6 / Re: Scripting help
Last post by bobdeyoung - March 26, 2024, 09:01:22 PM
Quote from: sark on March 26, 2024, 08:42:56 PMYou must encode to apply a filter.
Select an encoder from the drop down list (commonly Mpeg4 AVC (x264) and the Filter button will become active.
There is an option to do exactly as you require.

OK, thank you!  I was trying to avoid re-encoding, but it makes sense that you would need to do that.  Unless there is some advantage to using Avidemux to encode, I will just use my primary encoding software (TMPGEnc Video Mastering Works 7) to do that.  What I am trying to accomplish in the end is to cut a few short video clips out of my 90 minute source video and have start/end fades on those shorter clips. 
#9
Main version 2.6 / Re: Scripting help
Last post by eumagga0x2a - March 26, 2024, 08:55:20 PM
The following script will add 1s fade-in and 3s fade-out for a selection of at least 4 seconds duration:

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

if not adm.isFileOpen():
    gui.displayError("1s fade-in + 3s fade-out", "No video loaded")
    return

# require at least 4 seconds to be selected
if (adm.markerA < 0):
    adm.markerA = 0
if (adm.markerB < 0):
    adm.markerB = 0
if (adm.markerB > ed.getVideoDuration()):
    adm.markerB = ed.getVideoDuration()
if (adm.markerB - adm.markerA < 4 * 1000 * 1000):
    gui.displayError("1s fade-in + 3s fade-out", "Selection too short, must be at least 4 seconds")
    return

fadeInDuration = 1000 # in ms
fadeOutDuration = 3 * 1000 # in ms

fadeInStart = int(adm.markerA / 1000)
fadeOutStart = int((adm.markerB - 3 * 1000 * 1000) / 1000)

adm.addVideoFilter("fadeToBlack", "startFade=" + str(fadeInStart), "endFade=" + str(fadeInStart + fadeInDuration), "inOut=True", "toBlack=True")
adm.addVideoFilter("fadeToBlack", "startFade=" + str(fadeOutStart), "endFade=" + str(fadeOutStart + fadeOutDuration), "inOut=False", "toBlack=True")
gui.displayInfo("Done", "Fade-in and fade-out added. Select video codec other than \"Copy\" to re-encode video")

Save it as a text file with ".py" as extension. Place it e.g. into %appdata%\avidemux\custom directory to be listed in the "Custom" menu upon restart of Avidemux. You should update to the latest 2.8.2 nightly, I don't think that isFileOpen() method had been added to pyAvidemux class already in 2.8.1. In any case, you must switch from copy mode to an encoder to use filters.
#10
Main version 2.6 / Re: Scripting help
Last post by sark - March 26, 2024, 08:42:56 PM
You must encode to apply a filter.
Select an encoder from the drop down list (commonly Mpeg4 AVC (x264) and the Filter button will become active.
There is an option to do exactly as you require.