
Recherche avancée
Autres articles (54)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5089)
-
Using ffmpeg, extract audio streams from video file and output to single stereo wav file
8 décembre 2016, par Quantum_KernelI’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 -
running ffmpeg.exe from inside bash file [duplicate]
3 février 2023, par MartinHello I am trying to run ffmpeg from inside a
track_cmd.sh
file which I run inside command prompt using the commandbash 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 nxsiI 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