
Recherche avancée
Autres articles (79)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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.
Sur d’autres sites (8788)
-
How to merge multiple video files into one video only
1er août 2017, par shamaleyteI have multiple webm video files of a conference call.
However, each participant joined the call at a different time which resulted in the fact that each video file has a different startTimeOffset values.Video Start Time
Video1 : 00:00
Video2 : 00:10
Video3 : 01:40
My purpose is to play back this conference. However, I do not record the conference as 1 video, it is recorded with multiple video files, instead.
Is there any best practice to stitch such videos accordingly ?
Maybe by ffmpeg library ?There is also a paid solution ; https://aws.amazon.com/about-aws/whats-new/2016/11/amazon-elastic-transcoder-adds-support-for-clip-stitching/ ) to merge video fragments to a single clip, this will make the client-side much simpler. But any free practice of doing it ?
The expected outcome is to have 1 video showing 3 videos in a grid.
When ffmpeg stitches the videos, it should consider their start time values properly so that the videos are played accordingly. -
Move metadata from end of video to start of video ?
25 octobre 2013, par Ahmed NawazI am recording video using javacv(ffmpeg and open cv) then cutting and merging with mp4parser. Then converting from H263 to H264 using Javacv. After doing these all things getting my required video with a little problem that metadata is on the end of file due to ffmpeg and I can't play video progressively. I am able to move data on pc using qt-faststart after that my video is fine. However I want to move data from end to start in my android application is it possibal to move data using mp4parser or some other library in android ??
I have tried followings.
recorder.setVideoOption("-movflags", "faststart");
recorder.setVideoOption("movflags", "faststart");
recorder.setVideoOption("movflags", "+faststart"); -
Extract image from video in Python using ffmpeg and subprocess
13 juin 2021, par MevonMe and a friend are currently working on a twitter bot which uploads images taken from randomly chosen video files.

We are using ffmpeg, withsubprocess.call()
, to get out.jpg from a video file,

which is working fine when the subtitles are hardcoded into the video.

We've also made it burn the subtitles into the out.jpg outside of python, but when trying it inside pyhton withsubprocess.call()
it won't work and it will say :

Output /file/path/to/file.mkv same as Input #0 - exiting
FFmpeg cannot edit existing files in-place.



This is the code for harcoded subtitles.


subprocess.call(
 ['ffmpeg', '-y', '-ss', str(randomTime), '-i', filepath, '-vframes', '1', '-vf', 'scale=1920:1080', '-q:v', '1',
 '-qmin', '1', tmpfilename])



And this the code for non hardcoded subtitles.


subprocess.call(
 ['ffmpeg', '-y', '-ss', str(randomTime), '-copyts', '-i', filepath, '-vf', 'subtitles', filepath, '-vframes', '1', '-vf', 'scale=1920:1080',
 '-vf', '-q:v', '1', '-qmin', '1', '-frames:v', '1', tmpfilename])



Also both me and my friend are not so sure if calling ffmpeg using
subprocess.call()
is the right way to do it in python.

Any kind of help is welcome and please ask me for more code or more details if needed.