Pages : 1
#1 Le 12/05/2012, à 19:19
- Phildu59
Réencoder une vidéo (résolu)
Bonjour,
J'avais l'habitude d'encoder mes vidéos avec FFMPEG + WINFF sans problème. Depuis mon passage à Xubuntu 12.04 64bits, WINFF lance une fenêtre terminal qui se referme aussitot quand je veux lancer la conversion. J'ai vu un message parlant de AVCONV remplaçant FFMPEG. Les codecs adéquats sont installés.
Quel programme fonctionnel choisir pour encoder mes vidéos ?
Merci.
Dernière modification par Phildu59 (Le 13/05/2012, à 01:18)
Hors ligne
#2 Le 12/05/2012, à 19:32
- berserk
Re : Réencoder une vidéo (résolu)
Bonjour
J'ai utilisé winff 2 ou 3 fois avec xubuntu 12.04, et ça marchait bien : effectivement il y a bien un teminal qui s'ouvre mais il reste ouvert pendant tout l'encodage donc je comprend pas trop pourquoi ça marche pas chez toi.
Pour encoder tes videos tu peux utiliser avidemux, mais il est parfois capricieux car il te met des décalages de son sur certaines videos j'ai jamais compris pourquoi et comment remédier à ça.
Tu peux aussi utiliser VLC : dans Média/Convertir-enregistrer
jette un œil là dessus aussi : http://doc.ubuntu-fr.org/lecture_et_enc … ers_videos
Hors ligne
#3 Le 12/05/2012, à 19:34
- Xylo
Re : Réencoder une vidéo (résolu)
Tu n'as pas le temps de lire ce qu'il écrit dans le terminal qu'il ouvre ?
Et si tu lance winff dans un terminal et que tu essaie d'encoder qu'est ce que ça te retourne ?
Netbook Asus Eeepc 1015BX : Crunchbang Wardolf #! / Debian Wheezy + Xfce
PC fixe : triple boot : Xubuntu 12.04 / Debian squeeze / Seven
Hors ligne
#4 Le 12/05/2012, à 20:13
- Phildu59
Re : Réencoder une vidéo (résolu)
Quand ça marchait bien, le terminal restait ouvert jusque la fin.
Non, je n'ai pas le temps de lire. Le terminal se referme aussi sec. FFMPEG en ligne de commande me dit qu'il est là pour des raisons de compatibilité et d'uiliser le nouveau logiciel AVCONV.
D'autre part, le répertoire /Winff a disparu et a été remplacé par /AVCONV. Donc, les presets ont également changé.
Hors ligne
#5 Le 12/05/2012, à 23:15
- Xylo
Re : Réencoder une vidéo (résolu)
Avconv est développé par Libav, un fork de ffmepg par lequel debian et ubuntu ont déceidé de rempalcée ffmpeg.
Voilà ce qu'il en ai :
August 09 2011
Updated on 12.09.2011.
For consistency with our new name we have renamed ffplay to avplay, ffserver to avserver and ffprobe to avprobe. Their behavior is the same, just the names were changed.
With ffmpeg (the commandline tool) we decided to use this opportunity to fix some longstanding usability problems, which involves breaking compatibility. Therefore we have added a new tool named avconv which is based on ffmpeg, but has a different (hopefully more powerful and easier to use) syntax for some options. ffmpeg will be kept in its current state for some time, so no scripts or frontends using it will break. However it will not be developed further.
Differences between avconv and ffmpeg are:The options placement is now strictly enforced! While in theory the options for ffmpeg should be given in [input options] -i INPUT [output options] OUTPUT order, in practice it was possible to give output options before the -i and it mostly worked. Except when it didn't - the behavior was a bit inconsistent. In avconv, it is not possible to mix input and output options. All non-global options are reset after an input or output filename.
All per-file options are now truly per-file - they apply only to the next input or output file and specifying different values for different files will now work properly (notably -ss and -t options).
All per-stream options are now truly per-stream - it is possible to specify which stream(s) should a given option apply to. See the Stream specifiers section in the avconv manual for details.
In ffmpeg some options (like -newvideo/-newaudio/...) are irregular in the sense that they're specified after the output filename instead of before, like all other options. In avconv this irregularity is removed, all options apply to the next input or output file.
-newvideo/-newaudio/-newsubtitle options were removed. Not only were they irregular and highly confusing, they were also redundant. In avconv the -map option will create new streams in the output file and map input streams to them. E.g. avconv -i INPUT -map 0 OUTPUT will create an output stream for each stream in the first input file.
The -map option now has slightly different and more powerful syntax:
Colons (':') are used to separate file index/stream type/stream index instead of dots. Comma (',') is used to separate the sync stream instead of colon.. This is done for consistency with other options.
It's possible to specify stream type. E.g. -map 0:a:2 creates an output stream from the third input audio stream.
Omitting the stream index now maps all the streams of the given type, not just the first. E.g. -map 0:s creates output streams for all the subtitle streams in the first input file.
Since -map can now match multiple streams, negative mappings were introduced. Negative mappings disable some streams from an already defined map. E.g. '-map 0 -map -0:a:1' means 'create output streams for all the stream in the first input file, except for the second audio stream'.
There is a new option -c (or -codec) for choosing the decoder/encoder to use, which allows to precisely specify target stream(s) consistently with other options. E.g. -c:v lib264 sets the codec for all video streams, -c:a:0 libvorbis sets the codec for the first audio stream and -c copy copies all the streams without reencoding. Old -vcodec/-acodec/-scodec options are now aliases to -c:v/a/s
It is now possible to precisely specify which stream should an AVOption apply to. E.g. -b:v:0 2M sets the bitrate for the first video stream, while -b:a 128k sets the bitrate for all audio streams. Note that the old -ab 128k syntax is deprecated and will stop working soon.
-map_chapters now takes only an input file index and applies to the next output file. This is consistent with how all the other options work.
-map_metadata now takes only an input metadata specifier and applies to the next output file. Output metadata specifier is now part of the option name, similarly to the AVOptions/map/codec feature above.
-metadata can now be used to set metadata on streams and chapters, e.g. -metadata:s:1 language=eng sets the language of the first stream to 'eng'. This made -vlang/-alang/-slang options redundant, so they were removed.
Presets in avconv are disabled, because only libx264 used them and presets for libx264 can now be specified using a private option -preset presetname.
-qscale option now uses stream specifiers and applies to all streams, not just video. I.e. plain -qscale number would now apply to all streams. To get the old behavior, use -qscale:v. Also there is now a shortcut -q for -qscale and -aq is now an alias for -q:a.
-vbsf/-absf/-sbsf options were removed and replaced by a -bsf option which uses stream specifiers. Use -bsf:v/a/s instead of the old options.
-itsscale option now uses stream specifiers, so its argument is only the scale parameter.
-intra option was removed, use -g 0 for the same effect.
-psnr option was removed, use -flags +psnr for the same effect.
-vf option is now an alias to the new -filter option, which uses stream specifiers.
-vframes/-aframes/-dframes options are now aliases to the new -frames option.
-vtag/-atag/-stag options are now aliases to the new -tag option.
Voici la documentation si tu as à la motivation, je vais voir si un GUI type WinFF est dispo pour avconv mais je n'en ai pas l'impression. Après je crois que pour l'instant il est possible d'utiliser ffmpeg et donc winff sous ubuntu...mais peut être que je me plante
AvConv documentation (en anglais)
Dernière modification par Xylo (Le 12/05/2012, à 23:29)
Netbook Asus Eeepc 1015BX : Crunchbang Wardolf #! / Debian Wheezy + Xfce
PC fixe : triple boot : Xubuntu 12.04 / Debian squeeze / Seven
Hors ligne
#6 Le 13/05/2012, à 01:17
- Phildu59
Re : Réencoder une vidéo (résolu)
Merci xylo,
Il y avait de quoi lire
Alors, je constate que ces blaireaux de programmeurs ont changé quelque chose qui fonctionnait bien. A force de iire dans tous les coins, j'ai ajouté un PPA comme indiqué sur http://code.google.com/p/winff/wiki/UbuntuInstallation. J'ai la version 1.4.2-2~ppa1p et bien que non officielle, elle fonctionne bien contrairement à celle proposée dans les dépots officiels. Sous Xubuntu 12.04 64 bits, je peux à nouveau réencoder.
Hors ligne
#7 Le 09/08/2012, à 16:27
- Coeur Noir
Re : Réencoder une vidéo (résolu)
Mmm en même temps les dernières versions de ffmpeg et d'avconv partagent la même syntaxe...
Débuter ⋅ Doc ⋅ Bien rédiger ⋅ Retour commande ⋅ Insérer image | illustrations & captures d'écran < ⋅ >
Hors ligne