Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (50)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • 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 : (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (7954)

  • AWS Lambda function execution for video

    11 avril, par Abinaya

    I am trying to run my application as Lambda, I am not getting successful eexecution everytime. Its like inconsistent results over testing.

    


    The application uses files from S3 bucket as input, once I have tried to execute Lambda with input being a simple 2 sec long mp4 video using FFMPEG in my application for processing. Lambda executed for 4 or 5 times (not everytime). I was able to see the FFMPEG commands and logs on AWS Log output screen.
he cloudwatch logs on the last execution of this :

    


    ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers

built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)

configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared

libavutil 56. 70.100 / 56. 70.100

libavcodec 58.134.100 / 58.134.100

libavformat 58. 76.100 / 58. 76.100

libavdevice 58. 13.100 / 58. 13.100

libavfilter 7.110.100 / 7.110.100

libswscale 5. 9.100 / 5. 9.100

libswresample 3. 9.100 / 3. 9.100

libpostproc 55. 9.100 / 55. 9.100

END RequestId: a7e397a7-ef1b-44c5-9877-e60a55665fc8

REPORT RequestId: a7e397a7-ef1b-44c5-9877-e60a55665fc8 Duration: 255111.29 ms Billed Duration: 255000 ms Memory Size: 1024 MB Max Memory Used: 177 MB 


    


    In short, I have created a console application that uses a model (let's say onnx model). This model is utilized in such a way that when my application is started, input is downloaded from s3, once any objects are detected in the input video I am trying to convert that into rendered output video with the use of FFMPEG

    


    Generated output was also uploaded to S3 bucket in .flv format. Sometimes the Output is 0KB .Since then I haven't encountered successful execution for my video case though nothing have been modified in my image that is using to execute the Lambda. What would be the reason for such inconsistent action throughout my testing ?

    


    I am expecting to have a successful output again, consistently. I have run the same application on ubuntu environment inside docker container, it generated output video and uploaded to S3, working as expected. The same docker image was pushed to ECR and I get no output. Is Lambda not compatible for FFMPEG usage ?
I have been struggling with this issue for days, Any help would be appreciated.

    


  • I am getting a 'permission denied' error when I try to upload files directly to my Django app on Elastic beanstalk with a newly attached volume

    17 mai 2021, par suyogx

    I recently deployed a django app to AWS elastic beanstalk. I have used boto3 to enable storing my videos to the s3 bucket. But i need to convert the video files on the local storage before storing it on S3. I use moviepy and ffmpeg to convert the videos. But when I try to upload the files, I get an error
"[errno 32] broken pipe moviepy error : ffmpeg encountered the following error while writing file /home/ec2-user/mount_point/u3files/temp_files/21editedtemp_mpy_wvf_snd.mp3 : /home/ec2-user/mount_point/u3files/temp_files/21editedtemp_mpy_wvf_snd.mp3 : permission denied".

    


    I have already chmod 777 on the root folder of the volume and 'u3files' folder inside the local storage. Is there anything I am missing ? How do I solve this ? I am new to AWS beanstalk and any help would be appreciated. Thanks.

    


  • Pipe FFmpeg to S3

    23 novembre 2019, par Garret Harp

    So I am using an aws lambda function that downloads a few files and concats them together. I have found that the actual ffmpeg command is super fast like maybe 6-10s for a 240mb file in the end. The most time-consuming thing in my function is saving the actual end result video to s3. I really want to speed this up as much as possible.

    My current ffmpeg command (fluent-ffmpeg on node) :

    (f = a text file of multiple .ts files that have been downloaded locally)

    (temp_mp4 = a tempory mp4 file that gets saved on the system then uploaded to s3)

    ffmpeg()
       .addInput(f)
       .inputFormat('concat')
       .addInputOptions([ '-safe 0', '-protocol_whitelist file' ])
       .addOutputOptions([ '-y', '-codec copy' ])
       .output(temp_mp4)
       .on('error', (err) => {
           console.error('ffmpeg err', err)
       })
       .on('end', () => {
           resolve()
       })
       .run()

    My upload to s3 function is then :

    function saveVideo (video, filename) {
       const params = {
           Bucket: '',
           Key: filename,
           Body: fs.createReadStream(video),
           ACL: 'public-read'
       }

       return s3.putObject(params).promise()
    }

    Depending on the exact file size this can take like 20-30s while the ffmpeg command is 6-10s.

    My best thought was being able to somehow directly pipe the ffmpeg output to s3, is this possible ?