Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (65)

  • Ajouter notes et légendes aux images

    7 février 2011, par

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

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (9202)

  • I want FFMPEG generate the m3u8 file with the oldest segments instead of the newest

    4 juin 2021, par Sandi

    I have an FFmpeg command like this :

    


     ffmpeg -i test.mp4 -f hls -hls_time 2 -hls_wrap 10 -hls_list_size 5 test.m3u8


    


    Afaik, hls_wrap is the number of segments we want to store locally and hls_list_size is the segment listed in the m3u8 output file. The command above will generate 10 files of the video segment.

    


    [seg 0][seg 1][seg 2][seg 3][seg 4][seg 5][seg 6][seg 7][seg 8][seg 9]


    


    And inside the test.m3u8, of course, there are 5 newest segments listed.

    


    [seg 5][seg 6][seg 7][seg 8][seg 9]


    


    I want the test.m3u8 lists the oldest available segment instead of the newest. So it should contain :

    


    [seg 0][seg 1][seg 2][seg 3][seg 4]


    


    In another word, I want to preload the segments before it listed in test.m3u8.

    


    The idea is I want to rsync the output of that FFmpeg command to a different folder on the network. I want to avoid test.m3u8 contains a segment that not completely copied because of the large segment size.

    


    Please help me and pardon my English. Thank you very much !

    


  • Batch file to add separate audio file to MP4 file [closed]

    30 janvier 2021, par MrRoso

    I have a couple of video files (MP4) with audio in France.
Video1.mp4, Video2.mp4, Video3.mp4, ……
In the same directory, I have the same couple of audio files in English (m4a).
Audio1.m4a, Audio2.m4a, Audio3.m4a, ……

    


    The command

    


    ffmpeg -i "Video1.mp4" -i "Audio1m4a" -map 0 -map 1:a -c copy "Out.mp4"


    


    to add the audio file to the Video file works fine, but I need to do this for each video and audio file manually.

    


    I want to do this in a batch file, like this :

    


    @Echo off
for %%i in (*.MP4) %%j in (*.m4a) do ffmpeg -i "%%i" -i "%%j" -map 0 -map 1:a -codec copy "/new/%%~nI.mp4"


    


    But I get the follow error message :
"% j" cannot be processed syntactically at this point.

    


    Also the new batch file ends in an error :

    


    @Echo off
for /F tokens=i,j %%i in (*.MP4) %%j in (*.m4a) do ffmpeg -i "%%i" -i "%%j" -map 0 -map 1:a -codec  copy "/new/%%~nI.mp4"


    


    Error Message :
"i" cannot be processed syntactically at this point.

    


    Has someone a batch file for me, which is working ?

    


    Best regards

    


  • FFmpeg Batch Merge From Input Folder

    4 septembre 2022, par Parham.8

    I have this command that works perfectly fine :

    


    echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do ffmpeg -i "%%i" -c copy "outputs\%%~ni.mkv"


    


    I'm trying to make this command work as well with no success :

    


    echo off
mkdir inputs
mkdir outputs
set "InputFolder=%~dp0inputs"
for /R "%InputFolder%" %%i in (*.mp4) do (ffmpeg -n -i "%%~ni.mp4" -i "%%~ni-eng.srt" -c copy -max_interleave_delta 0 -map 0 -map -0:v:1? -map -0:v:2? -map 1 -fflags +bitexact -map_metadata:g -1 -map_metadata -1 -metadata title="" -metadata comment="" -metadata:s:v title="" -metadata:s:v language="und" -metadata:s:v VENDOR_ID="" -metadata:s:a title="" -metadata:s:a:0 language="eng" -metadata:s:a:0 handler_name="English" -metadata:s:a VENDOR_ID="" -metadata:s:s:0 language="eng" "outputs\%%~ni.mkv")


    


    Any suggestions to make it work ?