Conversion Vidéo ?

LuLu-B3rlu -  
Franzux Messages postés 9705 Statut Contributeur -
Bonjour,
Je voudrais convertir des fichiers vidéos en format .AVI en format .MP4 mais je ne connait pas logiciel permettant cette conversion sous linux ? quelqu'un pourrait m'en indiquer un ? De préférence en francais :$

Merci d'avance a bientot !
Configuration: Linux
Firefox 3.0

9 réponses

  1. MaxGix Messages postés 5389 Date d'inscription   Statut Contributeur Dernière intervention   2 371
     
    Salut,

    il y a le logiciel SUPER qui convertit à peu près tout
    0
  2. LuLu-B3rlu
     
    Euh il s'appelle "SUPER" ? ou c'est un super logiciel ? ^^
    0
  3. LuLu-B3rlu
     
    Pas compatible sous linux! ^^

    qu'elqu'un en connait un ? Merci d'avance !
    0
  4. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  5. bob031 Messages postés 8228 Statut Membre 473
     
    salut,

    mencoder

    1) installer mencoder

    2) créer le fichier :

    [redfox@fedora8 Bureau]$ vi flv2avi.sh

    collez-y le code suivant :

    #!/bin/sh 
    
    if [ -z "$1" ]; then
      echo "Usage: $0 {-divx|-xvid} list_of_flv_files"
      exit 1
    fi
    
    # video encoding bit rate
    V_BITRATE=1000
    
    while [ "$1" ]; do
      case "$1" in
        -divx)
          MENC_OPTS="-ovc lavc -lavcopts \
            vcodec=mpeg4:vbitrate=$V_BITRATE:mbd=2:v4mv:autoas  pect"
          ;;
        -xvid)
          MENC_OPTS="-ovc xvid -xvidencopts bitrate=$V_BITRATE:autoaspect"
          ;;
        *)
          if file "$1" | grep -q "Macromedia Flash Video"; then
            mencoder "$1" $MENC_OPTS -vf pp=lb -oac mp3lame \
              -lameopts fast:preset=standard -o \
              "`basename $1 .flv`.avi"
          else
            echo "$1 is not Flash Video. Skipping"
          fi
          ;;
      esac
      shift
    done


    enregistrez le fichier.

    3) rendez-le exécutable :

    [redfox@fedora8 Bureau]$ chmod 755 flv2avi.sh

    4)
    [root@fedora8 Bureau]# mv flv2avi.sh /usr/bin/

    5)
    redfox@fedora8 Bureau]$ flv2avi.sh -xvid making_a_trumpet-Yl8qfu-ojTQ.flv
    MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Celeron(R) CPU 2.80GHz (Family: 15, Model: 4, Stepping: 1)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    success: format: 0 data: 0x0 - 0xbbdd4a
    libavformat file format detected.
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO: [FLV1] 320x240 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:44 fourcc:0x31564C46 size:320x240 fps:25.00 ftime:=0.0400
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    xvid: using library version 1.1.3 (build xvid-1.1.3)
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [pp=lb]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
    ==========================================================================
    MP3 audio selected.
    VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    videocodec: XviD (320x240 fourcc=44495658 [XVID])
    xvid: par=1/1 (ext), displayed=320x240, sampled=320x240
    xvid: CBR Rate Control -- bitrate=1000kbit/s
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    Writing header...
    ODML: vprp aspect is 4:3.
    Setting audio delay to 0.052s.
    Writing header...
    ODML: vprp aspect is 4:3.
    Setting audio delay to 0.052s.
    Pos: 0.8s 22f ( 0%) 0.00fps Trem: 1min 10mb A-V:0.084 [0:53]
    Skipping frame!
    Pos: 1.2s 32f ( 0%) 0.00fps Trem: 1min 9mb A-V:0.084 [443:56]
    Skipping frame!
    Pos: 1.5s 42f ( 0%) 0.00fps Trem: 1min 12mb A-V:0.084 [446:58]
    Skipping frame!
    Pos: 1.9s 52f ( 1%) 0.00fps Trem: 1min 11mb A-V:0.084 [439:60]
    Skipping frame!
    Pos: 2.4s 66f ( 1%) 0.00fps Trem: 1min 15mb A-V:0.081 [489:61]
    Skipping frame!
    Pos: 20.0s 508f ( 8%) 63.67fps Trem: 1min 22mb A-V:0.082 [693:66]
    Skipping frame!
    Pos: 299.8s 7502f (99%) 71.50fps Trem: 0min 18mb A-V:0.012 [451:73]]
    Flushing video frames.
    Writing index...
    Writing header...
    ODML: vprp aspect is 4:3.
    Setting audio delay to 0.052s.

    Video stream: 451.209 kbit/s (56401 B/s) size: 16911313 bytes 299.840 secs 7502 frames

    Audio stream: 73.183 kbit/s (9147 B/s) size: 2743807 bytes 299.938 secs
    [redfox@fedora8 Bureau]$

    vérification :

    [redfox@fedora8 Bureau]$ ls -l making*
    -rw-rw-r-- 1 redfox redfox 10618074 mai 1 12:25 making_a_trumpet.avi
    -rw-rw-r-- 1 redfox redfox 20123950 mai 1 13:03 making_a_trumpet-Yl8qfu-ojTQ.avi
    -rw-rw-r-- 1 redfox redfox 12311882 mai 1 12:16 making_a_trumpet-Yl8qfu-ojTQ.flv
    [redfox@fedora8 Bureau]$

    sinon il y ceci :
    http://www.effectmatrix.com/Youtube_video_download_tool/index.htm
    0
  6. Franzux Messages postés 9705 Statut Contributeur 1 146
     
    Sinon il y a avidemux qui est plus ou moins un frontend de ffmpeg et mencoder.

    Le gros avantage, c'est qu'un gosse de 6 ans pourrait l'utiliser ;)
    0