
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (5)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP 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, parTo 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, parWe 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 Gisquetx86 : 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>
-
ffmpeg RTSP over TCP, RTP timestamps are always zero
14 septembre 2021, par AzamatI'm trying to get timestamps from RTP packet. When I scan packets with Wireshark I get following output :
rtp_packet
I see that timestamps have incremented after several packets.
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.
Can you help to figure out is there are bug in cameras or bug in ffmpeg ?



There is my code :



double ntp_timestamp(AVFormatContext* pFormatCtx, uint32_t* last_rtcp_ts, double* base_time) {
RTSPState* rtsp_state = (RTSPState*) pFormatCtx->priv_data;
RTSPStream* rtsp_stream = rtsp_state->rtsp_streams[0];
RTPDemuxContext* rtp_demux_context = (RTPDemuxContext*) rtsp_stream->transport_priv;

uint32_t new_rtcp_ts = rtp_demux_context->last_rtcp_timestamp;

uint64_t last_ntp_time = 0;

if (new_rtcp_ts != *last_rtcp_ts) {
 *last_rtcp_ts = new_rtcp_ts;
 last_ntp_time = rtp_demux_context->last_rtcp_ntp_time;
 uint32_t seconds = ((last_ntp_time >> 32) & 0xffffffff) - 2208988800;
 uint32_t fraction = (last_ntp_time & 0xffffffff);
 double useconds = ((double) fraction / 0xffffffff);
 *base_time = seconds + useconds;
}
uint32_t d_ts = rtp_demux_context->timestamp - *last_rtcp_ts;
return *base_time + d_ts / 90000.0;




}


-
How do I convert that mp4 to the same format as this ts ?
5 septembre 2022, par Orlando BloomGeneral
Complete name : D:/aaa.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 2.73 MiB
Duration : 6 s 154 ms
Overall bit rate mode : Variable
Overall bit rate : 3 715 kb/s
Encoded date : UTC 2022-09-04 09:49:04
Tagged date : UTC 2022-09-04 09:49:05

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 6 s 134 ms
Bit rate mode : Variable
Bit rate : 3 578 kb/s
Maximum bit rate : 4 320 kb/s
Width : 856 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.290
Stream size : 2.62 MiB (96%)
Encoded date : UTC 2022-09-04 09:49:04
Tagged date : UTC 2022-09-04 09:49:05
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 6 s 154 ms
Source duration : 6 s 200 ms
Bit rate mode : Variable
Bit rate : 137 kb/s
Maximum bit rate : 320 kb/s / 320 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 104 KiB (4%)
Source stream size : 104 KiB (4%)
Default : Yes
Alternate group : 1
Encoded date : UTC 2022-09-04 09:49:04
Tagged date : UTC 2022-09-04 09:49:05
mdhd_Duration : 6153





General
ID : 1 (0x1)
Complete name : D:/bbb.ts
Format : MPEG-TS
File size : 3.13 MiB
Duration : 10 s 763 ms
Overall bit rate mode : Variable
Overall bit rate : 2 434 kb/s

Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.2
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : 27
Duration : 10 s 780 ms
Width : 1 080 pixels
Height : 606 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 142
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

Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 10 s 750 ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -23 ms





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


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


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


The following is the filler text, do not look


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