Recherche avancée

Médias (91)

Autres articles (10)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

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

Sur d’autres sites (3322)

  • Getting content-length of a live-re-encoded video

    9 avril 2021, par Marius

    So, i have a lot of hevc(h265) video on a remote http server, that i want to serve as h264 through ffmpeg and nodejs. I've had a bunch of issues with content-length, or in general just getting skipping, and video duration to work properly.

    


    So the main problem is getting content-length, or any other header to make duration and skipping work properly.

    


    I've tried calculating approx content-length, but it never seems to match properly.

    


    My code so far :

    


    express setup here....
app.get('/', (req, res) => {
    res.contentType('mp4');
    
    ffmpeg(remote_video_url)
        .inputOption([
            "-hwaccel auto",
        ])
        .outputOptions(['-movflags isml+frag_keyframe'])
        .videoCodec('h264_nvenc')
        .toFormat('mp4')
        .on('error', (err,stdout,stderr) => {
            console.log('an error happened: ' + err.message);
            console.log('ffmpeg stdout: ' + stdout);
            console.log('ffmpeg stderr: ' + stderr);
        })
        .on('end', () => {
            console.log('Processing finished !');
        })
        .on('progress', (progress) => {
            console.log('Processing: ' + progress.percent + '% done');
        })
        .pipe(res, {end: true});
})


    


    Any help would be greatly appreciated

    


  • I want to modify this .bat to keep the datetime in the converted file

    14 février 2021, par Ilegator

    can anyone help me modify this .bat to keep the datetime of the file ?

    


    I've tried different options like adding -map_metadata 0 but they didn't work.

    


    This is the .bat :

    


    @echo off & setlocal enabledelayedexpansion
for %%v in ("*.mkv") do (
  set FileName=%%v

  ffmpeg -i "!FileName!" -c copy -map 0 "!FileName:~0,-4!.mp4"
)
pause


    


  • avcodec/dpx : fix check of minimal data size for unpadded content

    19 octobre 2022, par Jerome Martinez
    avcodec/dpx : fix check of minimal data size for unpadded content
    

    stride value is not relevant with unpadded content and the total count
    of pixels (width x height) must be used instead of the rounding based on
    width only then multiplied by height

    unpadded_10bit value computing is moved sooner in the code in order to
    be able to use it during computing of minimal content size. Also make sure to
    only set it for 10bit.

    Fix 'Overread buffer' error when the content is not lucky enough to have
    (enough) padding bytes at the end for not being rejected by the formula
    based on the stride value

    Fixes ticket #10259.

    Signed-off-by : Jerome Martinez <jerome@mediaarea.net>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/dpx.c