Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (52)

  • 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 ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9190)

  • running ffmpeg.exe from inside bash file [duplicate]

    3 février 2023, par Martin

    Hello I am trying to run ffmpeg from inside a track_cmd.sh file which I run inside command prompt using the command bash track_cmd.sh
My file looks like this :

    


    echo "try1"
C:\Users\marti\Documents\projects\jan2023-rendertune\RenderTune\node_modules\ffmpeg-ffprobe-static\ffmpeg.exe
echo "try2"
# start /d "path" file.exe
start /d "C:\Users\marti\Documents\projects\jan2023-rendertune\RenderTune\node_modules\ffmpeg-ffprobe-static" ffmpeg.exe
echo "try3"
# start "c:\windows\system32" notepad.exe   
start "C:\Users\marti\Documents\projects\jan2023-rendertune\RenderTune\node_modules\ffmpeg-ffprobe-static" ffmpeg.exe   
echo "try4"
#start "" fullPath/file.exe
start "" C:\\Users\\marti\\Documents\\projects\\jan2023-rendertune\\RenderTune\\node_modules\\ffmpeg-ffprobe-static\\ffmpeg.exe
echo "done"


    


    But none of these lines work :

    


    >bash track_cmd.sh
try1
track_cmd.sh: line 2: C:UsersmartiDocumentsprojectsjan2023-rendertuneRenderTunenode_modulesffmpeg-ffprobe-staticffmpeg.exe: command not found
try2
track_cmd.sh: line 5: start: command not found
try3
track_cmd.sh: line 8: start: command not found
try4
track_cmd.sh: line 11: start: command not found
done


    


    I have tried the examples posted in this question :
Bat file to run a .exe at the command prompt

    


    But none work. If I run the command C:\Users\marti\Documents\projects\jan2023-rendertune\RenderTune\node_modules\ffmpeg-ffprobe-static\ffmpeg.exe inside command prompt, I get ffmpeg, so I know the path works.

    


  • Convert m3u8 File URL to a GIF File [closed]

    30 juin 2023, par nxsi

    I have a m3u8 File URL that I got using the MusicKit API (Apple Music) which is an animated cover art for an album. (A quick side question on that. Is m3u8 the only format that Apple Music returns for animated cover arts ?)

    


    So, Now that I have that m3u8 file URL, I want to convert it to a GIF for the ease of use of GIFs.
I've tried using ffmpeg but I don't really seem to make it work at all with NodeJS.

    


    Here is a sample File URL of what Apple Music returns (https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8)

    


    TLDR ;
1- Is m3u8 the only format of animated cover arts that the MusicKit api returns ?
2- Can I convert that m3u8 file URL to a GIF, If so, How ?
3- Are there any other ways than ffmpeg to use in NodeJS ?

    


    I've tried using ffmpeg and the furthest I got was a GIF that was corrupted and not done correctly.
Here is the command I tried :

    


    ffmpeg -i "https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8" -vf "fps=10,scale=320:-1:flags=lanczos" output.gif


    


  • How can I convert a regular WAV file to a 4bit WAV file using ffmpeg ?

    17 février 2020, par Florin Mircea

    I have tried something along the lines of

    C :\ffmpeg\ffmpeg -i "Blip_Select2.wav" -c:a wav -sample_fmt u8 "Blip_Select2_8bit.wav"

    but I cannot figure out how to access a 4bit conversion.

    I am using the audio for a c# project, 4 bit is sufficient and I prefer wav so I won’t have to distribute a possibly restricted usage decoder with my files.

    Edit. I have found a solution using a different software (see my answer below), but I am accepting Mattias’s answer as he provided the solution as asked, with ffmpeg.