Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (111)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9521)

  • FFMPEG fails to stream from .m3u8 over HTTP

    16 mars 2017, par Parsa Samet

    FFMPEG will fail to stream from .m3u8 over HTTP. It is pointing to getting an empty playlist whilst it’s not empty. It also points to the following error sometimes :

    Failed to open segment of playlist 0.

    UPDATE :

    The command that I use :

    ffmpeg -re -i http://cdn.live.domain.tld:port/radio.stream/playlist.m3u8?wmsAuthSign=xyz -vn -codec:a libmp3lame -b:a 64k -f mp3 -content_type audio/mpeg icecast://"source":"password"@destinationIPorDomain:8000/mountPoint

    Logs on macOS 10.12.3 :

    ffmpeg version N-83840-gce01065-tessus Copyright (c) 2000-2017 the FFmpeg developers


    built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb

     libavutil      55. 48.100 / 55. 48.100
     libavcodec     57. 82.102 / 57. 82.102
     libavformat    57. 66.104 / 57. 66.104
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100

    Input #0, hls,applehttp, from 'http://cdn.live.domain.tld:port/radio.stream/playlist.m3u8?wmsAuthSign=xyz':
     Duration: N/A, start: 26772.495667, bitrate: 52 kb/s
     Program 0
       Metadata:
         variant_bitrate : 54206
       Stream #0:0: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp, 52 kb/s
       Metadata:
         variant_bitrate : 54206
    Stream mapping:
     Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, mp3, to 'icecast://source:password@destinationIPorDomain:8000/mountPoint':
     Metadata:
       TSSE            : Lavf57.66.104
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 64 kb/s
       Metadata:
         variant_bitrate : 54206
         encoder         : Lavc57.82.102 libmp3lame

    [http @ 0x7f949ad03bc0] HTTP error 404 Not Foundbits/s speed=   1x

    [hls,applehttp @ 0x7f949c000000] Failed to reload playlist 0
    skipping 13 segments ahead, expired from playlists
    http://cdn.live.domain.tld:port/radio.stream/playlist.m3u8?wmsAuthSign=xyz: Server returned 404 Not Found

    Logs - Empty Playlist - on RHEL 7 - kernel 4.8.5 :

    ffmpeg version N-83691-g7f62368 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags='-L/root/ffmpeg_build/lib -ldl' --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55. 47.100 / 55. 47.100
     libavcodec     57. 81.100 / 57. 81.100
     libavformat    57. 66.102 / 57. 66.102
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100

    Empty playlist
    http://cdn.live.domain.tld:port/radio.stream/playlist.m3u8?wmsAuthSign=xyz: End of file

    And sometimes "Conversion Failed !" on RHEL 7 :

    Duration: N/A, start: 23599.450667, bitrate: 51 kb/s
     Program 0
       Metadata:
         variant_bitrate : 54206
       Stream #0:0: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp, 51 kb/s
       Metadata:
         variant_bitrate : 54206
    Output #0, mp3, to 'icecast://"source":"password"@destinationIPorDomain:8000/mountPoint':
     Metadata:
       TSSE            : Lavf57.66.102
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 64 kb/s
       Metadata:
         variant_bitrate : 54206
         encoder         : Lavc57.81.100 libmp3lame
    Stream mapping:
     Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [http @ 0x41c92e0] HTTP error 404 Not Found64.1kbits/s speed=0.997x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40965e0] HTTP error 404 Not Found51.2kbits/s speed=0.998x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x41c92e0] HTTP error 404 Not Found45.7kbits/s speed=0.999x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40cbec0] HTTP error 404 Not Found46.5kbits/s speed=0.999x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40cbc00] HTTP error 404 Not Found44.3kbits/s speed=0.999x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x4097300] HTTP error 404 Not Found44.0kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40965e0] HTTP error 404 Not Found44.8kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40cbc00] HTTP error 404 Not Found44.5kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x4096660] HTTP error 404 Not Found46.9kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40c74e0] HTTP error 404 Not Found47.5kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x4096260] HTTP error 404 Not Found
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40c7800] HTTP error 404 Not Found46.4kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40c64c0] HTTP error 404 Not Found46.1kbits/s speed=   1x    
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    [http @ 0x40c75a0] HTTP error 404 Not Found
    [hls,applehttp @ 0x408e4e0] Failed to open segment of playlist 0
    av_interleaved_write_frame(): Broken pipe  46.1kbits/s speed=0.956x    
    Error writing trailer of icecast://"source":"password"@destinationIPorDomain:8000/mountPoint: Broken pipe
    size=    2463kB time=00:07:17.29 bitrate=  46.1kbits/s speed=0.955x    
    video:0kB audio:2463kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001784%
    Conversion failed!
  • avformat/http: change error message from numeric code to string

    11 juillet 2019, par Steven Liu
    avformat/http: change error message from numeric code to string
    

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/http.c
  • FFmpeg : how to stream multiple http outputs

    25 octobre 2022, par Caner Demir

    I'm assigned to search for a solution to stream more than one http output in ffmpeg. I tried the code below which uses pipe, but only the last output works, other ones don't work. The solutions I tried with tee muxer also couldn't work. Any idea how can I do that ?

    &#xA;

    ffmpeg -re -i sample1.mp3 -i sample2.mp3 -filter_complex amix=inputs=2 -f mp3 pipe:1 | ffmpeg -f mp3 -re -i pipe:0 -c copy -listen 1 -f mp3 http://127.0.0.1:4000 -c copy -listen 1 -f mp3 http://127.0.0.1:4010&#xA;

    &#xA;

    The code I tried with tee muxer is below :

    &#xA;

    ffmpeg -re -i sample1.mp3 -i sample2.mp3 -filter_complex amix=inputs=2 -c:a mp3 -f tee "[listen=1:f=mp3]http://127.0.0.1:4000|[listen=1:f=mp3]http://127.0.0.1:4010"&#xA;

    &#xA;

    edit : shared the log with code.

    &#xA;

    ffmpeg -loglevel debug -hide_banner -re -i sample1.mp3 -filter_complex asplit=2 -c:a mp3 -listen 1 -f mp3 http://127.0.0.1:4000 -c:a mp3 -listen 1 -f mp3 http://127.0.0.1:4010&#xA;Splitting the commandline.&#xA;Reading option &#x27;-loglevel&#x27; ... matched as option &#x27;loglevel&#x27; (set logging level) with argument &#x27;debug&#x27;.&#xA;Reading option &#x27;-hide_banner&#x27; ... matched as option &#x27;hide_banner&#x27; (do not show program banner) with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-re&#x27; ... matched as option &#x27;re&#x27; (read input at native frame rate; equivalent to -readrate 1) with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;sample1.mp3&#x27;.&#xA;Reading option &#x27;-filter_complex&#x27; ... matched as option &#x27;filter_complex&#x27; (create a complex filtergraph) with argument &#x27;asplit=2&#x27;.&#xA;Reading option &#x27;-c:a&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;mp3&#x27;.&#xA;Reading option &#x27;-listen&#x27; ... matched as AVOption &#x27;listen&#x27; with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;mp3&#x27;.&#xA;Reading option &#x27;http://127.0.0.1:4000&#x27; ... matched as output url.&#xA;Reading option &#x27;-c:a&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;mp3&#x27;.&#xA;Reading option &#x27;-listen&#x27; ... matched as AVOption &#x27;listen&#x27; with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;mp3&#x27;.&#xA;Reading option &#x27;http://127.0.0.1:4010&#x27; ... matched as output url.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option loglevel (set logging level) with argument debug.&#xA;Applying option hide_banner (do not show program banner) with argument 1.&#xA;Applying option filter_complex (create a complex filtergraph) with argument asplit=2.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url sample1.mp3.&#xA;Applying option re (read input at native frame rate; equivalent to -readrate 1) with argument 1.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: sample1.mp3.&#xA;[NULL @ 00000216ab345b80] Opening &#x27;sample1.mp3&#x27; for reading&#xA;[file @ 00000216ab346180] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;[mp3 @ 00000216ab345b80] Format mp3 probed with size=4096 and score=51&#xA;id3v2 ver:4 flags:00 len:134&#xA;[mp3 @ 00000216ab345b80] pad 576 576&#xA;[mp3 @ 00000216ab345b80] Skipping 0 bytes of junk at 561.&#xA;[mp3 @ 00000216ab345b80] Before avformat_find_stream_info() pos: 561 bytes read:32768 seeks:0 nb_streams:1&#xA;[mp3 @ 00000216ab345b80] demuxer injecting skip 1105 / discard 0&#xA;[mp3float @ 00000216ab34f3c0] skip 1105 / discard 0 samples due to side data&#xA;[mp3float @ 00000216ab34f3c0] skip 1105/1152 samples&#xA;[mp3 @ 00000216ab345b80] All info found&#xA;[mp3 @ 00000216ab345b80] After avformat_find_stream_info() pos: 22065 bytes read:32768 seeks:0 frames:50&#xA;Input #0, mp3, from &#x27;sample1.mp3&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2mp41&#xA;    encoder         : Lavf58.45.100&#xA;  Duration: 00:12:58.48, start: 0.025057, bitrate: 128 kb/s&#xA;  Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc58.91&#xA;Successfully opened the file.&#xA;[Parsed_asplit_0 @ 00000216ab34fc80] Setting &#x27;outputs&#x27; to value &#x27;2&#x27;&#xA;Parsing a group of options: output url http://127.0.0.1:4000.&#xA;Applying option c:a (codec name) with argument mp3.&#xA;Applying option f (force format) with argument mp3.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: http://127.0.0.1:4000.&#xA;Matched encoder &#x27;libmp3lame&#x27; for codec &#x27;mp3&#x27;.&#xA;    Last message repeated 1 times&#xA;[http @ 00000216ab44d980] Setting default whitelist &#x27;http,https,tls,rtp,tcp,udp,crypto,httpproxy,data&#x27;&#xA;

    &#xA;