Recherche avancée

Médias (91)

Autres articles (60)

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

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

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

  • Core : Improve elementValue method

    31 mars 2014, par staabm
    Core : Improve elementValue method
    

    Do not rewrap several times. Call .val() only when required.

    Closes #1055

  • Dolby Vision Mp4 to HLS Stream

    23 avril 2022, par goodkid38

    Is it possible to create a dolby vision HLS stream with ffmpeg ? I have tried online tutorials such as this one https://codecalamity.com/encoding-uhd-4k-hdr10-videos-with-ffmpeg/#saving-dolby-vision but I have not seen any success. I either get hevc files with no dv from tsmuxer, invalid rpu files or the Skipping NAL unit 63 message from ffmpeg. Here is the current ffmpeg command I'm testing to at least get an hevc with dolby vision

    


    ffmpeg -i input.mp4 -c:v copy -f hevc - | dovi_tool extract-rpu --rpu-out input.rpu - | x265-10b - --input-depth 10 --output-depth 10 --y4m --preset veryfast --crf 22 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(40000000,50)" --max-cll "0,0" --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --dolby-vision-rpu input.rpu --dolby-vision-profile 8.1 --vbv-bufsize 20000 --vbv-maxrate 20000 output.hevc 


    


    I have also tried with dovi_tool like so

    


    ffmpeg -i nameofmovie.mp4 -f yuv4mpegpipe -strict -1 -pix_fmt yuv420p10le - | x265-10b - --input-depth 10 --output-depth 10 --y4m --preset veryfast --crf 22 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(40000000,50)" --max-cll "0,0" --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --dolby-vision-rpu input.rpu --dolby-vision-profile 8.1 --vbv-bufsize 20000 --vbv-maxrate 20000 output.hevc


    


    Which gives me this error :

    


    [hevc @ 000002f047aaf1c0] Skipping NAL unit 63
    Last message repeated 1 times
av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument00:00:00.04 bitrate=4772857.0kbits/s speed=0.297x
frame=    1 fps=0.0 q=-0.0 Lsize=   24300kB time=00:00:00.04 bitrate=4772857.0kbits/s speed=0.261x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5271783.500000%
Error closing file pipe:: Invalid argument
[hevc @ 000002f047cc0b80] Skipping NAL unit 63
    Last message repeated 8 times
[hevc @ 000002f047a23dc0] Skipping NAL unit 63
    Last message repeated 1 times
[hevc @ 000002f0480be640] Skipping NAL unit 63
    Last message repeated 1 times
Conversion failed!


    


    Theoretically I'd like to go from mkv straight to HLS with dolby vision but that seems to be even more problematic.

    


    Any suggestions ?

    


  • avconv transcoding drops frames

    7 mars 2015, par ziggestardust

    I have a logitech c920 that I can send perfectly fine to a wowza server with this with excelent results :

    ./capture  -o -c0|avconv -f alsa  -b 128k -i hw:1   -re -i - -vcodec copy  -ar 44100 -bufsize 1835k   -map 0:0 -map 1:0 -f flv rtmp://myhost/live/streamname

    (capture program is from here : http://derekmolloy.ie/streaming-video-using-rtp-on-the-beaglebone-black/ I’m not using beaglebone, but his capture software runs excellent on my debian pc)

    However, I want to store the h264 stream from the camera down to disk, and later send it in a lower resolution with avconv so I’m playing with libx264

    It seems I can’t even do this without getting drops :

    ./capture  -o -c0|avconv -f alsa  -b 128k -i hw:1   -re -i - -vcodec libx264  -ar 44100 -bufsize 1835k   -map 0:0 -map 1:0 -f flv rtmp://myhost/live/streamname

    This is what avconv ’-v verbose’ shows :

    alsa @ 0x864b940] Estimating duration from bitrate, this may be inaccurate
    Input #0, alsa, from 'hw:1':
     Duration: N/A, start: 22758.998967, bitrate: N/A
       Stream #0.0: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
    .................................................................................................................................[h264 @ 0x8659400] max_analyze_duration reached
    [h264 @ 0x8659400] Estimating duration from bitrate, this may be inaccurate
    Input #1, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #1.0: Video: h264 (Constrained Baseline), yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 48 tbc
    Parsing...
    Parsed protocol: 0

    ...... and then this :

    Output #0, flv, to 'rtmp://mystream/live/streamname':
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 200 kb/s
       Stream #0.1: Video: libx264, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], q=-1--1, 1k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
     Stream #1:0 -> #0:1 (h264 -> libx264)
    Press ctrl-c to stop encoding
    [alsa @ 0x864b940] ALSA buffer xrun.
    *** drop!
       Last message repeated 39 times
    *** drop!11 fps=  0 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=40    
       Last message repeated 46 times
    *** drop!22 fps= 21 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=87    
    .    Last message repeated 20 timesss
    .....*** drop!   27 fps= 13 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=108    
       Last message repeated 3 timess
    ..*** drop! fps= 10 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=112    
       Last message repeated 5 timesss
    .*** drop!0 fps=  9 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=118    
    .    Last message repeated 5 timess
    .*** drop!2 fps=  9 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=124    
       Last message repeated 6 timesss
    .*** drop!3 fps=  8 q=0.0 size=       0kB time=0.03 bitrate= 116.9kbits/s dup=0 drop=131    
    ^C    Last message repeated 1 times
    *** drop!
       Last message repeated 3 times

    Any help appreciated