Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (22)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

Sur d’autres sites (4700)

  • can't compile ffmpeg on Solaris 10 sparc

    9 juin 2014, par Raoul

    Has anyone compiled ffmpeg 0.6.1 for Solaris 10 sparc ? I’m getting the following errors :

       uname -a
    SunOS SERVERNAME 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V440

    bwddmadm@bwddmliv>/export/home/USERID/ffmpeg-0.6.1/configure --prefix=/export/home/USERID/ffmpegX --extra-cflags="-fPIC" --disable-mmx --disable-protocol=udp --disable-encoder=nellymoser
    Broken shell detected.  Trying alternatives.
    Trying shell bash
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    Unknown C compiler gcc
    awk: syntax error near line 1
    awk: illegal statement near line 1
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    install prefix            /export/home/USERID/ffmpegX
    source path               /export/home/USERID/ffmpeg-0.6.1
    C compiler                gcc
    .align is power-of-two    no
    ARCH                      sparc (generic)
    big-endian                no
    runtime cpu detection     no
    VIS enabled               yes
    gprof enabled             no
    debug symbols             yes
    strip symbols             yes
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    new filter support        no
    filters using lavformat   no
    network support           yes
    threading support         no
    SDL support               no
    Sun medialib support      no
    AVISynth enabled          no
    libdc1394 support         no
    libdirac enabled          no
    libfaac enabled           no
    libfaad enabled           no
    libfaad dlopened          no
    libgsm enabled            no
    libmp3lame enabled        no
    libnut enabled            no
    libopencore-amrnb support no
    libopencore-amrwb support no
    libopenjpeg enabled       no
    librtmp enabled           no
    libschroedinger enabled   no
    libspeex enabled          no
    libtheora enabled         no
    libvorbis enabled         no
    libvpx enabled            no
    libx264 enabled           no
    libxvid enabled           no
    zlib enabled              no
    bzlib enabled             no

    Enabled decoders:
    pr:  -- empty file

    Enabled encoders:
    pr:  -- empty file

    Enabled hwaccels:
    pr:  -- empty file

    Enabled parsers:
    pr:  -- empty file

    Enabled demuxers:
    pr:  -- empty file

    Enabled muxers:
    pr:  -- empty file

    Enabled protocols:
    pr:  -- empty file

    Enabled filters:
    pr:  -- empty file

    Enabled bsfs:
    pr:  -- empty file

    Enabled indevs:
    pr:  -- empty file

    Enabled outdevs:
    pr:  -- empty file

    License: LGPL version 2.1 or later
    Creating config.mak and config.h...
    bwddmadm@bwddmliv> gmake
    /export/home/USERID/ffmpeg-0.6.1/version.sh: syntax error at line 4: `revision=$' unexpected
    CC      libavdevice/alldevices.o
    libavdevice/alldevices.c: In function `avdevice_register_all':
    libavdevice/alldevices.c:42: error: `CONFIG_ALSA_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:42: error: (Each undeclared identifier is reported only once
    libavdevice/alldevices.c:42: error: for each function it appears in.)
    libavdevice/alldevices.c:42: error: `CONFIG_ALSA_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:43: error: `CONFIG_AUDIO_BEOS_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:43: error: `CONFIG_AUDIO_BEOS_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:44: error: `CONFIG_BKTR_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:45: error: `CONFIG_DV1394_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:46: error: `CONFIG_JACK_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:47: error: `CONFIG_OSS_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:47: error: `CONFIG_OSS_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:48: error: `CONFIG_V4L2_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:49: error: `CONFIG_V4L_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:50: error: `CONFIG_VFWCAP_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:51: error: `CONFIG_X11_GRAB_DEVICE_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:54: error: `CONFIG_LIBDC1394_INDEV' undeclared (first use in this function)
    gmake: *** [libavdevice/alldevices.o] Error 1
    bwddmadm@bwddmliv> exit

    script done on Fri Jan 14 11:34:05 2011
  • How can I add a random watermark to a video during processing in Node.js and Express.js using FFmpeg ?

    3 avril 2023, par Ariful islam

    I want to add a watermark to a video that changes randomly during processing. I am using Node.js and Express.js with FFmpeg. Currently, I am able to add a static watermark to the video using the drawtext filter. However, I want to change the watermark text randomly every few seconds.

    


    How can I achieve this using FFmpeg in my Node.js and Express.js app ? Here's my current code :

    


    const email = 'name@gmail.com';
app.post('/addwatermark', upload.single('video'), (req, res) => {
const fileName = path.basename(req.file.path) + '.mp4';
const outputPath = `public/reduceSize/${fileName}`;
const outputPathWithWatermark = `public/reduceSize/${fileName}-wm.mp4`;
let watermarkPosition = { x: 10, y: 650 };

// Create the directory if it doesn't exist
const outputDir = path.dirname(outputPathWithWatermark);
if (!fs.existsSync(outputDir)) {
    fs.mkdirSync(outputDir, { recursive: true });
}

// Send a comment to keep the connection alive
res.write(': ping\n\n');

// Function to randomly generate watermark position
const changeWatermarkPosition = () => {
    watermarkPosition = { x: Math.floor(Math.random() * 100), y: Math.floor(Math.random() * 100) };
};

// Change watermark position every 5 seconds 
setInterval(changeWatermarkPosition, 5000);
const watermarkStyle = `-vf drawtext=text='${email}':x=(w-text_w-10):y=(h-text_h-10):fontcolor=white:fontsize=24:shadowcolor=black:shadowx=1:shadowy=1:box=1:y=${watermarkPosition.y}:fontcolor=red:fontsize=24:shadowcolor=black:shadowx=1:shadowy=1:box=1:boxcolor=black@0.5`

ffmpeg(req.file.path)
    .addOption(watermarkStyle)
    .output(outputPathWithWatermark)
    .videoCodec('libx264')
    .audioCodec('aac')
    .size('50%')
    .on('error', (err) => {
        console.error(`FFmpeg error: ${err.message}`);
        res.status(500).json({ message: err.message });
    })
    .on('progress', (progress) => {
        // Set the watermark position every 5 seconds randomly
        changeWatermarkPosition();

        const mb = progress.targetSize / 1024;
        const data = {
            message: `Processing: ${mb.toFixed(2)} MB converted`,
            watermark: `Adding watermark to video: ${progress.framesProcessed} frames processed`
        };
        console.log(data.message);
        res.write(`data: ${JSON.stringify(data)}\n\n`);

    })
    .on('end', () => {
        console.log(`Video successfully converted to ${outputPathWithWatermark}`);
        // Remove the temporary file
    })
    .run();
 });


    


    I want to secure my video from unauthorized person by using email in a video and the email will be move around the video randomly every 5 seconds.

    


    I have read this (Add dynamic watermark that randomly changes position over video React/Node) document but didn't get any solution.

    


  • Anomalie #2707 : page=spip_pass : opération rejetée si l’auteur n’a pas de mot de passe en base

    15 mai 2012, par kent1 -

    Je confirme et me dit aussi que c’est assez chiant... J’ai pas envie de créer des users non plus en choisissant un pass leur disant qu’ils peuvent le modifier etc etc... Qui plus est en général dans ces cas là, on les envoie par email... pb de sécu et toutiquanti... Peut être intéressant de (...)