Recherche avancée

Médias (91)

Autres articles (92)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (9425)

  • How to make icecast relay the metadata of mp3 stream from ffmpeg ?

    8 janvier 2021, par Anonymous Mouse

    I'm trying to relay a internet radio stream with the command :

    


    ffmpeg -re -i 'http://internetradiourl'-vn -acodec copy -f tee -map 0:a "[f=mp3]icecast://source:pass@icecast:8000/a|[f=mp3]icecast://source:pass@icecast:8000/b"


    


    the output stream has all the metadata :

    


    Output #0, tee, to '[f=mp3]icecast://source:pass@icecast:8000/a|[f=mp3]icecast://source:pass@icecast:8000/b':
  Metadata:
    audiocodec      : MP3
    audiodevice     : IN  1+2 (Digigram LoLa280)
    audiodeviceid   : e08a462b-2944-4abf-894a-5d5e8649452d
    type            : event
    encoderMachineName: ERADIO
    hasAudio        : true
    hasCuePoints    : true
    hasKeyframes    : true
    hasVideo        : false
    source          : MediaProxy 4.4.13.6
    name            : ad
    ad_type         : endbreak
    cue_id          : b6c7ff39-2103-4442-bdc8-35f8ba2bb97d
    cue_time_duration: 44.365
    cue_time_start  : 1610035039552
    cue_title       : PSA - Danny - Parking (Jun 2020)
    encoder         : Lavf58.45.100
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 98304 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)


    


    but if a client connects to the icecast server, the metadata is lost :
ffprobe https://icecasturl/a

    


    Input #0, mp3, from 'https://icecasturl/a':
  Metadata:
    icy-pub         : 0
    icy-metadata    : 1
    StreamTitle     :
  Duration: N/A, start: 0.000000, bitrate: 96 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 96 kb/s


    


    How can I configure icecast so that it forwards all the metadata of the source stream ?

    


  • Convert SDR-JPEG to HDR-AVIF [closed]

    27 avril 2024, par Jonas Janzen

    I would like to convert a jpg file into an avif file that is to be saved in HDR10-capable metadata (PQ curve, 2020 color space, 10 bit).

    


    The idea is to save normal SDR images in HDR-capable containers so that they can be displayed in all their glory on HDR-capable displays.

    


    I want to play with inverse tone mapping, to manipulate the output, so I implemented in Python via subprocess.

    


    So far I just want the input image to be saved in AVIF as HDR and look the same at the end as before, so that I can then make changes in the next step.

    


    I used the following command for this :

    


    ffmpeg_command = [
'ffmpeg',

    


    Input File
'-i', temp_file,

    


    Used Library
'-c', 'libaom-av1',

    


    '-still-picture', '1',

    


    Output Metadata
'-pix_fmt', 'yuv420p10le',
'-strict', 'experimental',
'-color_primaries', 'bt2020',
'-color_trc', 'smpte2084',
'-colorspace', 'bt2020nc',
'-color_range', 'pc',

    


    Output File
output_file
]

    


    So far my attempts have only been successful with the HLG characteristic. Here you can see that the images are really brighter in the peaks on my HDR monitor.

    


    With the PQ characteristic curve, the images are far too oversaturated.

    


    I guess this is because the HLG curve is compatible with the gamma curve, but PQ is not.

    


    Now my question is what I need to change.

    


    Which curve does FFMpeg expect as input.

    


    In Python I can change the images mathematically without any problems.

    


    The Example Images are again tone mapped down to jpg, to show what happened.

    


    enter image description here
enter image description here

    


  • FFMPEG restream m3u8 to Youtube keeps returning "Failed to update header with correct duration & filesize" after 1st segment

    12 septembre 2020, par user3263433

    I'm trying to retream a m3u8 live feed toYouTube but I keep running into errors.

    


    When watching the feed in a webplayer it works fine.

    


    The headers of the m3u8 file are as follow :

    


    #EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:127629
#EXT-X-DISCONTINUITY-SEQUENCE:0
#EXT-X-PROGRAM-DATE-TIME:2020-09-12T12:57:13.280Z


    


    Here is the ffmpeg log :

    


    frame=  226 fps= 25 q=29.0 size=    1303kB time=00:00:07.04 bitrate=1516.2kbits/frame=  238 fps= 

    25 q=23.0 size=    1414kB time=00:00:07.52 bitrate=1540.5kbits/[https @ 0x56067993d3c0] Opening 'fileurl.ts' for reading
    frame=  250 fps= 25 q=19.0 size=    1536kB time=00:00:08.00 bitrate=1572.8kbits/frame=  251 fps= 24 q=17.0 size=    1536kB time=00:00:08.04 bitrate=1565.3kbits/[flv @ 0x560679c4be40] 
Failed to update header with correct duration.
    [flv @ 0x560679c4be40] Failed to update header with correct filesize.
    frame=  251 fps= 22 q=-1.0 Lsize=    1851kB time=00:00:09.92 bitrate=1528.0kbits/s dup=0 drop=499 speed=0.859x


    


    It seems like it loads 1 .ts file fine but fails after that.

    


    I'm currently using :

    


    ffmpeg -re -i (urlToM3U8) -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/(streamkey)