Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (62)

  • 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 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (5875)

  • 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


    


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

    


  • Using ffmpeg, extract audio streams from video file and output to single stereo wav file

    8 décembre 2016, par Quantum_Kernel

    I’ve been trying for a few hours to get the right arguments to do the below operation with ffmpeg, but i’m a bit out of my depth. If anyone can give me some guidance, that would be very helpful.

    Input file is MXF with one video track and two separate 48k 24b PCM audio tracks.
    I want to extract just the audio, map first track to left, second track to right and output as a stereo wave file.

    I am trying variations on the below command, but it seems to be unhappy about the video stream, giving the error

    "mapchan : stream #0.0 is not an audio stream."

    ffmpeg -i test2.mxf -vn -map_channel 0.0.1 output.wav_CH0 -map_channel 0.0.2 output.wav_CH1

    Here is ffmpeg’s analysis of the streams in case it is helpful :

       Stream #1:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], max. 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #1:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #1:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s