Recherche avancée

Médias (91)

Autres articles (27)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (3697)

  • FFMPEG subtitle always delay 1 frame

    6 janvier 2019, par lostincomputer2

    I encounter problems encoding video that I ripped from DVD, after ripping the video size is around 300MB and it plays well and subtitle sync well, then I want a smaller size for tablet and encode it using ffmpeg and the result is around 100MB but the subtitle will always late for 1 frame

    # ffmpeg -i "Original.mkv" -level 5.1 -preset veryslow -tune animation -keyint_min 12 -sc_threshold 45 -bf 8 -b_strategy 2 -refs 16 -qmin 10 -qmax 51 -qcomp 0.6 -direct-pred auto -me_range 24 -me_method umh -subq 10 -trellis 2 -an -sn -vcodec libx264 -crf 28.0 output1.mkv
    # ffmpeg -i "Original.mkv" -f wav -| neroAacEnc -ignorelength -lc -q 0.4 -if - -of output2.aac
    # mkvmerge -o outputFF.mkv --language "0:jpn" --track-name "0:SmallAnime Encode @ CRF 28.0" output1.mkv --no-chapters --language "0:jpn" --track-name "0:2.0 AAC-LC @ 0.4" output2.aac -A -D --language "2:eng" --track-name "2:Styled Subtitle (.ass)" "Original.mkv"

    In aegis sub, the video looks well which the subtitle appear normally, however when played using MPC, the subtitle always late 1 frame

    Aegis show correctly screenshot : http://puu.sh/6N2gy

    Play using MPC problems : http://puu.sh/6N38E.jpg

    Anyone know why this happens ? The ffmpeg uses libx264 video codec and it is configured using bit depth=10. The OS I am using is CentOS 6.4

  • FFMPEG subtitle always delay 1 frame

    12 février 2014, par lostincomputer2

    I encounter problems encoding video that I ripped from DVD, after ripping the video size is around 300MB and it plays well and subtitle sync well, then I want a smaller size for tablet and encode it using ffmpeg and the result is around 100MB but the subtitle will always late for 1 frame

    # ffmpeg -i "Original.mkv" -level 5.1 -preset veryslow -tune animation -keyint_min 12 -sc_threshold 45 -bf 8 -b_strategy 2 -refs 16 -qmin 10 -qmax 51 -qcomp 0.6 -direct-pred auto -me_range 24 -me_method umh -subq 10 -trellis 2 -an -sn -vcodec libx264 -crf 28.0 output1.mkv
    # ffmpeg -i "Original.mkv" -f wav -| neroAacEnc -ignorelength -lc -q 0.4 -if - -of output2.aac
    # mkvmerge -o outputFF.mkv --language "0:jpn" --track-name "0:SmallAnime Encode @ CRF 28.0" output1.mkv --no-chapters --language "0:jpn" --track-name "0:2.0 AAC-LC @ 0.4" output2.aac -A -D --language "2:eng" --track-name "2:Styled Subtitle (.ass)" "Original.mkv"

    In aegis sub, the video looks well which the subtitle appear normally, however when played using MPC, the subtitle always late 1 frame

    Aegis show correctly screenshot : http://puu.sh/6N2gy

    Play using MPC problems : http://puu.sh/6N38E.jpg

    Anyone know why this happens ? The ffmpeg uses libx264 video codec and it is configured using bit depth=10. The OS I am using is CentOS 6.4

  • promise fluent-ffmpeg Nodejs

    6 décembre 2018, par babak abadkheir

    I’m trying convert video to .flv with ffmpeg. converting is a long time process . and it depends on file size duration and other parameters.

    const vodConvert = async (dir, id, ext) => new Promise((resolve) => {
       const ffmpegPath = '/usr/bin/ffmpeg';
       ffmpeg.setFfmpegPath(ffmpegPath);
       ffmpeg(`${dir}temp.${ext}`).saveToFile(`${dir}${id}.flv`);
       resolve();

    });

    after ffmpeg done I need to remove the original file.

    const del = require('del');
    del(`${dir}temp.*`)

    so how to tell my promise function if proccess complete then delete the original file.
    I even tried this :

    vodConvert(dir, id, ext).then(del(`${dir}temp.*`)