Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (35)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6889)

  • lavf/asfenc : add support for storing languages

    3 février 2016, par Marton Balint
    lavf/asfenc : add support for storing languages
    

    Checked compatiblity with VLC, Windows Media Player 12 and Windows Media ASF
    Viewer 9 series.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/asf.c
    • [DH] libavformat/asf.h
    • [DH] libavformat/asfenc.c
  • CDN Stream Play Video + Audio With Referer ?

    30 avril 2020, par lavara123

    This is orginal site play script :

    &#xA;&#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    const player = jwplayer("player").setup({&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;title: "Extraction",&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;description: "2020",&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;file: "https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh",&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;tracks: [{"file":"https:\/\/sinefy.com\/subtitles\/tt8936646.tr.vtt","label":"T\u00fcrk\u00e7e","kind":"captions","default":true}],&#x9;&#x9;&#x9;&#x9;&#x9;image: "https://sinefy.com/uploads/series/cover/extraction-2020.jpg",&#x9;&#x9;&#x9;&#x9;&#x9;type: "application/vnd.apple.mpegurl",&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;playbackRateControls: true,&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;preload: "auto",&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;autostart: autopl,&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;hlshtml: true,&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;androidhls: true,&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;stagevideo: false,&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"primary": "html5"&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;})

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;&#xA;

    this is HLS (Fragmented MP4) url open with referer :

    &#xA;&#xA;

    https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh&#xA;

    &#xA;&#xA;

    referer :

    &#xA;&#xA;

    https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902&#xA;

    &#xA;&#xA;

    i'm play code :

    &#xA;&#xA;

    ffmpeg -referer "https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902" -i "https://e1-ad930d.rapidvideocdn.xyz/videoplayback/6d3d454e9fd30ac1a7ed678ff1d77e325" -f hls -vcodec libx264 -crf 27 -preset veryfast  -c:a copy - | ffplay -&#xA;

    &#xA;&#xA;

    but no sound ?

    &#xA;

  • Send H.264 encoded stream through RTMP using FFmpeg

    15 novembre 2016, par Galaxy

    I followed this to encode a sequences images to h.264 video.

    Here is outputting part of my code :

    int srcstride = outwidth*4;
    sws_scale(convertCtx, src_data, &amp;srcstride, 0, outheight, pic_in.img.plane, pic_in.img.i_stride);
    x264_nal_t* nals;
    int i_nals;
    int frame_size = x264_encoder_encode(encoder, &amp;nals, &amp;i_nals, &amp;pic_in, &amp;pic_out);
    if (frame_size) {
       fwrite(nals[0].p_payload, frame_size, 1, fp);
    }

    This is in a loop to process frames and write them into a file.

    Now, I’m trying to stream these encoded frames through RTMP. As I know, the container for the RTMP is FLV. So I used command line as a trial :

    ffmpeg -i test.h264 -vcodec copy -f flv rtmp://localhost:1935/hls/test

    This one works well as streaming a h.264 encoded video file.

    But how can I implement it as C++ code and stream the frames at the same time when they are generated, just like what I did to stream my Facetime camera.

    ffmpeg -f avfoundation -pix_fmt uyvy422  -video_size 1280x720 -framerate 30 -i "1:0" -pix_fmt yuv420p -vcodec libx264 -preset veryfast -acodec libvo_aacenc -f flv -framerate 30 rtmp://localhost:1935/hls/test

    This may be a common and practical topic. But I’m stuck here for days, really need some relevant exprience. Thank you !