
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (61)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (9204)
-
Cannot Play Video Output of Libavcodec (ffmpeg) Encoding Example
29 octobre 2019, par user3707763From FFMPEG’s GitHub, I use the
encode_video.c
to generate a 1 second video. Here is the example in question : https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/encode_video.cI compile with :
gcc -Wall -o ffencode encode_video.c -lavcodec -lavutil -lz -lm
Clean compile, zero warnings.
I test the program by running :
./ffencode video.mp4 libx264
Lots of stats printed out (expected based on source code) as well as ffmpeg logs, but ultimately no errors or warnings.
However, then the generated output
video.mp4
, can only be played byffplay
, and VLC Player (as well as Google Chrome) fail to play the video.Playing it via
vlc
command line actually prints :[00007ffd3550fec0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
TagLib: MP4: Invalid atom size
TagLib: MP4: Invalid atom size
TagLib: MP4: Invalid atom sizeLooking at
ffprobe
output, the bitrate and duration fields are empty :Input #0, h264, from 'video.mp4':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 352x288, 25 fps, 25 tbr, 1200k tbn, 50 tbcI am using ffmpeg 4.1 with the following configuration :
ffprobe version 4.1 Copyright (c) 2007-2018 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100Any ideas how to fix this ? It is pretty surprising to see an API’s official example to be lacking such basic information.
-
how to build built-in video editor using HTML, CSS, JS ? [closed]
29 avril 2021, par Ayca SolmazI'm trying to build a website with a built in video editor where the user would upload a video and the video would just show up on the video editor and from there they can trim the video (let's say from 1:24-2:30)


I have basic knowledge on FFMPEG but I was looking for a way to do this with Javascript. I have a slider where you can select a range, it's just the trimming part I'm struggling with. I have set up UI's as well where there're two sliders to select the range and a trim button. I'd appreciate any help at this point.


-
Play video in Android using FFMPEG
24 juin 2013, par Jagdeep SinghI had build
FFmpeg
library in Android(NDK) using this. But this example is too basic. It just checks if the video is present or not. What I want to do is just to play the video usingFFMPEG
. Is there any example or any code which can help me on this ?Thanks in advance.