
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (44)
-
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 -
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 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 (7687)
-
Why video size is increasing after adding watermark to video using FFMPEG ?
18 novembre 2019, par Milan TejaniI am adding watermark to video using FFMPEG where i use
-preset ultrafast
in FFMPEG command.which add watermark to video very fast but due to this my output video size increased.ffmpeg -i input.mp4 -i mt.png -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -codec:a copy -preset ultrafast output.mp4
Without Using
-preset ultrafast
input video size 5MB and output video size 5MB
Using
-preset ultrafast
input video size 5MB and output video size 11MB
-
FFMPEG scaling video disable viewing it while process is not ended, for video transcoding on the fly
5 juillet 2022, par Lucas FGood day all,


I'm working on a video player with 1080p original video files, and I would like to change their resolution on the fly :


Actually I host all my original video files under a web mp4 1080p format, and I would like to be able to offer 720p, 480p, etc ... qualities.


So I started to look for tutorials about video transcoding on the fly and I found the FFMPEG tool.


I'm actually using the following command to scale videos - to 720p for e.g. :


ffmpeg -i input.mp4 -vf scale=-1:720 output.mp4



The problem is, once FFMPEG starts scaling it, I have to wait the end of the process before being able to play the video. Do you know if there is any parameter for this command to allow playing the video while it's under scaling ?


Or any workaround that can help me doing this ?


Thank you in advance for your help !


EDIT


Now I found how to access readable content while transcoding (by transcoding to fragmented MP4) :


ffmpeg -i input.mp4 -vf scale=-2:720 -movflags +frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov output.mp4



But my problem is when opening the video it comes as an "ended" video of the current transcoded data.


So if video lasts 1min and is half transcoded, I'll see only 30s, it will not load more data, once the rest is transcoded.


-
Aforge.NET Video Size Decreases When Writing Back Frames to the Video
23 août 2016, par Irfan Babartry { VideoFileReader reader = new VideoFileReader();
VideoFileWriter wrt = new VideoFileWriter();
tot = reader.FrameCount;
wrt.Open("outvid.mp4",reader.Width,reader.Height,reader.FrameRate,VideoCodec.MPEG4);
Bitmap videoFrame = null;
for (int i = 1; i <= tot; i++)
{
videoFrame = reader.ReadVideoFrame();
wrt.WriteVideoFrame(videoFrame );
videoFrame .Dispose();
}
wrt.Close();
reader.Close();
}
}
catch (Exception exc)
{
MessageBox.Show( exc.ToString());
}after writing back the video size and resolution also decrease, what shoud i do to make perfect frame writing back into the video ?
Actually I am reading frame by frame from one video and writing that video frame in another video without any modification,Please suggest me solutions