Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (27)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (4661)

  • ffprobe can not read a file generated by node JS createWriteStream() on AWS

    30 septembre 2016, par matthiasdv

    I have a setup running on AWS that triggers an AWS Lambda function when a video file is uploaded to an S3 bucket. The Lambda function is written in node and downloads the file, streams it to a temp working file and then executes ffprobe on it followed by an ffmpeg command.

    ffprobe throws the following error :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4ea8e20] error reading header download: Invalid data found when processing input

    The bug is hard to reproduce and occurs only half the time, which I believe to be because of the async nature of the program.

    My main function is as follows

    downloadFile(library.getDownloadStream, logger, sourceLocation, localFilePath)
           .then(() => ffprobe(logger))
           .then(() => ffmpeg(logger, keyPrefix))
           .then(() => removeDownload(logger, localFilePath))
           .then(() => uploadFiles(library.uploadToBucket, logger, keyPrefix))
           .then(data => invocation.callback())
           .catch(error => invocation.callback(error));

    The ffprobe Function :

    function downloadFile(downloadFunc, logger, sourceLocation, download) {
       return new Promise((resolve, reject) => {
           logger.log(`Starting download: ${sourceLocation.bucket} / ${sourceLocation.key}`);

           var downloadFile = createWriteStream(download);

           downloadFunc(sourceLocation.bucket, sourceLocation.key)
               .on('end', () => {
                   logger.log("closing writing stream");
                   downloadFile.end();

                   logger.log('Download finished');

                   resolve();
               })
               .on('error', reject)
               .pipe(downloadFile);
       });
    }

    Each build/update uploads the latest ffmpeg version to AWS. I can not reproduce this error locally.

    Why is ffprobe throwing this error regarding the header ?

    Update

    Logging the downloaded file’s filesize prints exactly the same amount of bytes, regardless of wether ffprobe is successful or not.

    However, when I set a timeOut before resolving the promise, the bug no longer occurs and ffprobe runs successfully each time :

    downloadFunc(sourceLocation.bucket, sourceLocation.key)
           .on('end', () => {

               logger.log('Download finished');

               // Filesize
               var meta = fs.statSync(download);
               var fileSizeInBytes = meta["size"];

               logger.log(fileSizeInBytes);

               // resolve();
               setTimeout(resolve, 1000);
           })
           .on('error', reject)
           .pipe(downloadFile);

    Why is this happening ?

  • ffmpeg_kit_flutter_full_gpl,aken down from the official platform,ffmpeg-kit-full-gpl-6.0-ios-xcframework.zip

    20 avril, par marsdiscovery

    Important plugins for Flutter : ffmpeg_kit_flutter_full_gpl, It has been taken down from the official platform and is no longer under maintenance.
Error message during use :
-> Installing ffmpeg-kit-ios-full-gpl (6.0)

    


    


    Http download
$ /usr/bin/curl -f -L -o /var/folders/b8/thh68v8j4nqfhsjg7x4pv7140000gn/T/d20250420-81226-c8wqz2/file.zip https://github.com/arthenica/ffmpeg-kit/releases/download/v6.0/ffmpeg-kit-full-gpl-6.0-ios-xcframework.zip —create-dirs —netrc-optional —retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

    


    


    [!] Error installing ffmpeg-kit-ios-full-gpl
[!] /usr/bin/curl -f -L -o /var/folders/b8/thh68v8j4nqfhsjg7x4pv7140000gn/T/d20250420-81226-c8wqz2/file.zip https://github.com/arthenica/ffmpeg-kit/releases/download/v6.0/ffmpeg-kit-full-gpl-6.0-ios-xcframework.zip —create-dirs —netrc-optional —retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

    


    This file does indeed no longer exist.

    


    Our app heavily relies on ffmpeg_kit_flutter_full_gpl. What should we do now.

    


    Please help me, everyone

    


    I also tried pulling the source code locally, but it still reported the same error

    


  • ffmpeg split | merge video voice not sync

    2 août 2022, par Zhang

    there are what i done :

    


      

    1. download a full mp4 file.
    2. 


    3. due to it's watermark(0s-10s), i split the full video into 2 parts from 10second. the first part with watermark.
    4. 


    5. use ffmpeg delogo the first part.
    6. 


    7. merge the two video into a full again.
    8. 


    


    

    wget -O download.mp4
ffmpeg -i download.mp4 -vcodec copy -acodec copy -t 00:00:10 tmp1.mp4
ffmpeg -i download.mp4 -vcodec copy -acodec copy -ss 00:00:10 tmp2.mp4
ffmpeg -i tmp1.mp4 -vf "delogo=x=432:y=44:w=1060:h=108" -c:a copy tmp3.mp4
echo file tmp3.mp4 > mergelist.txt && echo file tmp2.mp4 >> mergelist.txt
ffmpeg -f concat -i mergelist.txt -c copy output.mp4


    


    


    problem i faced :
in the last merged video, only one tmp part is fine, the other's video and voice not sync and play time more faster than before.

    


    why i divide it, delogo(although only the first 10 seconds shows) full video more than 1h, re-encode takes much time, 10s part fine to me.