
Recherche avancée
Autres articles (41)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (4770)
-
Convert video to exactly the same stream type of other video in ffmpeg
14 avril 2014, par user1750371Maybe this is a silly question, didn't manage to find a clear answer anywhere.
I need to use ffmpeg to convert a given video to exactly the same format another video has, including bitrate, video and audio codecs... everything. The goal is to concat both videos into a single file, independently of the original formats.
Is there an easy way to do this or do I have to build a complex command line input specifying all parameters ?
The concat demuxer is not enough... maybe something with filter_complex ?
Thanks and sorry for the bother.
-
Merging 3 separate commands into one that re-encodes a video, extracts a thumbnail, delete original and rename new video in subdirectories
16 janvier 2017, par Ali SamiiI am trying to execute a find bash command to process hundreds of video files that are all named
video-original.mp4
but are in subdirectories of a parent directory.Here’s an example of the directory structure :
videos
├── 01a
│ └── video-original.mp4
├── 01b
│ └── video-original.mp4
├── 02a
│ └── video-original.mp4
├── 02b
│ └── video-original.mp4
├── 03a
│ └── video-original.mp4
└── 03b
└── video-original.mp4I am using the following command :
find ./ -name 'video-original.mp4' -exec bash -c 'ffmpeg -i "$0" -f mp4 -vcodec libx264 -preset veryslow -profile:v high -acodec aac -movflags faststart video.mp4 -hide_banner' {} \;
The problem I am having is that it is saving the file
video.mp4
in the parentvideos
directory, instead of in the subdirectory next to the originalvideo-original.mp4
Afterwards, I want to delete the file
video-original.mp4
. Currently, my process entails waiting for all the videos to be reencoded, and then once complete, issuing a separate command to delete the filevideo-original.mp4
:find ./ -name 'video-original.mp4' -exec bash -c 'rm -rf "$0"' {} \;
And my final step would be to extract a screenshot of the new
video.mp4
at 10 seconds and save it asthumbnail.jpg
. Again, I am currently doing that as a separate step that I execute after the previous two steps are completed.find ./ -name 'video.mp4' -exec bash -c 'ffmpeg -i "$0" -ss 00:00:10 -vframes 1 thumbnail.jpg' {} \;
What I would like to do is combine these three steps into a single command so the end result will be :
videos
├── 01a
│ ├── thumbnail.jpg
│ └── video.mp4
├── 01b
│ ├── thumbnail.jpg
│ └── video.mp4
├── 02a
│ ├── thumbnail.jpg
│ └── video.mp4
├── 02b
│ ├── thumbnail.jpg
│ └── video.mp4
├── 03a
│ ├── thumbnail.jpg
│ └── video.mp4
└── 03b
├── thumbnail.jpg
└── video.mp4Finally, it would be great to save that as a bash script and include it in my path in
/usr/local/bin
or~/bin
as an executable so I could just issue the commandreencode
and it would run. Would be even better if the input file could have any video file, for example,random_name.mp4
orrandom_name.mov
orrandom_name.webm
, basically any video file (but skippingvideo.mp4
at the encoding step). -
Sync Video Multitrack Recording (with video.js and FFMpeg ?) [closed]
28 avril 2020, par finnkI am writing a web application that gives the ability to record multiple videos and merge them into a single split-screen video. The videos have to be synchronous with each other, so if the user had already recorded a video, it will playback on the next recording. So the captured video(s) play(s) while recording.
Right now, I implemented it by using video.js and videojs-record. 
I merge the videos server-side using FFmpeg( client-side would be much better, but I didn't figure out how to achieve this)



When I start the record, the playback of each recorded video begins as well. 
This approach produces, of course, a small latency between the videos.



Any suggestions on how to sync the recordings ?



Do you know ay better other libraries ?



Thank you & Best regards,