Recherche avancée

Médias (91)

Autres articles (91)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10839)

  • Converting Video files in a Azure Webjob with ffMpeg

    13 décembre 2016, par Kevin Phifer

    I’m having trouble using ffMpeg in an Azure webjob.

    I found the following article (How to call ffmpeg.exe to convert audio files on Windows Azure ?) and it is exactly what I want to do, however, I cannot get ffMpeg to execute and it gives no error message.

    To diagnose the problem, I have boiled it down to its essentials by uploading ffMpeg, a video file to convert, and batch file to run it :

    files in directory

    The script in run.cmd is simply :

    del output.mp4
    ffmpeg -i screencast.wmv -c:v libx264 -r 15 output.mp4

    This works on my personal machine, but ran as a webjob I get results below.

    [12/08/2015 15:42:39 > bf9dd6: SYS INFO] Status changed to Initializing
    [12/08/2015 15:42:39 > bf9dd6: SYS INFO] Job directory change detected: Job file 'ffmpegtest\output.mp4' exists in source directory but not in working directory.
    [12/08/2015 15:42:47 > bf9dd6: SYS INFO] Run script 'run.cmd' with script host - 'WindowsScriptHost'
    [12/08/2015 15:42:48 > bf9dd6: SYS INFO] Status changed to Running<br />
    [12/08/2015 15:42:48 > bf9dd6: INFO]
    [12/08/2015 15:42:48 > bf9dd6: INFO] D:\local\Temp\jobs\triggered\ffMpeg\y1bdnb1e.03k\ffmpegtest>del output.mp4
    [12/08/2015 15:42:48 > bf9dd6: INFO]
    [12/08/2015 15:42:48 > bf9dd6: INFO] D:\local\Temp\jobs\triggered\ffMpeg\y1bdnb1e.03k\ffmpegtest>ffmpeg -i screencast.wmv -c:v libx264 -r 15 output.mp4
    [12/08/2015 15:42:49 > bf9dd6: SYS INFO] Status changed to Failed
    [12/08/2015 15:42:49 > bf9dd6: SYS ERR ] Job failed due to exit code -1073741515

    Edit :
    Additionally, it was suggested that I run using Kudu console. Still no luck :
    Kudu Screenshot

    Solution :
    I ended up needing to run the 32 version of ffMpeg and not the 64 bit. Thanks so much @mathewc !

  • Noobs approach to automate x264 cmd

    16 novembre 2012, par nightcrawler

    so here is my script to loop through specific video extensions » add a manual profile » generate necessary *.bat & finally a final 'loader' batch file to execute previous *.bat files sequentially & necessary logging (this gives quiet a deal of freedom if you so want)

    ::==
    :: gets lines into vars c1 v2 v...
    @echo off
    :: user input required
    cd /d "d:\Trainers\out\"
    setLocal EnableDelayedExpansion
    dir /B /O:N | findstr ".wmv$ " >filename.txt
    echo. >log.txt
    :: user input required
    for /f "tokens=* delims= " %%a in (&#39;type filename.txt ^|findstr ".wmv$"&#39;) do (
    set /a n+=1
    echo. >file!n!.bat
    set in=%in%%%a
    :: user input required
    set out=!in:.wmv=.mp4!
    :: user input required
    set v=x264 --crf 23  --level 3.1 --tune film -o "d:\Trainers\out\!in!" "d:\Trainers\out\!out!"
    echo. !v!>file!n!.bat
    )
    dir /B /O:N | findstr ".bat$ " >x264_home.txt
    for /f "tokens=* delims= " %%a in (x264_home.txt) do (
    set /a n+=1
    :: mtee is an external library Google it
    set "z=call %%a | mtee /d/c/t/+ log.txt"
    echo. !z! >> x264_home.bat
    )
    echo. @echo off > newFile.bat
    type x264_home.bat >> newFile.bat
    type newFile.bat > x264_home.bat
    del newFile.bat,x264_home.txt,filename.txt
    echo. pause >> x264_home.bat
    echo. @echo All Operation done... >> x264_home.bat
    :: user input required
    move "d:\Trainers\out\*.bat" "d:\Program Files\x264_auto\test\"
    :: user input required
    move "d:\Trainers\out\log.txt" "d:\Program Files\x264_auto\test\"
    ::==

    Now the above code which is fairly easy to understand (bcz its written by a noob) run perfectly & create necessary files. For instance one of the file1.bat looks like this :

    x264 --crf 23  --level 3.1 --tune film --preset veryslow --deblock -2:-1 --zones 24233,25324,q=20 --acodec aac --abitrate 80 -o "d:\Trainers\out\1.wmv" "d:\Trainers\out\1.mp4"

    ...& the loader .bat file looks like

    @echo off
    call file1.bat | mtee /d/c/t/+ log.txt
    call file2.bat | mtee /d/c/t/+ log.txt
    call file3.bat | mtee /d/c/t/+ log.txt
    @echo All Operation done...

    You see this is a quiet flexible approach in that you can use special filestr » set another loop » set another profile. Furthermore every batch file can be latter edited especiialy when you heavily use --zone x264 feature
    I am successful because there is no error in any output ...but its the x264.exe (provider/compiler x264GUI) throws error which it otherwise don't ?

    d:\Program Files\x264_auto\test>x264 --crf 23  --level 3.1 --tune film --preset
    veryslow --deblock -2:-1 --zones 24233,25324,q=20 --acodec aac --abitrate 80 -o
    "d:\Trainers\out\1.wmv" "d:\Trainers\out\1.mp4"
    ffms [error]: could not create index
    lavf [error]: could not open input file
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `d:\Trainers\out\1.mp4&#39; via any method!

    its the x264 thats the culprit perhaps a senior guide is required here

  • HLS "bufferStalledError" / "bufferNudgeOnStall"

    20 avril 2022, par Yago

    I'm trying to stream videos with HLS.js, and it works perfectly fine, but when I separate the audio from the video to support multiple audio tracks, it returns these two errors at random times in the video ("bufferStalledError" and "bufferNudgeOnStall").

    &#xA;

    I've tried using pure ffmpeg, I've tried using shaka packager, and I'm currently using bento4, but this error always occurs

    &#xA;

    (my bento4 code)

    &#xA;

    mp4hls --hls-version 4 -o "${outputFolder}" -f&#xA;[type=audio,&#x2B;language=Japanese]"${inputFolder}${epFolder}/1080p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/1080p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/720p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/480p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/360p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/240p.mp4"&#xA;

    &#xA;