Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (75)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • 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 ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8254)

  • Keep getting WIN32Exception when running FFMPEG in ASP.NET project

    23 octobre 2014, par Lance Bloom

    I have an ASP.NET project and I want to use FFMPEG to help create thumbails for my videos. I’ve loaded FFMPEG into the project, and whenever I run my code I get the same error :

    ’ffmpeg.MainModule’ threw an exception of type ’System.ComponentModel.Win32Exception’
    "A 32 bit processes cannot access modules of a 64 bit process."

    I’m using VS 2013, and I’ve set my target platform to x86, and made 100% sure I am using the 32bit version of ffmpeg. I’m using the static libraries from this site (http://ffmpeg.zeranoe.com/builds/) I also tried to change the target platform to All CPUs or x64, and tried with both 32 and 64 bit versions of FFMPEG. Always the same error. I am running IIS Express when I test in my local environment.

    Here is my code. Would appreciate any help !

    String vSource = "http://example.com/myvideo.mp4";
    String path1 = HttpContext.Current.Request.PhysicalApplicationPath;

    Process ffmpeg = new Process();
    ProcessStartInfo startinfo = new ProcessStartInfo(HostingEnvironment.MapPath("~/App_Data/exe/ffmpeg.exe"), "-i " + vSource + "-ss 00:00:05.000 -f image2 -vframes 1 " + path1 +"thumbnail1.jpg");

    startinfo.RedirectStandardError = true;
    startinfo.RedirectStandardOutput = true;
    startinfo.RedirectStandardInput = true;
    startinfo.UseShellExecute = false;
    startinfo.CreateNoWindow = true;
    ffmpeg.StartInfo = startinfo;

    ffmpeg.Start();
  • How can I stream a video from localhost to web browser using the video tag ?

    3 septembre 2021, par kup

    Basically what I want to stream a video to my browser both on localhost, using Flask, OpenCV, or FFmpeg.

    


    But I am not sure how to do it.

    


    I tried this :

    


    #!/usr/bin/env python
from flask import Flask, render_template, Response
import cv2
import sys
import numpy

app = Flask(__name__)

def get_frame():
    c=cv2.VideoCapture("output.mkv")

    while True:
        retval, im = c.read()
        imgencode=cv2.imencode('.jpg',im)[1]
        stringData=imgencode.tostring()
        yield (b'--frame\r\n'
            b'Content-Type: text/plain\r\n\r\n'+stringData+b'\r\n')

    del(c)

@app.route('/vid')
def vid():
     return Response(get_frame(),mimetype='multipart/x-mixed-replace; boundary=frame')


if __name__ == '__main__':
    app.run(host='localhost',port=5000, debug=True, threaded=True)


    


    But it's not working. Maybe because it is sending images. How can I stream video ?

    


  • How to stream a video from localhost to web browser using video tag ?

    31 juillet 2021, par kup

    Basically what i want to stream a video to my browser both on localhost, using flask and opencv or ffmpeg.

    


    But not sure how to do it.

    


    i tried this :

    


    #!/usr/bin/env python
from flask import Flask, render_template, Response
import cv2
import sys
import numpy

app = Flask(__name__)

def get_frame():
    c=cv2.VideoCapture("output.mkv") 

    while True:
        retval, im = c.read()
        imgencode=cv2.imencode('.jpg',im)[1]
        stringData=imgencode.tostring()
        yield (b'--frame\r\n'
            b'Content-Type: text/plain\r\n\r\n'+stringData+b'\r\n')

    del(c)

@app.route('/vid')
def vid():
     return Response(get_frame(),mimetype='multipart/x-mixed-replace; boundary=frame')


if __name__ == '__main__':
    app.run(host='localhost',port=5000, debug=True, threaded=True)


    


    but its not working may be because it is sending images, how can i stream video ?