Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (38)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

  • FFmpeg throwing error during video render process using Remotion

    31 mai 2022, par Vince

    I'm using a tool called Remotion, which allows you to create videos using javascript (node & react). I have the server-side rendering process working, unless I try to include an mp3. Per their docs, I have my audio imported like this :

    


    import goodtimes from &#x27;../../music/GoodTimes.mp3&#x27;;&#xA;&#xA;...&#xA;&#xA;<audio src="{goodtimes}"></audio>&#xA;

    &#xA;

    I'm currently trying to troubleshoot this using the CLI, because the error messaging is better. The command runs, and seems to generate the full video – 2400 out of 2400 frames. But then it fails with this output :

    &#xA;

    (2/3) [====================] Rendered frames (6x) 176540ms&#xA;    &#x2B; [====================] Downloading http://localhost:3000/1ba90857580e6291.mp3&#xA;(3/3) [====================] Encoding video 2400/2400&#xA;An error occurred:&#xA;Error: Command failed with exit code 1: ffprobe -v error -show_entries stream=channels:format=duration -of default=nw=1 /var/folders/6n/_nfb38t53dgdj092_pcnqqmw0000gn/T/remotion-assets-dir2jc2oppruh/7744374580215663.mp3&#xA;[mp3 @ 0x7fa78152ec40] Failed to read frame size: Could not seek to 5244.&#xA;/var/folders/6n/_nfb38t53dgdj092_pcnqqmw0000gn/T/remotion-assets-dir2jc2oppruh/7744374580215663.mp3: Invalid argument&#xA;    at makeError (/Users/voverson/clm-video/server/node_modules/execa/lib/error.js:60:11)&#xA;    at handlePromise (/Users/voverson/clm-video/server/node_modules/execa/index.js:118:26)&#xA;    at runMicrotasks (<anonymous>)&#xA;    at processTicksAndRejections (internal/process/task_queues.js:93:5)&#xA;    at async getAudioChannelsAndDuration (/Users/voverson/clm-video/server/node_modules/@remotion/renderer/dist/assets/get-audio-channels.js:17:18)&#xA;    at async preprocessAudioTrackUnlimited (/Users/voverson/clm-video/server/node_modules/@remotion/renderer/dist/preprocess-audio-track.js:14:36)&#xA;</anonymous>

    &#xA;

    I'm hoping some ffmpeg experts might recognize this error and have some idea what might be causing it.

    &#xA;

  • FFMPEG stereo track stops capturing at random times during a capture session

    26 mai 2022, par mrwassen

    I am currently working on building a workflow to capture and archive a large stash of family and friends PAL and NTSC VHS tapes. The hardware setup is as follows :

    &#xA;

      &#xA;
    • JVC HR-7860S VCR
    • &#xA;

    • s-video / RCA audio >
    • &#xA;

    • ADVC-3000 converter
    • &#xA;

    • SDI / BNC cable >
    • &#xA;

    • Blackmagic Decklink Mini Recorder 4K PCIe card
    • &#xA;

    • installed in a fairly hi-spec windows machine : AMD Ryzen 9 5900X 3.7 Ghz base 12 core, GEFORCE RTX 3060 12 gB, 32 gB ram
    • &#xA;

    &#xA;

    The plan is to capture to lossless AVI, then drop into an NLE (Vegas Pro v.16) to do a minimal amount of cleanup / trimming, then render to a more compressed video format (TBD) for upload to AWS S3 accessible through a family website.

    &#xA;

    The issue I am having is that when I run the capture using ffmpeg/directshow e.g. for a perfectly fine 90 min. PAL tape, at some random point of time during the capture one of the 2 stereo channels just stops capturing. This has happened with all of the tapes I have tested so far, and it happens at different times during the same video. I have examined the frames surrounding points in time when this happens, and it doesn't correlate to any transitions or jitter, but often just randomly in the middle of a perfectly smooth scene. Once the one channel stops capturing it never starts back up again during that capture session.

    &#xA;

    The ADVC-3000 and the VCR are both showing both stereo channels playing normally throughout the capture. The windows machine running the capture hardly breaks a sweat at any time, and the transfer easily keeps up constantly showing a speed = 1x which I assume means nothing lagging. Also there are no video/audio sync issues at any point in time even towards the end of long tapes e.g. 90 mins.

    &#xA;

    I am fairly new at ffmpeg, so I have spent extensive amounts of time reading up on forum posts and experimenting and have ended up with the following syntax :

    &#xA;

    ffmpeg -y -f dshow -rtbufsize 2000M -i video="Blackmagic WDM Capture":audio="Blackmagic WDM Capture" -codec:v v210 -pix_fmt yuv422p -codec:a pcm_s16le -b:a 128k -t 02:00:00 -r 25 -threads 4 -maxrate 2500k -filter:a "volume=1.5" output_v210_audio.avi&#xA;

    &#xA;

    The capture runs without a single dropped frame, the only error I am getting when launching (and perhaps this is a smoking gun ?) is :

    &#xA;

    &#xA;

    "Non-monotonous DTS in output stream 0:1 ; previous : 0, current : -30 ;&#xA;changing to 1. This may result in incorrect timestamps in the output&#xA;file."

    &#xA;

    &#xA;

    I have tried to troubleshoot this in the hopes that it is tied to my issue but so far without luck.

    &#xA;

    Hoping somebody can help correct or modify my command line or perhaps other ideas to help resolve the issue.

    &#xA;

  • issue streaming to instagram with FFmpeg

    24 septembre 2021, par 1 K1

    Trying to stream from OBS using nginx server to Instagram using ffmpeg. There are no problem If I stream with a same settings to facebook. There is only a problem while streaming to Instagram. Also, if I do stream a video file instead of camera from OBS, there are no problem. So there is a problem While streaming from OBS through nginx server with ffmpeg.

    &#xA;

    command is : ffmpeg -i rtmp://192.168.12.190:1935/live -filter_complex " [0] transpose=dir=1 [rotated] ; [rotated] scale=480:-2 " -max_muxing_queue_size 9999 -preset superfast -b:v 2000k -minrate 1500k -maxrate 3000k -bufsize 3200k -vcodec libx264 -r 30 -f flv rtmps://live-upload.instagram.com:443/rtmp/!streamKey!

    &#xA;

    Getting following log from mmpeg :

    &#xA;

    ffmpeg version N-90636-gc837918f50 Copyright (c) 2000-2018 the FFmpeg developers&#xA; built with gcc 7.3.0 (GCC)&#xA; configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth&#xA; libavutil      56. 13.100 / 56. 13.100&#xA; libavcodec     58. 17.100 / 58. 17.100&#xA; libavformat    58. 11.101 / 58. 11.101&#xA; libavdevice    58.  2.100 / 58.  2.100&#xA; libavfilter     7. 14.100 /  7. 14.100&#xA; libswscale      5.  0.102 /  5.  0.102&#xA; libswresample   3.  0.101 /  3.  0.101&#xA; libpostproc    55.  0.100 / 55.  0.100&#xA;Input #0, flv, from &#x27;rtmp://192.168.12.190:1935/live&#x27;:&#xA; Metadata:&#xA;   Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)&#xA;   displayWidth    : 1280&#xA;   displayHeight   : 720&#xA;   fps             : 30&#xA;   profile         :&#xA;   level           :&#xA; Duration: 00:00:00.00, start: 836.994000, bitrate: N/A&#xA;   Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 163 kb/s&#xA;   Stream #0:1: Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 5120 kb/s, 30 fps, 30 tbr, 1k tbn, 60 tbc&#xA;Stream mapping:&#xA; Stream #0:1 (h264) -> transpose (graph 0)&#xA; scale (graph 0) -> Stream #0:0 (libx264)&#xA; Stream #0:0 -> #0:1 (aac (native) -> mp3 (libmp3lame))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 000001a25ad8e6c0] using SAR=1281/1280&#xA;[libx264 @ 000001a25ad8e6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 000001a25ad8e6c0] profile High, level 3.1&#xA;[libx264 @ 000001a25ad8e6c0] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=abr mbtree=0 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3000 vbv_bufsize=3200 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00&#xA;Output #0, flv, to &#x27;rtmps://live-upload.instagram.com:443/rtmp/___my_key_here&#x27;:&#xA; Metadata:&#xA;   Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)&#xA;   displayWidth    : 1280&#xA;   displayHeight   : 720&#xA;   fps             : 30&#xA;   profile         :&#xA;   level           :&#xA;   encoder         : Lavf58.11.101&#xA;   Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x854 [SAR 1281:1280 DAR 9:16], q=-1--1, 2000 kb/s, 30 fps, 1k tbn, 30 tbc&#xA;   Metadata:&#xA;     encoder         : Lavc58.17.100 libx264&#xA;   Side data:&#xA;     cpb: bitrate max/min/avg: 3000000/0/2000000 buffer size: 3200000 vbv_delay: -1&#xA;   Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 48000 Hz, stereo, fltp&#xA;   Metadata:&#xA;     encoder         : Lavc58.17.100 libmp3lame&#xA;[tls @ 000001a25b642e40] Error in the push function.&#xA;av_interleaved_write_frame(): I/O error&#xA;   Last message repeated 1 times&#xA;[flv @ 000001a25bc4db80] Failed to update header with correct duration.&#xA;[flv @ 000001a25bc4db80] Failed to update header with correct filesize.&#xA;Error writing trailer of rtmps://live-upload.instagram.com:443/rtmp/___my_key_here__: I/O error&#xA;frame=   62 fps=0.0 q=11.0 Lsize=     265kB time=00:00:07.05 bitrate= 307.2kbits/s speed=17.1x&#xA;video:175kB audio:111kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;[tls @ 000001a25b642e40] The specified session has been invalidated for some reason.&#xA;   Last message repeated 1 times&#xA;[libx264 @ 000001a25ad8e6c0] frame I:1     Avg QP:14.37  size: 12215&#xA;[libx264 @ 000001a25ad8e6c0] frame P:16    Avg QP:14.39  size: 13130&#xA;[libx264 @ 000001a25ad8e6c0] frame B:45    Avg QP:15.80  size:  4828&#xA;[libx264 @ 000001a25ad8e6c0] consecutive B-frames:  3.2%  0.0%  0.0% 96.8%&#xA;[libx264 @ 000001a25ad8e6c0] mb I  I16..4: 52.2% 22.7% 25.1%&#xA;[libx264 @ 000001a25ad8e6c0] mb P  I16..4:  0.2%  0.6%  0.7%  P16..4: 48.7%  0.0%  0.0%  0.0%  0.0%    skip:49.8%&#xA;[libx264 @ 000001a25ad8e6c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 16.1%  0.0%  0.0%  direct:21.1%  skip:62.7%  L0:38.2% L1:50.0% BI:11.8%&#xA;[libx264 @ 000001a25ad8e6c0] final ratefactor: 16.75&#xA;[libx264 @ 000001a25ad8e6c0] 8x8 transform intra:26.5% inter:48.4%&#xA;[libx264 @ 000001a25ad8e6c0] coded y,uvDC,uvAC intra: 58.0% 51.2% 38.8% inter: 22.3% 27.8% 13.6%&#xA;[libx264 @ 000001a25ad8e6c0] i16 v,h,dc,p: 95%  2%  2%  1%&#xA;[libx264 @ 000001a25ad8e6c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 60%  4%  9%  2%  4%  9%  2%  6%  4%&#xA;[libx264 @ 000001a25ad8e6c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 51%  8% 11%  5%  4%  9%  2%  7%  3%&#xA;[libx264 @ 000001a25ad8e6c0] i8c dc,h,v,p: 65%  8% 21%  6%&#xA;[libx264 @ 000001a25ad8e6c0] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 000001a25ad8e6c0] kb/s:1701.52&#xA;Conversion failed!&#xA;

    &#xA;