
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (48)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8984)
-
ffmpeg adding play image to thumbnail output
26 août 2014, par StealthRTHey all I am currently able to get a thumbnail capture from my MP4 video by doing the following command line :
[Sets Per-file main options time_off start time offset]
|| [The # of start time offsets]
|| || [Sets input video file option]
|| || || [Video file name here]
|| || || || [Sets video option to # of video frames to record]
|| || || || || [Asking for the first frame]
|| || || || || || [Name of the captured video frame]
|| || || || || || ||
\/ \/ \/ \/ \/ \/ \/
ffmpeg -ss 0 -i vidfile.mp4 -vframes 1 frame.pngNow as I said above, this command works just fine in producing a thumbnail of the first frame of my MP3 video. However, I am needing to place an overlay image of a "play" button on top of that newly created frame image.
Is there another command that i can tell it to overlay another image on top of frame.png ?
The image I would like to overlay on top of the frame looks like this (a transparent PNG) :
Any help would be great ! Thanks !
-
ffmpeg output doesn't play on multiple devices
22 janvier 2019, par jchaykowI have read the other stackoverflow posts regarding this topic so I am fairly certain this is not exact duplicate.
ffmpeg exports a video that seems to only play on select players. I want to export a video that plays on iphone/mac/general players. I have seen the suggestions for the
-pix_fmt yuv420p
tag but this does not seem to work anymore - I read that Mac has since changed their systems that makes it not compatible anymore.I am running :
ffmpeg -start_number 1 -framerate 4 -pix_fmt yuv420p -i screen%01d.png output.mp4
This all works fine and I can see the video by doing :
ffplay output.mp4
But I would like to be able to transfer this to mobile or general playback, any way to do this, ideally using ffmpeg ? I’d rather not use two tools to do 1 job.
- Works on gmail
- Doesn’t work on QuickTime Player
- Doesn’t work on Flip Player
- Doesn’t work on iPhone
-
PHP file that outputs a video does not play
2 septembre 2014, par Rob Avery IVSo, I created a php file that has the following code (abridged version) :
<?php
//Full version of file does a lot of database stuff
//Get $path of file
header('Content-type: video/mp4');
header('Content-Length: '.filesize($path)); // provide file size
$contents = file_get_contents($path);
echo $contents;I use this php to obtain the video content, so I don’t have to hardcode the video path into the HTML and so I can keep the videos outside public_html. I have tested this before, and it works with other video files.
Here is a timeline of where this file has been and what I’m trying to do :
- File is uploaded
- File is converted to mp4 using ffmpeg-php
- Stream it (similar to youtube) using the php code above
The file uploads and converts fine (I tested this by downloading the video file locally after it has been converted and I was able to play the video). I use the following ffmpeg command to convert ALL videos to mp4 :
"ffmpeg -i '".$srcFile."' -vcodec h264 -acodec aac -strict -2 -f mp4 '".$destFile."'";
My only problems is with step 3. When I use the above php file to output the video, it doesn’t work sometimes (Right now, it only works with a few videos). Every file I’m outputting is converted the same way with the above ffmpeg command.
How do I make it so I am able to convert all (or at least most) video files to be able to stream them ?