Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (54)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9075)

  • configure : add POWER9 & 10 cpus

    3 février, par Sean McGovern
    configure : add POWER9 & 10 cpus
    

    IBM introduced POWER9 in 2017 and likewise POWER10 in 2020.

    • [DH] configure
  • 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 !