
Advanced search
Medias (91)
-
Valkaama DVD Cover Outside
4 October 2011, by
Updated: October 2011
Language: English
Type: Picture
-
Valkaama DVD Label
4 October 2011, by
Updated: February 2013
Language: English
Type: Picture
-
Valkaama DVD Cover Inside
4 October 2011, by
Updated: October 2011
Language: English
Type: Picture
-
1,000,000
27 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
Demon Seed
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
-
The Four of Us are Dying
26 September 2011, by
Updated: September 2011
Language: English
Type: Audio
Other articles (67)
-
Organiser par catégorie
17 May 2013, byDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Création définitive du canal
12 March 2010, byLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
On other websites (5543)
-
How to calculate the start time of mp4 video?
27 May 2022, by Neil GaliaskarovI am studying mp4 video structure. I have an issue with reading the start time value for the following mp4 video


I have read this answer
mp4 video starts at different time on Quicktime/AVplayer vs Chrome/Firefox


and it says that Edit atom can modify the start time.


Using
ffprobe
I have the following output:

"start_time": "0.033333",
 "duration_ts": 327,
 "duration": "10.900000",
 "bit_rate": "9420949",



Using
mp4dumper
I have the following atoms structure which proves missing Edit atom file:

ftyp (24 @ 0)
free (8 @ 24)
moov (7034 @ 32)
 mvhd (108 @ 40)
 trak (2883 @ 148)
 tkhd (92 @ 156)
 mdia (2783 @ 248)
 mdhd (32 @ 256)
 hdlr (52 @ 288)
 minf (2691 @ 340)
 smhd (16 @ 348)
 dinf (36 @ 364)
 dref (28 @ 372)
 url (12 @ 388)
 stbl (2631 @ 400)
 stsd (91 @ 408)
 mp4a (75 @ 424)
 stts (24 @ 499)
 stsc (304 @ 523)
 stsz (2056 @ 827)
 stco (148 @ 2883)
 trak (4035 @ 3031)
 tkhd (92 @ 3039)
 mdia (3935 @ 3131)
 mdhd (32 @ 3139)
 hdlr (52 @ 3171)
 minf (3843 @ 3223)
 vmhd (20 @ 3231)
 dinf (36 @ 3251)
 dref (28 @ 3259)
 url (12 @ 3275)
 stbl (3779 @ 3287)
 stsd (163 @ 3295)
 avc1 (147 @ 3311)
 stts (24 @ 3458)
 ctts (1960 @ 3482)
 stsc (40 @ 5442)
 stsz (1328 @ 5482)
 stco (148 @ 6810)
 stss (108 @ 6958)
mdat (13096745 @ 7066)



How
ffprobe
calculates 0.033333 start time value?

-
Calculate Bitrate from m3u8 ts files ffmpeg
16 January 2017, by JohnI im using ffmpeg to connect to source and then make hls chunks (ts files) so that i can restream.
I use following ffmpeg command to connect to source and generate hls segments:
ffmpeg -y -nostdin -hide_banner -fflags +genpts -async 1 -i http://livestream.com/stream_name.ts -acodec copy -vcodec copy -scodec copy -f hls -hls_time 10 -hls_list_size 6 -hls_flags delete_segments /tmp/chunks/1_.m3u8
Files are generated in /tmp/chunks/ folder ==>♦ 1_.m3u8 index file and 1_0.ts 1_1.ts 1_2.ts 1_3.ts
So question is how can i calulate bitrate of stream?
If i use -f mpegts i can see from ffmpeg bitrate in terminal...but i don’t have chunks and opening stream is slow because stream is written in one file 1_.m3u8 on HDD and is growing..so this solution is not good.
I use to calulate this way:
When 1_1.ts is generated i read file size of 1_0.ts, read duration of 1_0.ts and calulate bitrate....let’s say that file size is: 2360904 bytes and file duration is: 12seconds):
I calucalte it using forumula:
BITRATE = ((file_size / 1024) / file_duration) * 8 [kbit/s]
So in my example this is:
BITRATE = ((2360904 / 1024) / 12) * 8 = 1537 [kbit/s]
Is this correct calulation and is this valid for ffmpeg? Because in ffmpeg when i don’t use hls segmenter only -f mpegts i get bitrate around 1770kbit/s so would need to ask if this is correct way of calculating bitrate of stream or if is not how is correct way and formula...thanks.
Also i need to use HLS segmenter from ffmpeg because this way streams opens very quick and cpu usage is lower (ram usage is 1-2MB per connection witch is good)
-
avformat/segment: calculate segment durations correctly.
7 January 2023, by Gyan Doshiavformat/segment: calculate segment durations correctly.
segment_time and segment_times are defined as duration specifications, not
timestamps, so calculation of segment duration must account for initial
timestamp. Fixed.FATE ref for segment-mp4-to-ts changed on account of avoiding premature
segment cut at the end of the first segment.