Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (105)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12507)

  • Videos written with moviepy on amazon aws S3 are empty

    10 avril 2019, par cellistigs

    I am working on processing a dataset of large videos ( 100 GB) for a collaborative project. To make it easier to share data and results, I am keeping all videos remotely on an amazon S3 bucket, and processing it by mounting the bucket on an EC2 instance.

    One of the processing steps I am trying to do involves cropping the videos, and rewriting them into smaller segments. I am doing this with moviepy, splitting the video with the subclip method and calling :

    subclip.write_videofile("PathtoS3Bucket"+VideoName.split('.')[0]+'part' +str(segment)+ '.mp4',codec = 'mpeg4',bitrate = "1500k",threads = 2)

    I found that when the videos are too large (parameters set as above) calls to this function will sometimes generate empty files in my S3 bucket ( 10% of the time). Does anyone have insight into features of moviepy/ffmpeg/S3 that would lead to this ?

  • AWS Lambda : how to give ffmpeg large files ?

    16 juin 2023, par Daniel Smith

    [Please note that this is now an old question, and that AWS has updated size limits. I would close it if there were an option of "no longer as relevant as when first posted".]

    


    Scenario :

    


    Using AWS Lambda (Node.js), I want to process large files from S3 ( > 1GB).
The /tmp fs limit of 512MB means that I can't copy the S3 input there.
I can certainly increase the Lambda memory space, in order to read in the files.

    


      

    • Do I pass the memory buffer to ffmpeg ? (node.js, how ?)
    • 


    • Or....should I just make an EFS mount point and use that as the transcoding scratchpad ?
    • 


    


  • Large Video file Conversion using ffmpeg

    12 mai 2021, par Varsha

    I am using ffmpeg tool to convert videos from wmv to mp4 formats using the following code -

    


            string outputPath = args[1].ToString();
        string[] files = Directory.GetFiles(inputPath);               
        Console.WriteLine(files.Length);
        foreach (var item in files)
        {
            itemBkp = item;                                       
            Process proc = new Process();
            proc.StartInfo.FileName = @"e:\test\ffmpeg.exe";                   
            string filename= Path.GetFileName(item);                    
            proc.StartInfo.Arguments=  " -i "  + item + " " + outputPath + filename.Split('.')[0] + ".mp4";
            proc.StartInfo.UseShellExecute = false;
            proc.StartInfo.RedirectStandardInput = true;
            proc.StartInfo.RedirectStandardOutput = true;
            proc.Start();
            proc.WaitForExit();
        }


    


    It works fine for videos up to 20mb but when i try for videos above 70mb it throws following error -

    


    FFmpeg version SVN-r6179, Copyright (c) 2000-2004 Fabrice Bellard configuration : —extra-cflags=-I/static/include —extra-ldflags=-L/static/lib —enable-memalign-hack —enable-mp3lame —enable-xvid —enable-a52 —enable-libogg —enable-vorbis —enable-faac —enable-faad —enable-x264 —enable-pp —enable-amr_wb —enable-amr_nb —enable-avisynth —enable-gpl libavutil version : 49.0.0 libavcodec version : 51.13.0 libavformat version : 50.5.0 built on Sep 5 2006 22:41:30, gcc : 3.4.5 (mingw special) E :\videos\Playful : I/O error occured Usually that means that input file is truncated and/or corrupted.

    


    Is there a limit on video size to be converted ?