Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (60)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8613)

  • Converting MP4 to HLS via ffmpeg producing stream with start delay

    24 mai 2018, par Eugene Alexeev

    I’m trying to convert mp4 to hls via this FFMpeg command :

    ffmpeg -i 1.mp4 -vcodec copy -q:v 5 -hls_time 5 -hls_list_size 0 -f hls 1.m3u8

    Command is working fine, without any errors whatsoever. BUT, when I’m trying to play brand-new HLS stream locally I noticed that it has a fixed start delay. I checked metadata of stream with ffprobe 1.m3u8 And that’s what I got :

    Input #0, hls,applehttp, from '1.m3u8':
     Duration: 00:00:11.17, start: 1.400000, bitrate: 0 kb/s
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 30 fps, 30 tbr, 90k tbn, 180k tbc
       Metadata:
         variant_bitrate : 0

    As you can see, parameter start has value of 1.400000 and I believe that’s the reason of this annoying start delay. My question is - how can I get rid of that ?

    I tried to set start time with -ss flag but it doesn’t affect an output at all. Also input is perfectly fine, I tried to convert it with the same command but to .mp4 and I got correct results. Am I missing something here ? I would be very appreciated for any help. Thanks.

  • Not able to change the program number for the video

    17 mai 2018, par C.B. Akshay Kumar

    I have been trying to change the program number of a particular .ts file using FFmpeg without any success. I saw the documentation and it mentions to use the -program option. But, I am not able to add the streams as I desire. Here’s the program information for the stream that I possess currently :

    Input #0, mpegts, from 'output_2_without_pgm_num.ts':
     Duration: 00:01:49.92, start: 1.400000, bitrate: 1816 kb/s
     Program 1
       Metadata:
     service_name    : Service01
     service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](ger): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s (clean effects)
    Stream #0:2[0x102](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s (clean effects)
    Stream #0:3[0x103](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)

    Now, I want to change the program number from 1 to 22. Any idea how I could do that ? I have tried using -program option, but I can’t add streams 2 and 3 to the newly created .ts file.

    Thanks in advance !

  • Choose download resolution in m3u8 list with ffmpeg

    31 mars 2024, par Bruno Andrade

    I'm trying to download video from a m3u8 playlist using ffmpeg but I do not know how to choose the resolution to download. Currently the command is downloading the highest version

    



    the command I am using is :

    



    /home/user/bin/ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0" -i "https://sitevideo.com/list.m3u8" -c copy "/home/file/video.ts"


    



    My list is this

    



    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=400000,NAME="low"
size1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=800000,NAME="med"
size2.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1900000,NAME="best"
size3.m3u8