Recherche avancée

Médias (91)

Autres articles (5)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

  • x86 : sbrdsp : Implement SSE2 qmf_deint_bfly

    9 avril 2013, par Christophe Gisquet
    x86 : sbrdsp : Implement SSE2 qmf_deint_bfly
    

    Sandybridge : 47 cycles

    Having a loop counter is a 7 cycle gain.
    Unrolling is another 7 cycle gain.
    Working in reverse scan is another 6 cycles.

    Signed-off-by : Diego Biurrun <diego@biurrun.de>

    • [DH] libavcodec/x86/sbrdsp.asm
    • [DH] libavcodec/x86/sbrdsp_init.c
  • ffmpeg RTSP over TCP, RTP timestamps are always zero

    14 septembre 2021, par Azamat

    I'm trying to get timestamps from RTP packet. When I scan packets with Wireshark I get following output :&#xA;rtp_packet&#xA;I see that timestamps have incremented after several packets.&#xA;Issue that I have as following : when I read timestamp value from RTPDemuxContext->timestamp (rtp_demux_context->timestamp) in C, the value is always zero for several cameras, but for the majority of cameras the code works well.&#xA;Can you help to figure out is there are bug in cameras or bug in ffmpeg ?

    &#xA;&#xA;

    There is my code :

    &#xA;&#xA;

    double ntp_timestamp(AVFormatContext* pFormatCtx, uint32_t* last_rtcp_ts, double* base_time) {&#xA;RTSPState* rtsp_state = (RTSPState*) pFormatCtx->priv_data;&#xA;RTSPStream* rtsp_stream = rtsp_state->rtsp_streams[0];&#xA;RTPDemuxContext* rtp_demux_context = (RTPDemuxContext*) rtsp_stream->transport_priv;&#xA;&#xA;uint32_t new_rtcp_ts = rtp_demux_context->last_rtcp_timestamp;&#xA;&#xA;uint64_t last_ntp_time = 0;&#xA;&#xA;if (new_rtcp_ts != *last_rtcp_ts) {&#xA;    *last_rtcp_ts = new_rtcp_ts;&#xA;    last_ntp_time = rtp_demux_context->last_rtcp_ntp_time;&#xA;    uint32_t seconds = ((last_ntp_time >> 32) &amp; 0xffffffff) - 2208988800;&#xA;    uint32_t fraction  = (last_ntp_time &amp; 0xffffffff);&#xA;    double useconds = ((double) fraction / 0xffffffff);&#xA;    *base_time = seconds &#x2B; useconds;&#xA;}&#xA;uint32_t d_ts = rtp_demux_context->timestamp - *last_rtcp_ts;&#xA;return *base_time &#x2B; d_ts / 90000.0;&#xA;

    &#xA;&#xA;

    }

    &#xA;

  • How do I convert that mp4 to the same format as this ts ?

    5 septembre 2022, par Orlando Bloom
    General&#xA;Complete name                            : D:/aaa.mp4&#xA;Format                                   : MPEG-4&#xA;Format profile                           : Base Media&#xA;Codec ID                                 : isom (isom/iso2/avc1/mp41)&#xA;File size                                : 2.73 MiB&#xA;Duration                                 : 6 s 154 ms&#xA;Overall bit rate mode                    : Variable&#xA;Overall bit rate                         : 3 715 kb/s&#xA;Encoded date                             : UTC 2022-09-04 09:49:04&#xA;Tagged date                              : UTC 2022-09-04 09:49:05&#xA;&#xA;Video&#xA;ID                                       : 1&#xA;Format                                   : AVC&#xA;Format/Info                              : Advanced Video Codec&#xA;Format profile                           : High@L3.1&#xA;Format settings                          : CABAC / 2 Ref Frames&#xA;Format settings, CABAC                   : Yes&#xA;Format settings, Reference frames        : 2 frames&#xA;Codec ID                                 : avc1&#xA;Codec ID/Info                            : Advanced Video Coding&#xA;Duration                                 : 6 s 134 ms&#xA;Bit rate mode                            : Variable&#xA;Bit rate                                 : 3 578 kb/s&#xA;Maximum bit rate                         : 4 320 kb/s&#xA;Width                                    : 856 pixels&#xA;Height                                   : 480 pixels&#xA;Display aspect ratio                     : 16:9&#xA;Frame rate mode                          : Constant&#xA;Frame rate                               : 30.000 FPS&#xA;Standard                                 : Component&#xA;Color space                              : YUV&#xA;Chroma subsampling                       : 4:2:0&#xA;Bit depth                                : 8 bits&#xA;Scan type                                : Progressive&#xA;Bits/(Pixel*Frame)                       : 0.290&#xA;Stream size                              : 2.62 MiB (96%)&#xA;Encoded date                             : UTC 2022-09-04 09:49:04&#xA;Tagged date                              : UTC 2022-09-04 09:49:05&#xA;Color range                              : Limited&#xA;Color primaries                          : BT.709&#xA;Transfer characteristics                 : BT.709&#xA;Matrix coefficients                      : BT.709&#xA;Codec configuration box                  : avcC&#xA;&#xA;Audio&#xA;ID                                       : 2&#xA;Format                                   : AAC LC&#xA;Format/Info                              : Advanced Audio Codec Low Complexity&#xA;Codec ID                                 : mp4a-40-2&#xA;Duration                                 : 6 s 154 ms&#xA;Source duration                          : 6 s 200 ms&#xA;Bit rate mode                            : Variable&#xA;Bit rate                                 : 137 kb/s&#xA;Maximum bit rate                         : 320 kb/s / 320 kb/s&#xA;Channel(s)                               : 2 channels&#xA;Channel layout                           : L R&#xA;Sampling rate                            : 44.1 kHz&#xA;Frame rate                               : 43.066 FPS (1024 SPF)&#xA;Compression mode                         : Lossy&#xA;Stream size                              : 104 KiB (4%)&#xA;Source stream size                       : 104 KiB (4%)&#xA;Default                                  : Yes&#xA;Alternate group                          : 1&#xA;Encoded date                             : UTC 2022-09-04 09:49:04&#xA;Tagged date                              : UTC 2022-09-04 09:49:05&#xA;mdhd_Duration                            : 6153&#xA;&#xA;&#xA;

    &#xA;

    General&#xA;ID                                       : 1 (0x1)&#xA;Complete name                            : D:/bbb.ts&#xA;Format                                   : MPEG-TS&#xA;File size                                : 3.13 MiB&#xA;Duration                                 : 10 s 763 ms&#xA;Overall bit rate mode                    : Variable&#xA;Overall bit rate                         : 2 434 kb/s&#xA;&#xA;Video&#xA;ID                                       : 256 (0x100)&#xA;Menu ID                                  : 1 (0x1)&#xA;Format                                   : AVC&#xA;Format/Info                              : Advanced Video Codec&#xA;Format profile                           : High@L3.2&#xA;Format settings                          : CABAC / 4 Ref Frames&#xA;Format settings, CABAC                   : Yes&#xA;Format settings, Reference frames        : 4 frames&#xA;Codec ID                                 : 27&#xA;Duration                                 : 10 s 780 ms&#xA;Width                                    : 1 080 pixels&#xA;Height                                   : 606 pixels&#xA;Display aspect ratio                     : 16:9&#xA;Frame rate mode                          : Variable&#xA;Color space                              : YUV&#xA;Chroma subsampling                       : 4:2:0&#xA;Bit depth                                : 8 bits&#xA;Scan type                                : Progressive&#xA;Writing library                          : x264 core 142&#xA;Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=48 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=20 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00&#xA;&#xA;Audio&#xA;ID                                       : 257 (0x101)&#xA;Menu ID                                  : 1 (0x1)&#xA;Format                                   : AAC LC&#xA;Format/Info                              : Advanced Audio Codec Low Complexity&#xA;Format version                           : Version 4&#xA;Muxing mode                              : ADTS&#xA;Codec ID                                 : 15-2&#xA;Duration                                 : 10 s 750 ms&#xA;Bit rate mode                            : Variable&#xA;Channel(s)                               : 2 channels&#xA;Channel layout                           : L R&#xA;Sampling rate                            : 44.1 kHz&#xA;Frame rate                               : 43.066 FPS (1024 SPF)&#xA;Compression mode                         : Lossy&#xA;Delay relative to video                  : -23 ms&#xA;&#xA;&#xA;

    &#xA;

    I tried "ffmpeg -i aaa.mp4 -c:v libx264 -c:a aac bbb.ts"

    &#xA;

    But the two converted ts, "-c copy" into a new mp4 cannot be played in the iPhone default player

    &#xA;

    I think my use of "ffmpeg -i aaa.mp4 -c:v libx264 -c:a aac bbb.ts" is wrong,

    &#xA;

    The following is the filler text, do not look

    &#xA;

    It looks like your post is mostly code ; please add some more details.&#xA;It looks like your post is mostly code ; please add some more details.&#xA;It looks like your post is mostly code ; please add some more details.

    &#xA;