Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (72)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 (...)

Sur d’autres sites (10494)

  • split videos with ffmpeg

    23 novembre 2020, par 5Diraptor

    I'm trying to create a script that scans a directory, and for all videos larger then X size, splits them down into smaller chunks.

    


    There are two similar questions :

    


    


    Neither of these work in the way I want. The first you have to manually input every file that you want to process. The second doesn't check for filesize, or output the files in the way I want.

    


    So far, this is the contents of the .bat file :

    


    %~d1&#xA;&#xA;for %%a in (*.MOV) do (&#xA;&#xA;if %%~za GTR 2000000000 (&#xA;&#xA;REM usage %%a <filename>&#xA;set "_filename=%~n1"&#xA;set "_tally=.SPLIT-%03d"&#xA;set "_extension=%~x1"&#xA;&#xA;set "_outputname=%_filename%%_tally%%_extension%"&#xA;&#xA;&#xA;    ffmpeg -i "%%a" ^&#xA;        -crf 0 -c copy -map 0 -segment_time 00:00:30 -f segment -reset_timestamps 1 ^&#xA;        %_outputname%&#xA;)&#xA;)&#xA;pause&#xA;</filename>

    &#xA;

    My aim is for the script to work in the following way :

    &#xA;

      &#xA;
    1. Drag a video (from a folder of videos) onto the .bat file.
    2. &#xA;

    3. Script opens up, and targets each file ending .MOV, and is greater then 2GB
    4. &#xA;

    5. ffmpeg splits the video down into >2GB chunks. (I know it's currently split down in 30 second chunks, still working on understanding how to use the -fs parameter).
    6. &#xA;

    7. Each chunk gets saved with the original filename and extension, but the filename is suffixed with ".SPLIT" and then a unique number that relates to which file it is - first file is 000 and second is 001 etc.
    8. &#xA;

    &#xA;

    Problems :

    &#xA;

      &#xA;
    • Firstly, I want to split by filesize and not time, but I don't understand how to use the -fs parameter in this case. I guess I could use something like ffprobe -i input.file -show_format -v quiet | sed -n &#x27;s/duration=//p&#x27; in conjunction with it but I'm not confident...
    • &#xA;

    • Secondly, I'm getting a problem with %03d in the .bat. Think I'm mixing up languages ? It retrieves the filepath of the .bat file instead of counting number of loops.
    • &#xA;

    &#xA;

    Any help really appreciated !

    &#xA;

  • ffmpeg - correctly handling misaligned audio/video input stream before outputting to rtmp

    4 décembre 2020, par hedgehog90

    I use a video player called MPV to transcode a dynamic playlist of media files.

    &#xA;

    I pipe MPV's encoded output into FFMPEG and format it for rtmp delivery.

    &#xA;

    However the playlist may contain media with misaligned audio and video, ie - the audio track may be shorter / longer than the video track.

    &#xA;

    No matter what MPV will only output what it's given. So if my media file has audio that is 1 second long and video that is 2 seconds long, it will output a media stream with exactly the same misalignment, rather than generating null audio or skipping to the next item in the playlist when it first encounters an active stream ending (eof).

    &#xA;

    For example, assuming my playlist was full of problematic media where the audio and video of each file was misaligned :

    &#xA;

    enter image description here

    &#xA;

    If I output this media stream to a popular streaming service's server, it could lead to stuttering and/or loss of a/v sync.&#xA;Similarly, if I output this media stream to a file and played it back in MPV or another video player, the result appears to be more like this :

    &#xA;

    enter image description here

    &#xA;

    I have tried to fix this in MPV in all sorts of ways, trying every relevant command line option available. I even wrote a user script that detects 'eof' audio and skips to the next item in the playlist, but it is not fast enough and still leads to small gaps of audio.

    &#xA;

    So my only hope is correcting it in ffmpeg. In the event of null audio/video, I need a fallback or a generative filter that can fill these empty gaps with silence (audio) or a colour/image (video).

    &#xA;

    I'm open to any ideas, and if my understanding in a/v encoding is a little off please educate me.

    &#xA;

  • Complex, how to -o, -mv or similar into this code ? [closed]

    13 décembre 2020, par Sounds Good

    Trying to change location of output file&#xA;Using Windows>Ubuntu app>Shell/Cmd>Bash (because Windows alone code does not work at all)&#xA;Using Ffmpeg/Youtube-dl/Sed together&#xA;It works on its own :

    &#xA;

    ffmpeg $( youtube-dl -f bestvideo&#x2B;bestaudio --youtube-skip-dash-manifest -g https://www.youtube.com/watch?v=zSyNOO_gvUY | sed "s/.*/-ss 04:09 -to 04:15 -i &amp;/") -map 0:v -map 1:a -c:v libx264 -c:a aac name.mp4

    &#xA;

    Bash starts as : :/mnt/c/Users/Machine$

    &#xA;

    Fallowing just few of many problems I tried to figure out for this :

    &#xA;

    should I use / or \ to "subfolder"

    &#xA;

    Start from / or C or Desktop etc.

    &#xA;

    does -o need to be configured and if so how

    &#xA;

    placements after Youtube-dl or in the ending by keeping name.mp4 or not, or changing it to&#xA;&#x27;-o %(title)s.%(ext)s&#x27; (title change needed as well thought)

    &#xA;

    help.

    &#xA;