Recherche avancée

Médias (91)

Autres articles (8)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4045)

  • Core : fixed Regular Expression Denial of Service vulnerability (#2371)

    9 janvier 2021, par staabm
    Core : fixed Regular Expression Denial of Service vulnerability (#2371)
    

    ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting
    poorly constructed and potentially inefficient regular expressions which can
    make them perform extremely badly given a creatively constructed input string.

    GHSL-2020-294

    credits to @erik-krogh for reporting the issue and providing a fix

  • ffmpeg Output file #0 does not contain any stream when rtsp to png

    10 avril 2022, par Alan Sereb

    I want to take 1 frame from a video and put it to png as a thumbnail and refresh it once in a while, so I run :

    


    ffmpeg -y -i 'rtsp://192.168.2.123' -s 240x135 -vf fps=1 %d.jpg


    


    I get the output :

    


    Input #0, rtsp, from 'rtsp://192.168.2.123':
  Metadata:
    title           : RTSP Server
  Duration: N/A, bitrate: 64 kb/s
    Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Output #0, image2, to '%d.jpg':
Output file #0 does not contain any stream


    


    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers


    


    What am I doing wrong ?

    


  • FFMPEG, H264 Encoding : If frame size exceeds level limit, does it lead to video encoding failed ?

    4 février 2021, par Nafia Mahjabin

    I want to reencode an mp4 file with h264 encoding.
Run the following command :

    


    


    ffmpeg -i input.mp4 -f mp4 -vcodec h264 -profile:v baseline -level 3.0 -pix_fmt yuv420p -color_range 2 -vf scale=1080:1920 -acodec aac -async 1 output.mp4

    


    


    Process fails saying Video encoding failed.
Error Message given by ffmpeg :

    


    [h264 @ 0x7a467000] Reinit context to 640x1152, pix_fmt: yuv420p\n
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':\n 
 Metadata:\n 
 major_brand     : mp42\n 
   minor_version   : 0\n 
   compatible_brands: mp42mp41iso4\n   
   creation_time   : 2020-07-26T20:32:55.000000Z\n 
   Duration: 00:00:36.20, start: 0.000000, bitrate: 938 kb/s\n 
   Stream #0:0(und): Video: h264, 1 reference frame (avc1 / 0x31637661), yuv420p(left), 640x1138 (640x1152), 935 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)\n 
   Metadata:\n     
   creation_time   : 2020-07-26T20:32:55.000000Z\n    
   handler_name    : Vireo Eyes v2.5.3\n   
   encoder         : AVC Coding\n
   Matched encoder 'libx264' for codec 'h264'.\n
   Stream mapping:\n  
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))\nPress [q] to stop, [?] for help\n
   [Parsed_scale_0 @ 0x80be6220] w:1080 h:1920 flags:'bicubic' interl:0\n
   [graph 0 input from stream 0:0 @ 0x80be6280] w:640 h:1138 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:0/1\n
   [graph 0 input from stream 0:0 @ 0x80be6280] sws_param option is deprecated and ignored\n[Parsed_scale_0 @ 0x80be6220] w:640 h:1138 fmt:yuv420p sar:0/1 -> w:1080 h:1920 fmt:yuv420p sar:0/1 flags:0x4\n
   [libx264 @ 0x7a1d4000] frame MB size (68x120) > level limit (1620)\n
   [libx264 @ 0x7a1d4000] DPB size (1 frames, 8160 mbs) > level limit (0 frames, 8100 mbs)\n
   [libx264 @ 0x7a1d4000] MB rate (244800) > level limit (40500)\n[libx264 @ 0x7a1d4000] using cpu capabilities: ARMv6 NEON\n
   [libx264 @ 0x7a1d4000] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit\n[libx264 @ 0x7a1d4000] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\n
   Output #0, mp4, to 'output.mp4':\n 
   Metadata:\n 
   major_brand     : mp42\n   
   minor_version   : 0\n 
   compatible_brands: mp42mp41iso4\n   
   encoder         : Lavf58.48.100\n   
   Stream #0:0(und): Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv420p(pc, left), 1080x1920, q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)\n
   Metadata:\n   
   creation_time   : 2020-07-26T20:32:55.000000Z\n    
   handler_name    : Vireo Eyes v2.5.3\n  
   encoder         : Lavc58.96.100 libx264\n    
   Side data:\n 
   cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\n
   frame=    3 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=    7 fps=6.2 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   11 fps=6.2 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   15 fps=6.3 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   19 fps=6.3 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   23 fps=6.3 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   26 fps=6.2 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   30 fps=6.2 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   frame=   33 fps=6.2 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \n
   Video encoding failed\n[AVIOContext @ 0x7a42cd80] Statistics: 0 seeks, 1 writeouts\n
   [AVIOContext @ 0x7a42ccc0] Statistics: 229376 bytes read, 0 seeks\nConversion failed!\n\n\n\n\n


    


    I tried to figure out the reason for fail. I'm guessing from error message from the line frame MB size (68x120) > level limit (1620), frame size exceeds h264 level limits may be the issue.

    


    Is it the issue ? if it is, what's the solution for this ? if it's not, what went wrong ?

    


    Can somebody help please ? Thank you !