Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (90)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (8971)

  • Concatenate mkv files keeping original timestmap with gaps

    13 août 2020, par Filip

    16 days ago I had this problem : Concatenating mka files but keeping timestamp which I fixed by using amix, a delay by using start_pts from ffprobe.

    


    Today I have a new challenge like this, but with video.

    


    So I have a bunch of mkv videos. Each time a person joins a chat, a mkv is recorded, but if the person refreshes the page a new mkv is created with start_pts and start_time to what it actually is. Also if the meeting started and a person joins after a minute, the start_time is set to 1 minute. I need to merge all those mkv and pad them with blank screen when there is no feed.

    


    Like in the above example, if a person joins after a minute, the first minute is a blank screen. Also if the participant leaves and re-joins after 10 seconds, those 10 seconds are blank again.

    


    Any ideas on how to do that with ffmpeg ?

    


    Concrete example of files :

    


    0PA84c5c3f412769b311d44b159941b2d22.mkv - start_pts: 742 start_time: 0.742000
2PA73d94e8cb0f41c3002fadd6c04b4a88f.mkv - start_pts: 30761 start_time: 30.761000
3PAcd35e470325618fa8a3fb8bb5a41403e.mkv - start_pts: 50940 start_time: 50.940000
4PAddccde7b8847ecc43d5e8643b7903dba.mkv - start_pts: 69243 start_time: 69.243000


    


    The end file would result in a file with length 69.243000, first 0.742 seconds are blank and also the gaps between should also be blank.

    


    So far i've tried :

    


    ffmpeg -i 0PA84c5c3f412769b311d44b159941b2d22.mkv -i 2PA73d94e8cb0f41c3002fadd6c04b4a88f.mkv -i 3PAcd35e470325618fa8a3fb8bb5a41403e.mkv -i 4PAddccde7b8847ecc43d5e8643b7903dba.mkv -filter_complex "[0:v] [1:v] [2:v] [3:v] concat=n=4:v=1 [v]" -map "[v]" test.mkv

    


    This works but without those gaps i mentioned.

    


  • Bulk Conversion Of Kubuntu Master Video Folder Using FFmpeg ?

    12 janvier 2019, par Sarah Szabo

    I have an old archive of videos (Around 400GB/1024 files) that are heavily structured due to the program that created them at the time.

    There is a single folder called master that contains many other folders for specific events that were recorded. I was thinking of using for i in *.vob; do ffmpeg -i "$i" "${i%.*}.mp4"; done (From another SO user’s answer on another question), but this is insufficient since the .vob files aren’t all in the master folder are are instead in different folders in master.

    Furthermore, the .vob titles are nonsense (And even worse overlapping ! Video 1 (In Folder 1), Video 1 (In Folder 2) so they can’t all be named the same thing in the same folder if I joined all of them.

    My question is can I do a tree traversal of master using a script (I’m running KDE) that takes each .vob files and converts it using somthing similar to for i in *.vob; do ffmpeg -i "$i" "${i%.*}.mp4"; done in master, but with the name of the folder instead of the name of the file ?

    So, if we were in the Assault On The Control Room folder and converted Video 1 and Video 2, could this output Assault On The Control Room 1 and Assault On The Control Room 2 and move the converted file to /somefilepath/master2 that contains all the converted files ?

    The labels would obviously be set using ffmpeg and a for loop, but my scripting skills aren’t up to this task yet.

    EDIT 0 : Output of shopt -s globstar; for v1 in **/*.vob; do v2=$(awk -F'/' '{print "/somefilepath/master2/" $(NF-1) " - " $NF ".mp4"}' <<< "$v1"); ffmpeg -i "$v1" "$v2"; done

    sarah@ConvergentRefuge:/media/sarah/SENTINEL/Master$ shopt -s globstar; for v1 in **/*.vob; do v2=$(awk -F'/' '{print "/media/sarah/SENTINEL/Videos/NewMaster" $(NF-1) " - " $NF ".mp4"}' <<< "$v1"); ffmpeg -i "$v1" "$v2"; done
     ffmpeg version N-91290-g6129b13 Copyright (c) 2000-2018 the FFmpeg developers
       built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
       configuration: --prefix=/home/sarah/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/sarah/ffmpeg_build/include --extra-ldflags=-L/home/sarah/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/sarah/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
       libavutil      56. 18.102 / 56. 18.102
       libavcodec     58. 20.102 / 58. 20.102
       libavformat    58. 17.100 / 58. 17.100<br />
       libavdevice    58.  4.101 / 58.  4.101<br />
       libavfilter     7. 25.100 /  7. 25.100<br />
       libswscale      5.  2.100 /  5.  2.100<br />
       libswresample   3.  2.100 /  3.  2.100
       libpostproc    55.  2.100 / 55.  2.100
     **/*.vob: No such file or directory
     

    EDIT 1 : View of Master Folder
    View of Master Folder

  • Is there a way to use InputStream to get the media details

    13 mai 2019, par Naman

    I am currently accepting InputStream from a client of my server for a File uploaded via multipart/form-data.

    I am currently using ffmpeg-cli-wrapper library to use ffprobe and ffmpeg.

    The challenge I see up front is that the APIs exposed by the client doesn’t make use of a stream, rather a mediaPath. Is there a way/library similar to this which can provide me an FFProbe instance as shown in the usage example of the library.

    To add to the pain, I am aware of transforming the InputStream into a file and then passing the mediaPath. But that’s an unnecessary space on my processing disk and an additional step for cleanup as well.