
Recherche avancée
Autres articles (26)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (6951)
-
avconv transcoding drops frames
7 mars 2015, par ziggestardustI 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 timesAny help appreciated
-
Dolby Vision Mp4 to HLS Stream
23 avril 2022, par goodkid38Is 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 ?


-
Core : Improve elementValue method
31 mars 2014, par staabmCore : Improve elementValue method
Do not rewrap several times. Call .val() only when required.
Closes #1055