Recherche avancée

Médias (91)

Autres articles (63)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (5137)

  • Revision 5a4ea8bea6 : Remove reverting of tx-select if only a single txfm-size is used. Entropy codin

    12 octobre 2012, par Ronald S. Bultje

    Changed Paths : Modify /vp8/encoder/encodeframe.c Remove reverting of tx-select if only a single txfm-size is used. Entropy coding takes care of this anyway, and this causes changes to the txfm size assigned to skip blocks, which can affect the loopfilter output, thus causing encoder/decoding (...)

  • FFMPEG : Is defining a context for a codec compulsary ?

    28 novembre 2013, par sam

    I'm having a a decoder code. I'm trying to integrate it into ffmpeg framework.

    I'm referring to the HOW TO given here : http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto

    According to that article i need to define a structure in my decoder_name.c file.

    The example structure is shown below :

    AVCodec sample_decoder =
    {
       .name           = "sample",
       .type           = AVCODEC_TYPE_VIDEO,
       .id             = AVCODEC_ID_SAMPLE,
      // .priv_data_size = sizeof(COOKContext),
       .init           = sample_decode_init,
       .close          = sample_decode_close,
       .decode         = sample_decode_frame,
    };

    Where,

    .name -> specifies the short name of my decoder.

    .type -> is used to specify that it is a video decoder.

    .id -> is an unique id that i'm assigning to my video decoder.

    .init -> is a function pointer to the function in my decoder code that performs decoder related initializations

    .decode -> is a function pointer to the function in my decoder code that decodes a single frame, given the input data (elementary stream).

    .close -> is a function pointer to the function in my decoder that frees all allocated memory i.e. the memory allocated in init.

    However, my doubt is according to the above mentioned article, there is another field called .priv_data_size which hold the size of some context.

    Is it compulsory to have this field .priv_data_size because according to the above article, i need not define all the parameters of the structure AVCodec. Further i do not possess any such context for my decoder.

    However, when i go through the code of other available decoders in libavcodec of ffmpeg, i find that every decoder has defined this. Will my decoder work if i do not specify this ? I'm unable to proceed because of this. please provide some guidance regrading the same.

    —Thanks in advance.

  • Why rtp streaming of a .avi video file fails to be received ?

    14 juillet 2016, par user1914692

    In ffmpeg streamingGuide, it writes :

    ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234 &
    ffplay rtp://127.0.0.1:1234

    I want to use a real video file to replace the artificial signal.
    Then I write the below at terminal A :

    ffmpeg -re -i outputFile.avi -f mulaw -f rtp rtp://127.0.0.1:1234

    it seems it is working :
    The frame information is counting. Here are information on the terminal A at the end :

    frame=  309 fps= 29 q=31.0 Lsize=     931kB time=00:00:10.30 bitrate= 740.8kbits/s     video:922kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.030813%

    When the frame at terminal A is still counting (not finished), I type the below at terminal B :

    ffplay rtp://127.0.0.1:1234

    But it does not work :
    The error information is :

    [udp @ 0x7fb370001500] bind failed: Address already in useB f=0/0  
    rtp://127.0.0.1:1234: Input/output error

    Why ?

    [Update 1] Following the instruction from Camille Goudeseune
    I used the foo.sdp
    The input for the ffmpeg terminal is :

    ffmpeg -re -i out.avi -f mulaw -f rtp rtp ://127.0.0.1:1235

    The terminal for ffplay is :

    ffplay -i foo.sdp

    The ffplay terminal shows a lot of error, without images.

     libpostproc    52.  2.100 / 52.  2.100
    [sdp @ 0x7fafdc0008c0] Undefined type (30)    0KB sq=    0B f=0/0  
    [sdp @ 0x7fafdc0008c0] nal size exceeds length: 25453 86 0B f=0/0  
    [sdp @ 0x7fafdc0008c0] Consumed more bytes than we got! (-25367)
    [sdp @ 0x7fafdc0008c0] nal size exceeds length: 25453 86
    [sdp @ 0x7fafdc0008c0] Consumed more bytes than we got! (-25367)
    [sdp @ 0x7fafdc0008c0] Unhandled type (27) (See RFC for implementation details
    [sdp @ 0x7fafdc0008c0] Undefined type (31)    0KB sq=    0B f=0/0  
    [sdp @ 0x7fafdc0008c0] Unhandled type (27) (See RFC for implementation details
    [sdp @ 0x7fafdc0008c0] nal size exceeds length: 62414 6130B f=0/0  
    [sdp @ 0x7fafdc0008c0] Consumed more bytes than we got! (-61801)
    [sdp @ 0x7fafdc0008c0] nal size exceeds length: 62414 613
    [sdp @ 0x7fafdc0008c0] Consumed more bytes than we got! (-61801)
    [h264 @ 0x7fafdc003020] non-existing PPS referencedq=    0B f=0/0  
    [h264 @ 0x7fafdc003020] non-existing PPS 0 referenced
    [h264 @ 0x7fafdc003020] decode_slice_header error
    [h264 @ 0x7fafdc003020] Invalid mix of idr and non-idr slices
    [sdp @ 0x7fafdc0008c0] Undefined type (31)    0KB sq=    0B f=0/0  
    [sdp @ 0x7fafdc0008c0] Unhandled type (29) (See RFC for implementation details
    [sdp @ 0x7fafdc0008c0] Unhandled type (26) (See RFC for implementation details
    [sdp @ 0x7fafdc0008c0] Unhandled type (27) (See RFC for implementation details
       Last message repeated 2 times  0KB vq=    0KB sq=    0B f=0/0  
    [sdp @ 0x7fafdc0008c0] Undefined type (31)
    [sdp @ 0x7fafdc0008c0] Unhandled type (26) (See RFC for implementation details
    [sdp @ 0x7fafdc0008c0] Unhandled type (25) (See RFC for implementation details
    [h264 @ 0x7fafdc003020] insane cropping not completely supported, this could look slightly wrong ... (left: 2, top: 2)
    [h264 @ 0x7fafdc003020] illegal aspect ratio
    [h264 @ 0x7fafdc003020] missing picture in access unit with size 84589
    [h264 @ 0x7fafdc003020] Partitioned H.264 support is incomplete
    [h264 @ 0x7fafdc003020] insane cropping not completely supported, this could look slightly wrong ... (left: 2, top: 2)
    [h264 @ 0x7fafdc003020] illegal aspect ratio
    [h264 @ 0x7fafdc003020] insane cropping not completely supported, this could look slightly wrong ... (left: 2, top: 2)
    [h264 @ 0x7fafdc003020] illegal aspect ratio
    [h264 @ 0x7fafdc003020] no frame!
    [h264 @ 0x7fafdc003020] RTP: missed 2563 packetsB sq=    0B f=0/0  
    [sdp @ 0x7fafdc0008c0] Undefined type (30)
       Last message repeated 1 times
    [sdp @ 0x7fafdc0008c0] Undefined type (31)