Recherche avancée

Médias (91)

Autres articles (83)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (7020)

  • How to assign variable to different extension of files in same directory in bash

    3 mai 2021, par Yacer Azeem

    I have a task to :

    


      

    1. Watch a folder for video files (mp4,mov,mkv etc.)
    2. 


    3. Transform the video files to HLS (480p, 720p, 1080p) using ffmpeg
    4. 


    5. Move these files to a different folder
    6. 


    7. Delete the original files from the watch folder
    8. 


    9. Send an email stating that the following video file was transcoded
    10. 


    


    I want to deal with every .mp4 .mov and .mkv as a variable in bash so that I can perform the above-mentioned tasks.
The folder containing these files are in

    


    /mnt/volume1/videos


    


    directory architecture

    


    /mnt/volum1/videos/sample.mp4
/mnt/volum1/videos/sample.mov
/mnt/volum1/videos/sample.mkv


    


  • Passing file name in youtube-dl post-process script without file extension suffix

    2 avril 2021, par Arete

    The documentation for youtube-dl says I can run a post-process command with the --exec option.

    


    Using Windows, here is an example I have tried :

    


    youtube-dl --exec "ffmpeg -i {} -ac 2 -c:a libfdk_aac -cutoff 20000 -afterburner 1 -vbr 0 {}.m4a" https://www.youtube.com/watch?v=sw9DlMNnpPM


    


    Note that {} passes the file name to the post-process command. For example filename.webm.

    


    The problem is that {} includes the file extension.

    


    How can I pass the file name to the post-process command without the file extension ?

    


    For example, if I were to convert the video, I would rather avoid getting an output name like filename.webm.m4a. Needless to say, I would rather want filename.m4a.

    


  • FFMPEG m3u8 encoding change extension of TS files to something else

    1er avril 2021, par Dilshan

    I'm using below command to encrypt a MP4 video into a m3u8 type.

    


    const cmd = "ffmpeg";
const args = [
  "-i",
  `${input}`,
  "-c",
  "copy",
  "-bsf:v",
  "h264_mp4toannexb",
  "-hls_list_size",
  "0",
  "-hls_time",
  "10",
  "-hls_key_info_file",
  "enc.keyinfo",
  `output/${outputFileName}.m3u8`,
];


    


    This works and output the data.but is there any possible way to tell ffmpeg to not add .TS extensions to the playlist items ?

    


    I manually update one of the playlist item in m3u8 file with some random file extension and it works.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://localhost/key/video.key",IV=0x00000000000000000000000000000000
#EXTINF:10.666667,
somerandomname // <-- Here I change it and when I play in a HLS player it works. 
#EXTINF:11.666667,
output1.ts
#EXT-X-ENDLIST


    


    Can I do this with the above command ?