
Recherche avancée
Autres articles (34)
-
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 (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (3921)
-
ffmpeg Invalid data found when processing input
20 mai 2019, par SulliI’m trying to download a specific part of a youtube video with this code :
step=`youtube-dl -g -f 'bestvideo[ext=mp4]' https://www.youtube.com/watch?v=pMntMsHTDZ0`
ffmpeg -nostdin -i "$step" -ss 00:00:10.00 -t 00:00:02.00 -c copy frames/out.mp4but I’m getting this error :
https://manifest.googlevideo.com/api/manifest/dash/requiressl/yes/source/youtube/id/a4c9ed32c1d30d9d/itag/0/ei/fG7iXMihC8_oxwK0qJ-YAQ/playback_host/r6---sn-n4g-jqbd.googlevideo.com/mm/31%2C26/mn/sn-n4g-jqbd%2Csn-5hne6n7s/ms/au%2Conr/mv/m/pl/22/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/716250/mt/1558343198/fvip/4/ip/79.86.92.133/ipbits/0/expire/1558364892/sparams/ip%2Cipbits%2Cexpire%2Crequiressl%2Csource%2Cid%2Citag%2Cei%2Cplayback_host%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Chfr%2Cas%2Cinitcwndbps/signature/D046699C35F9AFF84334BAB20E1D8D4CA5318794.6EF1739E2ED134D16EBBE9242BDDE31F59801AAB/key/yt8: Invalid data found when processing input
I don’t understand this error, and this code has worked for tens of videos I’ve downloaded before.
How to fix this or get more information on the error ?
-
How to make mp4 rendering visible on Mac ?
24 octobre 2022, par JánosGenerating mp4 from gif like this :


await new Promise<void>((resolve, reject) => {
 ffmpeg
 .input(`/tmp/input_${name}.gif`)
 .outputOptions([
 '-c:v libx264',
 '-movflags +faststart',
 '-movflags frag_keyframe+empty_moov',
 ])
 .noAudio()
 .output(`/tmp/output_${name}.mp4`)
 .on('end', () => {
 console.log('MP4 video generated')
 resolve()
 })
 .on('error', (e) => {
 console.log(e)
 reject()
 })
 .run()
 })
</void>


will generate mp4, but can be watch only in Chrome, not in Safari or Quicktime Player.


We tried many other option like this :


'-pix_fmt yuv420p',
'-vf "scale=trunc(iw/2)*2:trunc(ih/2)*2"',



but it raise an error :


Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument





Using this framework in a React / Next.js project : https://github.com/eugeneware/ffmpeg-static


-
Animated Gif using PHP 5 and ffmpeg [closed]
1er décembre 2012, par user1828200I make an Animated Gif, by download a video from youtube with youtube-dl and then convert it into AVI with
ffmpeg
and then make animated gif throughconvert
. It works, but speed is very slow.Here is my code
Youtube Download :
shell_exec("youtube-dl -o JNJNoaIU7qs.flv --format=5 --audio-quality=9 http://www.youtube.com/watch?v=JNJNoaIU7qs);
Convert to AVI , because I want to make Small Gif so time manipulation is not done with youtube-dl thats why i convert avi with time manipulation
shell_exec("ffmpeg -i JNJNoaIU7qs.flv -sameq -ss 00:00:5 -t 00:00:10 JNJNoaIU7qs.avi");
Make Gif
shell_exec("convert -quiet -delay 0 JNJNoaIU7qs.avi JNJNoaIU7qs.gif");
It creates the GIF files, but it is very slow, how can I increase the speed of conversion ?