Recherche avancée

Médias (91)

Autres articles (48)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (9212)

  • FFMPEGH264Decoder - h264 video playing too fast

    25 février 2017, par Vineesh TP

    I am trying to play a .h264 video in iOS
    When loading the video the play back is too fast.

    I am reffering this source code

    Here is the code,

    CFFMPEGH264Decoder *decoder = new CFFMPEGH264Decoder(0);
       decoder->Init();
       decoder->Start();
       dispatch_queue_t decodeQueue = dispatch_queue_create("abc", NULL);
       dispatch_async(decodeQueue, ^{
           VideoPacket *vp = nil;
           while(true) {
               vp = [parser nextPacket];
               if(vp == nil) {
                   break;
               }
               decoder->Decode(vp.buffer, vp.size);
               unsigned char *result = decoder->GetResultData();
               if (result != 0) {
                 //  NSLog(@"%d, %d",decoder->GetResultWidth(), decoder->GetResultHeight());
                   dispatch_async(dispatch_get_main_queue(), ^{

                     [glView displayYUV420pData:result width:decoder->GetResultWidth() height:decoder->GetResultHeight()];
                   });

                   decoder->ReleaseResultData();
               }
           }
       });

    When Encode the video I have to the frameRate is 24 only.
    But, after decode 5 second video play back is plying in 1 second.

  • FFmpeg/MP4 - Force all existing frames to play at fixed frame rate

    16 mai 2020, par MJoseph

    I have an MP4 video file that I suspect is corrupt, in that mediainfo reports a variable frame rate, but I believe the frames present are meant to be played at a fixed frame rate. This discrepancy causes video stuttering. Is there any way to force an MP4 container (by editing header info, or frame timing tables) to simply play back all existing frames at a fixed frame rate (i.e. 24fps). Every tip I've read assumes you want to drop and/or add frames to achieve a new frame rate, while keeping all the old frame timings (i.e. ffmpeg -r or ffmpeg -filter). These methods end up preserving the stutter and altering the size of the file. I would like to throw out the frame timings, but keep all frames, and just play them back at a constant rate. Is this possible ?

    


  • How to convert MPEG2-TTS to MPEG2-TS format to playback using ffplay

    29 février 2024, par Asustor

    I know some OSS such as ffmpeg or gstreamer don't support to play-back MPEG2-TTS stream.
Then, I tried to convert 192 bytes TTS packet to 188 bytes TS packet by deleting first 4 bytes like :

    


    def conv_tts2ts(rtp_payload):

    payload_len = len(rtp_payload)
    if payload_len % 192 != 0:
        raise

    pkt_num = int(payload_len / 192)
    ts_data = bytearray()
    for i in range(pkt_num):
        spos = 192 * i
        epos = spos + 192
        tmp = rtp_payload[spos:epos]
        ts_data.extend(tmp[4:])

    return ts_data

# after this, send ts_data with RTP header received from MPEG2-TTS streamer via UDP/IP.



    


    However, ffplay and ffprobe don't reaction.

    


    I expect to be able to play-back using ffplay as MPEG2-TS format.
Please tell me how to convert TTS to TS in order to deocde by ffmpeg ?