User Tools

Site Tools


doc:appunti:linux:video:avidemux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:appunti:linux:video:avidemux [2007/09/23 13:55] – external edit 127.0.0.1doc:appunti:linux:video:avidemux [2016/12/12 08:08] (current) – [Video filters] niccolo
Line 125: Line 125:
  
 Works great. Many DVD movies have rectangular pixels, I use this filter to resize to the proper aspect ratio. It is common practice to have width and height exact multiples of 16. Works great. Many DVD movies have rectangular pixels, I use this filter to resize to the proper aspect ratio. It is common practice to have width and height exact multiples of 16.
 +
 +
 +  * **Bilinear**: Tends to smooth the picture, but makes the video easier to encode. Appropriate for downsizing.
 +  * **Bicubic**: Keeps sharpness and thus makes the video harder to encode (leads more easily to blocking-artifacts). Recommended for enlarging.
 +  * **Lanczos**: Produces a very sharp picture and keeps a lot of details. Use it for HQ encodings at high bitrates.
  
 == Deinterlace == == Deinterlace ==
Line 167: Line 172:
 Sometimes resampling the audio is necessary beacuse the destination codec has some restrictions. This is the case of AVI files produced by some cameras, which encode audio in PCM 8 bits, mono, 11024 Hz. Trying to re-encode the audio with Lame into mp3, produces the error message **Encoder initialization failed**, **Not activated**. It is necessary to resample the audio to 48000 or 44100 Hz. Sometimes resampling the audio is necessary beacuse the destination codec has some restrictions. This is the case of AVI files produced by some cameras, which encode audio in PCM 8 bits, mono, 11024 Hz. Trying to re-encode the audio with Lame into mp3, produces the error message **Encoder initialization failed**, **Not activated**. It is necessary to resample the audio to 48000 or 44100 Hz.
  
 +===== Modifica Audio con programmi esterni =====
 +
 +Si può usare un programma esterno come Audacity per editare l'audio, bisogna però "estrarlo" dal filmato originale.
 +
 +Avidemux avrebbe questa funzione dal menu //Audio//, //Save//, ma il file salvato è in formato raw e quindi per aprirlo in Audacity bisogna specificare tutti i parametri e soprattutto **viene tagliato male alla fine, perdendo alcuni decimi di secondo** (Avidemux v. 2.5.4). Per questo motivo è meglio utilizzare **''mplayer''** che sembra molto più adatto allo scopo:
 +
 +<code>
 +mplayer -ao pcm:file=audio.wav -vo null file.avi
 +</code>
 +
 +Una volta aperto il file con Audacity ricordarsi di impostare il //Project Rate// (in basso a sinistra) ad una frequenza compatibile con il codec che si vorrà usare, ad esempio per lame mp3 una frequenza compatibile è 44100 Hz. Alla fine esportare il file audio in formato accettato da Avidemux, ad esempio WAV PCM.
 +
 +Una volta ottenuto il file audio, si provvede a fare il mux con il video e l'encoding nel formato finale con Avidemux:
 +
 +  - Aprire il filmato
 +  - Dal menu Audio, Main Track caricare la traccia audio elaborata
 +  - Impostare il codec video e gli eventuali filtri
 +  - Impostare il codec audio
 +  - Salvare il nuovo filmato
 ===== Frame types ===== ===== Frame types =====
  
doc/appunti/linux/video/avidemux.1190548520.txt.gz · Last modified: 2011/09/23 16:54 (external edit)