Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (35)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (7677)

  • Video encoding and decoding by the player during online playback [closed]

    10 janvier 2024, par rahkarenovin

    I made a player to stream the video.

    


    I want to do 32-bit encoding on the video with the help of ffmpeg.
so that the video will only play in my player.

    


    The problems I have :

    


      

    1. I want to put my 32-bit password in the player, the player will check this password while playing the video, if the password is the same, the video will be played.

      


    2. 


    3. I don't know how to decode the video with the below player.

      


    4. 


    


    What code is needed ? What command can I use to decode the video ?

    


    My player code :

    


    <div class="grid">&#xA;    <main>&#xA;        <div>&#xA;            &#xA;            &#xA;        </div>&#xA;    </main>&#xA;</div>&#xA;&#xA;<code class="echappe-js">&lt;script&amp;#xA;    type=&quot;text/javascript&quot;&amp;#xA;    src=&quot;https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc&quot;&amp;#xA;    crossorigin=&quot;anonymous&quot;&amp;#xA;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.plyr.io/3.5.2/plyr.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script&gt;&amp;#xA;    const source = &amp;#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&amp;#x27;;&amp;#xA;    const player = new Plyr(&amp;#x27;#player&amp;#x27;);&amp;#xA;    var video = document.getElementById(&amp;#x27;player&amp;#x27;);&amp;#xA;    if(Hls.isSupported()) {&amp;#xA;       var hls = new Hls();&amp;#xA;       hls.loadSource(source);&amp;#xA;       hls.attachMedia(video);&amp;#xA;       hls.on(Hls.Events.MANIFEST_PARSED,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }else if (video.canPlayType(&amp;#x27;application/vnd.apple.mpegurl&amp;#x27;)) {&amp;#xA;       video.src = source;&amp;#xA;       video.addEventListener(&amp;#x27;loadedmetadata&amp;#x27;,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }&amp;#xA;&lt;/script&gt;&#xA;

    &#xA;

  • rtmp stream error with ffmpeg desktop capture on electron js

    9 septembre 2020, par Berk Coşar

    I'm making a program that captures the desktop converts it to rtmp stream.

    &#xA;

    Working logic of the program.

    &#xA;

      &#xA;
    • users will click the stream button on electron js window

      &#xA;

    • &#xA;

    • The program will run ffmpeg shell code that captures the desktop as rtmp stream on the backend.

      &#xA;

      my ffmpeg command to run for macOS Catalina on the backend :

      &#xA;

      ffmpeg -f avfoundation -i 1:0 -pixel_format nv12 -vcodec libx264 -preset ultrafast -pix_fmt yuv422p -s 1280x800 -r 30 -b:v 1500k -bufsize 1500k -maxrate 7000k -c:a aac -b:a 128k -ac 2 -ar 44100 -f flv rtmp ://192.168.0.109/live

      &#xA;

    • &#xA;

    • And It will play stream on vlc

      &#xA;

    • &#xA;

    &#xA;

    Okay. this Ffmpeg command is running successfully on terminal but unsuccessfully on electron js.

    &#xA;

    Error code :

    &#xA;

    &#xA;

    stream.js:172 Error : Command failed :&#xA;/Users/macbook/Pictures/relteco/ffmpeg.sh ffmpeg version 4.3.1&#xA;Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang&#xA;version 11.0.3 (clang-1103.0.32.62) configuration :&#xA;—prefix=/usr/local/Cellar/ffmpeg/4.3.1 —enable-shared —enable-pthreads —enable-version3 —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-ffplay —enable-gnutls —enable-gpl —enable-libaom —enable-libbluray —enable-libdav1d —enable-libmp3lame —enable-libopus —enable-librav1e —enable-librubberband —enable-libsnappy —enable-libsrt —enable-libtesseract —enable-libtheora —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libxvid —enable-lzma —enable-libfontconfig —enable-libfreetype —enable-frei0r —enable-libass —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librtmp —enable-libspeex —enable-libsoxr —enable-videotoolbox —disable-libjack —disable-indev=jack libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 /&#xA;58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 /&#xA;3. 7.100 libpostproc 55. 7.100 / 55. 7.100 [AVFoundation indev @ 0x7fd3a8e0ce80] Configuration of video device failed, falling back&#xA;to default. [avfoundation @ 0x7fd3a900ea00] Selected pixel format&#xA;(yuv420p) is not supported by the input device. [avfoundation @&#xA;0x7fd3a900ea00] Supported pixel formats : [avfoundation @&#xA;0x7fd3a900ea00] uyvy422 [avfoundation @ 0x7fd3a900ea00] yuyv422&#xA;[avfoundation @ 0x7fd3a900ea00] nv12 [avfoundation @ 0x7fd3a900ea00]&#xA;0rgb [avfoundation @ 0x7fd3a900ea00] bgr0 [avfoundation @&#xA;0x7fd3a900ea00] Overriding selected pixel format to use uyvy422&#xA;instead. /Users/macbook/Pictures/relteco/ffmpeg.sh : line 3 : 10253&#xA;Abort trap : 6 ffmpeg -f avfoundation -i 1:0 -vcodec libx264&#xA;-preset ultrafast -pix_fmt yuv422p -s 1280x800 -r 30 -b:v 1500k -bufsize 1500k -maxrate 7000k -c:a aac -b:a 128k -ac 2 -ar 44100 -f flv rtmp ://192.168.0.109/live

    &#xA;

    at ChildProcess.exithandler (child_process.js:312)&#xA;at ChildProcess.emit (events.js:310)&#xA;at maybeClose (internal/child_process.js:1021)&#xA;at Socket.<anonymous> (internal/child_process.js:443)&#xA;at Socket.emit (events.js:310)&#xA;at Pipe.<anonymous> (net.js:672)&#xA;</anonymous></anonymous>

    &#xA;

    &#xA;

    when command is running in terminal :

    &#xA;

    enter image description here

    &#xA;

    My tried javascript library's

    &#xA;

      &#xA;
    • Child_process&#xA;
        &#xA;
      • exec
      • &#xA;

      • execfile
      • &#xA;

      • spawn
      • &#xA;

      &#xA;

    • &#xA;

    • shelljs
    • &#xA;

    • fluent-ffmpeg
    • &#xA;

    &#xA;

    last i wrote this ffmpeg command on .sh file and saved and i tried run ffmpeg.sh file with this librarys but they all gave the same error.

    &#xA;

    My idea :&#xA;yuv420p caught my attention and i searched it but i learned yuv420p is not error , this was a ffmpeg warning.That's why js see the warning as a error and it send response me stdout as stderr ?

    &#xA;

    Thanks..

    &#xA;

  • What is the ideal image format extraction for YUV color space and lossless compression from mxf video format using ffmpeg

    15 février 2016, par DragonDance27

    I would like to be able to work on frames from an .mxf video file. The image format of the video is JPEG 2000, using a YUV color space with 4:2:2 subsampling and lossless compression.

    My intentions are to extract frames from this video using ffmpeg. Extracted frames would then be processed in Matlab (at the moment I’m interested in performing colorization).

    I want to extract the frames with as minimal data loss as possible and I would like to work in the YUV color space. I understand PNG involves a lossless process, but only involves the RGB color space - so not an option.

    I think I can extract jpeg2000 frames in the YUV color space, but I’m not sure if I’m losing data from the compression process. I attempted the following code in ffmpeg :

    ffmpeg -i video.mxf -r 1/5 out%03d.jp2

    ... however, the extracted jp2 files are unreadable in various software, including HiView which is a specialised JPEG 2000 software.

    Quesiton 1 : Is this jpeg 2000 extraction method lossless ? What am I doing wrong ?

    I also considered extracting the images in the tiff format where I can achieve the YUV and lossless requirements. I attempted the following code in ffmpeg :

    ffmpeg -i video.mxf -vcodec tiff f%10d.tif

    ... however, the extracted tiff files are unreadable in software such as paint, paint.net and windows photo viewer.

    Question 2 : Is this tiff extraction method correct ? What am I doing wrong ?

    Question 3 : What is an ideal image format that covers my YUV and lossless requirements ?