Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (66)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6880)

  • How do I use ffmpeg to deliver the video

    19 juin 2014, par user3750991

    Our destination :

    We want to install camera on our device of arm architecture with capture real-time video and send them to ffserver, then we can watch this video from h ttp ://172.16.51.29:8090/stat.html on the other computer in the same time.

    Device IP address : 172.16.51.29
    computer IP address : 172.16.51.26

    1 I start the server on device

    ffserver -f /etc/ffserver.conf

    2 Camera start to capture video on device

    ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 h ttp ://127.0.0.1:8090/cam1.ffm

    3 I got the messages

    Error while opening encoder for output stream #0.0 - maybe incorrect
    parameters such as bit_rate, rate, width or height

    4 Test

    ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 cam1.asf

    Command above is perfect to produce video named cam1.asf

    5 Fix incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 -b 100k h ttp ://127.0.0.1:8090/cam1.ffm

    But use the command above produce the message presented below

    Input #0, video4linux2, from ’/dev/video0’ :
    Duration : N/A, start : 24300.069612, bitrate : 36864 kb/s
    Stream #0.0 : Video : rawvideo, yuyv422, 320x240, 36864 kb/s, 30 tbr, 1000k tbn, 30 tbc
    Sat Jan 1 07:09:07 2000 127.0.0.1 - - [GET] "/cam1.ffm HTTP/1.1" 200 4149
    [buffer @ 0x2f1a0] w:320 h:240 pixfmt:yuyv422
    [avsink @ 0x2f7e0] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’
    [scale @ 0x2ea60] w:320 h:240 fmt:yuyv422 -> w:320 h:240 fmt:yuv420p flags:0x4
    Sat Jan 1 07:09:07 2000 127.0.0.1 - - [POST] "/cam1.ffm HTTP/1.1" 200 0
    Segmentation fault

    What should I do to fix this issue ? Thanks.

  • rtmpdump check status by command line

    2 mai 2014, par David

    I tried doing rtmpdump -r "rtmp-raw=rtmpe ://watch.playfooty.tv/live playpath=nba1569 swfUrl=http://www.playfooty.tv/play/player/player.swf live=1 pageUrl=http://www.playfooty.tv/"
    But the output it´s like offline always

    RTMPDump v2.2e
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    DEBUG: Parsing...
    WARNING: Unknown protocol!

    DEBUG: Parsed host : watch.playfooty.tv
    DEBUG: Parsed app : live playpath=nba1569 swfUrl=http:/
    DEBUG: Protocol : RTMP
    DEBUG: Hostname : watch.playfooty.tv
    DEBUG: Port : 1935
    DEBUG: Playpath : www.playfooty.tv/play/player/player.swf live=1 pageUrl=http://www.playfooty.tv/
    DEBUG: tcUrl : rtmp://watch.playfooty.tv:1935/live playpath=nba1569 swfUrl=http:/
    DEBUG: app : live playpath=nba1569 swfUrl=http:/
    DEBUG: live : no
    DEBUG: timeout : 30 sec

    I tried a lot of links of a list and seems offline with this command, but When I play it in a software it worked.

    Does anyone have an idea how to test if this kind of links are alive or die ?

    Thanks !

  • Node.js Stream Mp3 to http without having to save file

    21 août 2016, par user2758113

    I am trying to stream just audio from a youtube link straight to http with node.js.

    My code looks like this, I am using express 4.0.

    var express = require('express');
    var router = express.Router();
    var ytdl = require('ytdl');
    var ffmpeg = require('fluent-ffmpeg');
    var fs = require('fs');

    router.get('/', function(req, res) {

     var url = 'https://www.youtube.com/watch?v=GgcHlZsOgQo';
     var video = ytdl(url)

     res.set({
         "Content-Type": "audio/mpeg"
     })

     new ffmpeg({source: video})
         .toFormat('mp3')
         .writeToStream(res, function(data, err) {
           if (err) console.log(err)
         })

    });

    module.exports = router;

    Now, I’m able to stream the video’s audio to the response if I save the file then pipe it to the response, but I’d rather try to figure out some way to go from downloading to ffmpeg to response.

    Not sure if this is possible. The main goal is to keep it as light weight as possible, and not have to read from files.

    I’ve seen this code which is essentially what I’d like to do minus the saving to a file part.

    part of the error