
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 (38)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...)
Sur d’autres sites (5502)
-
Video from VFR Image Sequence
12 octobre 2014, par Stryker33I am using
ffmpeg
to create video from an image sequence that is taken from the AndroidCamera
’sPreviewCallback
methodonPreviewFrame
...The images are written to a pipe that is connected to
ffmpeg
’sstdin
using the command :ffmpeg -f image2pipe -vcodec mjpeg -i - -f flv -vcodec libx264
The problem that’s arising is that the output video is very short as compared to the actual recording time and all of the frames are shown very rapidly...
But when the frame size is set to the lowest supported preview size, the video appears to be in sync with the actual recording time...
As far as I reckon this seems to be an issue related to the frame rate of the input image sequence and that of the output video...
But the main problem is that the frames that are generated from
onPreviewFrame
are of variable rates...Is there any way to construct a smooth video from an image sequence having variable frame rate...?
Also, the image sequence is muxed with audio from the microphone which also appears to be out of sync with the video...
Could the video generated using the above process and audio from the microphone be muxed in perfect synchronization...?
-
ffmpeg with zoom, combine video & audio
30 août 2021, par P JewelleryI have 4 input,


- 

- Main video (No audio in the video)
- logo.png (always stay on top right corner)
- image.jpg (Locate at the end of video, Have different ratio with main video)
- audio.mp3 (The only audio input)










The below code helped me to edit the main video.


for %%a in ("*.mp4") do c:\ffmpeg.exe -i "%%a" 
-filter_complex " 
[0:v]trim=0.13:2.5, setpts=PTS-STARTPTS [v0]; 
[0:v]trim=0.13:2.5, reverse,setpts=PTS-STARTPTS[v1]; 
[0:v]trim=28.5:31, reverse,setpts=PTS-STARTPTS [v2]; 
[0:v]trim=28.5:31,setpts=PTS-STARTPTS [v3]; 
[0:v]tpad=stop_mode=clone:stop_duration=2, trim=0.13:31,setpts=0.5*PTS-STARTPTS [v4];
[0:v]trim=30.95:31,tpad=stop_mode=clone:stop_duration=5,setpts=PTS-STARTPTS [v5]; 
[v0][v1][v2][v3][v4][v5]concat=n=6:v=1:a=0[out]" -map "[out]" "%%~dpnaf.mp4"



However, I want to


- 

-
add a logo at top right of the video throughout the whole video.


-
add an image.jpg at the end of my edited main video.


-
add the audio.mp3 throughout the whole final output video. (duration depends on the video.)


-
apply a continuous zoom in for [v0]&[v1] (Since v1 is reverse of v0, after the zooming, ending image of v1 is bigger than starting image of v0, so v0,v1 looks like a smooth zoom in video)












"scale=2160x2160,zoompan=z='min(max(zoom,pzoom)+0.01,5.0)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=125:s=2160x2160",



and a continuous zoom out for [v3] & [v4]


All the about to be able to run through a single bat file.


-
RTSP to file using IMediaTools errors
4 décembre 2014, par predy23Im trying to save a streaming with RTSP to file with IMediaTools. If I use the local file path of the video in the IMediaReader, it goes nice without errors, but if i make a RTSP streaming of the video and I use the RTSP direction in the IMediaReader i have a lot of errors like this one :
ERROR org.ffmpeg - [h264 error while decoding MB 50 44, bytestream (td)
I can open the output file but it have a lot of blurry zones and its not smooth.
This is my code :
public static void main(String[] args) {
// TODO code application logic here
//create a media reader
System.out.println("starting video conversion..");
// create a media reader
IMediaReader reader = ToolFactory.makeReader(inputFilename);
IMediaWriter writer = ToolFactory.makeWriter(outputFilename, reader);
// add a debug listener to the writer to see media writer events
writer.addListener(ToolFactory.makeDebugListener());
reader.addListener(writer);
// read and decode packets from the source file and
// and dispatch decoded audio and video to the writer
while (true) {
if (reader.readPacket() != null) {
break;
}
}
reader.close();
writer.close();
System.out.println("video conversion finished..");
}