Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (50)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (8605)

  • Simples loop to iterate over files and send them to ffmpeg

    25 octobre 2019, par user2752471

    I want to do a shell script that will iterate over several video files in a directory, send everyone of them to ffmpeg, that will then reencode each one, producing a reencoded file that will have the same name as the original, except with .avi extension instead .mkv or .mp4.

    I found a fairly simple script in another topic here on SO, tried to change it slightly to take into account the file extension and the destination directory.

    However my script only produces countless "anything : No such file or directory"

    Here is it :

    $ for f in $(find -type f -name *.mkv); do ffmpeg -n -i "$f" -c:v copy ".$f" ; done

    And these is the ffmpeg command that I usually use :

    ffmpeg -y -i  -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 1 -an -f avi /dev/null && ffmpeg -i -c:a libmp3lame -b:a 48k -ac 1 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 2  .avi

    So I need to identify what is incorrect in the first script, that is considering each small word of the file’s name as a file, and then change it as to add all these ffmpeg parameters.

    Somethings that I do not understand in the script :

    1)Are the -type and f in find command necessary. From what I read of the documentation, all it does is to tell find that it shall look for normal files, something that seems irrelevant for my case. When I use find, I do : find starting dir -name filename. So do I have to keep it ?

    2)What -n means for ffmpeg ? I am currently without a man entry for ffmpeg. Is it necessary for my needs ?

    3)Do I need to have "" around $f ? What it does ?

    4)As far as I understand $ denotes a variable. But what the "f" after it does ? Do I need it ?

    5)The " ;" after the closing ")" and the ".$f" are necessary ? The first is used to indicate the end of the for loop,and the second the end of the ffmpeg command ?

    6)The "do" and the "does" are also necessary for the same motives behind the " ;"

    Here is my attempt of the ffmpeg part of the script. Please tell me what to change on it, as in the find part of it.

    do ffmpeg -n -y -i "$f.mkv" -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 1 -an -f avi /dev/null && ffmpeg -n -i "$f" -c:a libmp3lame -b:a 48k -ac 1 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 2  ".$f.avi" ; done

    If I would like the script to also look for ".mp4" besides ".mkv" how I would need to change it ?

    Thanks for any input.

  • avcodec/mips : Improve hevc uni-w horiz mc msa functions

    9 octobre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc uni-w horiz mc msa functions
    

    Load the specific destination bytes instead of MSA load and pack.
    Pack the data to half word before clipping.
    Use immediate unsigned saturation for clip to max saving one vector register.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_macros_msa.h
    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c
  • fate : disable automatic conversions on many tests.

    14 août 2020, par Nicolas George
    fate : disable automatic conversions on many tests.
    

    Explicitly insert the scale or aresample filter where it would
    have been inserted by the negotiation.
    Re-enable conversions if it cannot be done easily.

    If a conversion is needed in a test, we want to know about it.
    If the negotiation changes and makes new conversion necessary,
    we want to know about it even more.

    • [DH] tests/fate-run.sh
    • [DH] tests/fate/ac3.mak
    • [DH] tests/fate/acodec.mak
    • [DH] tests/fate/adpcm.mak
    • [DH] tests/fate/audio.mak
    • [DH] tests/fate/bmp.mak
    • [DH] tests/fate/canopus.mak
    • [DH] tests/fate/cdxl.mak
    • [DH] tests/fate/dca.mak
    • [DH] tests/fate/dfa.mak
    • [DH] tests/fate/dnxhd.mak
    • [DH] tests/fate/ea.mak
    • [DH] tests/fate/ffmpeg.mak
    • [DH] tests/fate/filter-audio.mak
    • [DH] tests/fate/filter-video.mak
    • [DH] tests/fate/fits.mak
    • [DH] tests/fate/gif.mak
    • [DH] tests/fate/h264.mak
    • [DH] tests/fate/hlsenc.mak
    • [DH] tests/fate/image.mak
    • [DH] tests/fate/libswresample.mak
    • [DH] tests/fate/lossless-audio.mak
    • [DH] tests/fate/lossless-video.mak
    • [DH] tests/fate/microsoft.mak
    • [DH] tests/fate/monkeysaudio.mak
    • [DH] tests/fate/mov.mak
    • [DH] tests/fate/mp3.mak
    • [DH] tests/fate/opus.mak
    • [DH] tests/fate/pcm.mak
    • [DH] tests/fate/prores.mak
    • [DH] tests/fate/qt.mak
    • [DH] tests/fate/qtrle.mak
    • [DH] tests/fate/screen.mak
    • [DH] tests/fate/utvideo.mak
    • [DH] tests/fate/video.mak
    • [DH] tests/fate/voice.mak
    • [DH] tests/fate/vpx.mak
    • [DH] tests/fate/wavpack.mak