Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (96)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (7096)

  • Twitter gives error on ffmpeg generated video “The media you tried to upload was invalid.”

    9 mai 2018, par TrooPHP Developer

    ffmpeg generated video gives error while sharing on twitter. the error is :

    “Cannot read property ‘code’ of undefined”

    I am generating video from audio.
    my sample code Example is :

    ffmpeg -i audio.webm -i image.png -vcodec libx264 -pix_fmt yuv420p -strict -2 -acodec aac video.mp4

    I am directly trying to upload generated video to twitter website and video size is just 6 seconds.

  • Live stream the screen and microphone to azure media services with ffmpeg

    16 octobre 2020, par Panzer Ihnen

    I'm able to stream a video of my screen to Azure Media Services with ffmpeg, but when I add the audio input, the stream stops with this error :

    


    ffmpeg: frame=   27 fps=0.0 q=0.0 size=       0kB time=00:00:00.36 bitrate=   8.4kbits/s dup=0 drop=7 speed=0.703x
ffmpeg: frame=   43 fps= 42 q=0.0 size=       0kB time=00:00:00.36 bitrate=   8.4kbits/s dup=0 drop=7 speed=0.356x    
ffmpeg: frame=   58 fps= 38 q=27.0 size=      37kB time=00:00:00.36 bitrate= 818.6kbits/s dup=0 drop=7 speed=0.24x    
ffmpeg: av_interleaved_write_frame(): End of file
ffmpeg:     Last message repeated 1 times
ffmpeg: [flv @ 0633fec0] Failed to update header with correct duration.
ffmpeg: [flv @ 0633fec0] Failed to update header with correct filesize.
ffmpeg: Error writing trailer of rtmp://rtmpurl/stream: End of file
ffmpeg: frame=   59 fps= 32 q=26.0 Lsize=      37kB time=00:00:00.39 bitrate= 764.5kbits/s dup=0 drop=7 speed=0.214x    
ffmpeg: video:35kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ffmpeg: [libx264 @ 0633c6c0] frame I:1     Avg QP:18.27  size: 30491
ffmpeg: [libx264 @ 0633c6c0] frame P:16    Avg QP:20.68  size:  4210
ffmpeg: [libx264 @ 0633c6c0] frame B:42    Avg QP:23.25  size:   152
ffmpeg: [libx264 @ 0633c6c0] consecutive B-frames:  5.1%  0.0%  0.0% 94.9%
ffmpeg: [libx264 @ 0633c6c0] mb I  I16..4: 12.7% 36.9% 50.4%
Ffmpeg Exited
ffmpeg: [libx264 @ 0633c6c0] mb P  I16..4:  0.4%  1.0%  0.6%  P16..4: 45.6% 10.5% 12.1%  0.0%  0.0%    skip:29.8%
ffmpeg: [libx264 @ 0633c6c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 15.5%  0.3%  0.0%  direct: 0.3%  skip:83.9%  L0:46.5% L1:51.0% BI: 2.5%
ffmpeg: [libx264 @ 0633c6c0] 8x8 transform intra:41.1% inter:59.1%
ffmpeg: [libx264 @ 0633c6c0] coded y,uvDC,uvAC intra: 79.9% 96.5% 88.6% inter: 7.8% 15.8% 5.4%
ffmpeg: [libx264 @ 0633c6c0] i16 v,h,dc,p: 20% 13%  6% 61%
ffmpeg: [libx264 @ 0633c6c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 21% 22%  4%  4%  5%  3%  3%  8%
ffmpeg: [libx264 @ 0633c6c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 16% 10%  5%  7%  7%  5%  6%  6%
ffmpeg: [libx264 @ 0633c6c0] i8c dc,h,v,p: 54% 18% 23%  5%
ffmpeg: [libx264 @ 0633c6c0] Weighted P-Frames: Y:0.0% UV:0.0%
ffmpeg: [libx264 @ 0633c6c0] ref P L0: 55.1%  2.9% 29.5% 12.6%
ffmpeg: [libx264 @ 0633c6c0] ref B L0: 79.5% 14.0%  6.6%
ffmpeg: [libx264 @ 0633c6c0] ref B L1: 93.2%  6.8%
ffmpeg: [libx264 @ 0633c6c0] kb/s:333.49
ffmpeg: Conversion failed!


    


    My ffmpeg command is :

    


    -f dshow -i audio="Microphone device" -strict -2 -c:a aac -f gdigrab -framerate 30 -offset_x 161 -offset_y 203 -video_size 430x322 -show_region 1 -i title="Window Title" -b:v 415K -g 60 -keyint_min 60 -b:a 32K -ar 22050 -filter:a "volume=0.8" -pix_fmt yuv420p -c:v libx264 -preset medium -bufsize 400k -maxrate 400k -f flv rtmp://rtmpurl/stream


    


  • HLS : How to detect out of order segments in media playlist ?

    27 juin 2018, par anirudh612

    What would be an efficient way to detect if an http live streaming VOD playlist has segments out of order (and count how many segments are out of order) ? They are ordered correctly based on the #EXT-X-PROGRAM-DATETIME tag but the segment decoding timestamps in some cases are out of order. Currently, the workflow I’m following is :

    1. Convert the HLS stream into an mp4 using ffmpeg :

      ffmpeg -i http://localhost:8080/test/unsorted.m3u8 -c copy -bsf:a aac_adtstoasc test/unsorted.mp4 &> test/unsorted_ffmpeg.log

    2. Inspect the logs and count number of occurrences of "Non-monotonous DTS in output stream" log messages :

      [mp4 @ 0x7fe74f01b000] Non-monotonous DTS in output stream 0:1 ; previous : 12063760, current : 11866128 ; changing to 12063761. This may result in incorrect timestamps in the output file.

      However, this requires downloading and reading all of the ts segments and is an expensive operation. Is there a more efficient way to determine out of order DTS or PTS in chunks using ffmpeg or ffprobe ?