Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (52)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5290)

  • ffmpeg avformat_open_input always returns "Protocol not found" rv=(-1330794744)

    7 juin 2019, par bzivkovic

    Trying to get ffmpeg working in Visual Studio 2010. So far all ffmpeg headers and libs are loaded, no error or warning occurs.

    avcodec_register_all();
    AVFormatContext *pFormatCtx = NULL;
    char errbuf[256];
    pFormatCtx = avformat_alloc_context();
    int rv = avformat_open_input(&pFormatCtx, "myfile.ext", NULL, NULL);
    if (rv!=0){                              
       av_strerror(rv, errbuf, sizeof(errbuf));
    }

    The problem is, avformat_open_input always returning -1330794744 (errbuf="Protocol not found"). Tried x86 & x64 headers and libs on 32bit XP and 64bit W7. Whatever I put for "myfile.ext" (tried "file1.avi", "file=c :\file1.avi", "http://www.someweb.com/file1.avi", and even empty char* "") response is always "Protocol not found". Any ideas ?

  • ffmpeg, Audiostream : How to get type (fourcc) of it with the API ?

    21 août 2021, par User42

    This seems to be a too simple question,
but I was not successful in getting it :

    


    I have no problems with decoding a stream and accessing the data.
But I also need the bitrate and the type of the stream.

    


    The bitrate and the codec used I get by AVCodecContext's members
bit_rate and codec_id.

    


    But I don't need the codec used but the stream type
(as the codec AV_CODEC_ID_MP3 is used for mp1, mp2 and mp3 for example).

    


    I tried AVStream.id, but it is always 0.

    


    Looks like I'm mixing up things, but where ?

    


  • RTP Streaming with ffmpeg : server streaming, client failing

    27 novembre 2013, par Christoph Kuhr

    I compiled ffmpeg and x264 myself.

    x264 version :

    #define X264_REV 2377
    #define X264_REV_DIFF 0
    #define X264_VERSION " r2377 1ca7bb9"
    #define X264_POINTVER "0.140.2377 1ca7bb9"

    ffmpeg version : 0.11.4
    ffmpeg configuration :

    --enable-x11grab --enable-pthreads --enable-libfaac --enable-libxvid --enable-libx264 --enable-libv4l2 --enable-libmp3lame --enable-libpulse --enable-gpl --enable-nonfree --disable-yasm

    streaming server call :

    ffmpeg -f x11grab -s 1600x900 -framerate 50 -i :0.0 -vcodec libx264 -threads 4 -preset ultrafast -crf 0 -q:v 1 -b:v 8M -an -f rtp rtp://192.168.188.30:8710

    ...

    Output #0, rtp, to 'rtp://192.168.188.30:8710':
     Metadata:
       encoder         : Lavf54.6.100
       Stream #0:0: Video: h264, yuv420p, 1600x900, q=-1--1, 8000 kb/s, 90k tbn, 50 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 192.168.188.30
    t=0 0
    a=tool:libavformat 54.6.100
    m=video 8710 RTP/AVP 96
    b=AS:8000
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1

    Everything looks good so far...

    Now the problem.
    I create foo.sdp from the SDP output of the server and try to playback the stream with ffmpeg ffplay foo.sdp. ffplay fails with the following error :

    [sdp @ 0x7f5e0c0008c0] decoding for stream 0 failed
    [sdp @ 0x7f5e0c0008c0] Could not find codec parameters (Video: h264)
    [sdp @ 0x7f5e0c0008c0] Estimating duration from bitrate, this may be inaccurate
    gameserver.sdp: could not find codec parameters

    If I try the same with VLC, it also fails, but with the different error :

     [0x7f3278c045b8] live555 demux error: no data received in 10s, aborting

    Look like different reasons. But I could not solve either. Does anyone have a clue ?