Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (94)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6184)

  • Video encryption cannot be played, no key file is found [closed]

    15 août 2021, par rin ye

    This is a video clip downloaded from a software, but I don't know what encryption method is used for this video. Does anyone know what encryption method is used ?https://drive.google.com/file/d/15ZypIca-ljzF-Oh_9jBMXPFUuXbOr16P/view?usp=sharing

    


  • Console Log Stream information using ffmpeg node.js

    5 mars 2019, par Matteo

    I have created a work application that links in room encoders to live stream onto Facebook, Twitter and Youtube. I am wondering as to how to properly log the stream quality on the CMD. Below are snippets of the code and where I think the logic should be to properly pull the stream quality and display it in the cmd :

    Pushing Stream :

       if (req.query.french_facebook) {
     var streamComplete = req.query.fb_fre_streamURL + req.query.fb_fre_streamKey;
     temp = checkValidity('Facebook', 'French', req.query.fb_fre_streamURL, req.query.fb_fre_streamKey, status);
     status = temp[0];
     valid = temp[1];
     if (valid == true) {
       var command = `ffmpeg -re -i ${inputURL2('French',req.query.fb_fre_venue)} -c:v copy -acodec aac -ac 1 -ar 44100 -x264-params keyint=60:scenecut=0 -strict -2 -f flv "${streamComplete}"`;
       var process = nodeCmd.run(command);
       createStream(req.query.username, 'Facebook', 'French', req.query.fb_fre_streamKey, process.pid);
     } else {
       console.error("ERROR: unable to create stream");
     }
    }

    App initialization :

       var createError = require('http-errors');
    var express = require('express');
    var path = require('path');
    var cookieParser = require('cookie-parser');
    var logger = require('morgan');

    var indexRouter = require('./routes/index');
    var usersRouter = require('./routes/users');

    var app = express();

    var fs = require('fs');

    // view engine setup
    app.set('views', path.join(__dirname, 'views'));
    app.set('view engine', 'ejs');

    // app.use(logger('dev'));
    app.use(express.json());
    app.use(express.urlencoded({ extended: false }));
    app.use(cookieParser());
    app.use(express.static(path.join(__dirname, 'public')));

    app.use('/', indexRouter);
    app.use('/users', usersRouter);

    // catch 404 and forward to error handler
    app.use(function(req, res, next) {
     next(createError(404));
    });

    // error handler
    app.use(function(err, req, res, next) {
     // set locals, only providing error in development
     res.locals.message = err.message;
     res.locals.error = req.app.get('env') === 'development' ? err : {};

     // render the error page
     res.status(err.status || 500);
     res.render('error');
    });

    module.exports = app;

    If there is anything I am not making clear please let me know

  • zbar not working on netcat video stream from raspberry pi read using OpenCV

    26 décembre 2017, par Snehil Vijay

    I am streaming video feed from raspberry pi using netcam to my PC and using zbar to read qr codes i the feed.
    I am reading the named pipe using ffmpeg :

    FFMPEG_BIN = "ffmpeg"
    command = [ FFMPEG_BIN,
       '-i', 'fifo264',             # fifo is the named pipe
       '-pix_fmt', 'gray',      # opencv requires bgr24 pixel format.
       '-vcodec', 'rawvideo',
       '-an','-sn',              # we want to disable audio processing (there is no audio)
       '-f', 'image2pipe', '-']    
    pipe = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8)

    zbar is showing no output in this case.
    Complete code :

    import cv2
    import subprocess as sp
    import numpy
    import zbar
    from PIL import Image


    FFMPEG_BIN = "ffmpeg"
    command = [ FFMPEG_BIN,
           '-i', 'fifo264',             # fifo is the named pipe
           '-pix_fmt', 'gray',      # opencv requires bgr24 pixel format.
           '-vcodec', 'rawvideo',
           '-an','-sn',              # we want to disable audio processing (there is no audio)
           '-f', 'image2pipe', '-']    
    pipe = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8)

    while True:
       # Capture frame-by-frame
       raw_image = pipe.stdout.read(1920*1088)
       # transform the byte read into a numpy array
       image =  numpy.fromstring(raw_image, dtype='uint8')
       image = image.reshape((1088,1920))          # Notice how height is specified first and then width
       if image is not None:
           cv2.imshow('Video', image)
           image = Image.fromarray(image)
           width, height = image.size
           zbar_image = zbar.Image(width, height, 'Y800', image.tostring())

           # Scans the zbar image.
           scanner = zbar.ImageScanner()
           scanner.scan(zbar_image)

           # Prints data from image.
           for decoded in zbar_image:
               print(decoded.data)

       if cv2.waitKey(1) & 0xFF == ord('q'):
           break
       pipe.stdout.flush()

    cv2.destroyAllWindows()