
Recherche avancée
Autres articles (20)
-
Création définitive du canal
12 mars 2010, parLorsque 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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (3553)
-
FFMPEG - Download video in parts and concat, stutter at concat points
23 juillet 2022, par rnbwSmnMy goal is to download a video (or M3U8) in parts/chunks which I can later concat.


For context, I would like to download videos in an Android Service which may be stopped at any time, so I think chunking is the right approach.


After some time I got the "downloading the parts" right, using this. I would later put that in a function, and for now I chose the chunks to be 30 seconds long.


%offset% = 30 * %part%

ffmpeg -ss %offset% -t 30 -i INPUT_FILE -avoid_negative_ts 1 out%part%.mp4



The first line is just pseudocode, part is starting at 0.
This works fine, downloading 30 second long .mp4 files.


After that I tried merging them together into a single .mp4. For the tests I only downloaded the first few parts.


Concat command :


ffmpeg -safe 0 -f concat -i concat.txt -c copy final.mp4



This would be a very short concat.txt file :


file 'out0.mp4'
file 'out1.mp4'



The concat works but has one problem : At the point where both files are actually combined, so at 30 seconds, there is a small stutter in video and audio.


So what I think is going on is that I download parts that are 30s long, starting at multiples of 30s so there is a small overlap ? In the "Details" part of the Windows file properties it also shows a length of 31 seconds, so the video is even longer than I want.


I tried setting the duration of each part in the concat.txt, both to 30s and to 30s - 1 frame


23.98 fps -> 1/23.98 spf = 0.0417s



But with a duration of 30 as well as 29.9583, although it is better, there is still a small stutter.


file 'out0.mp4'
duration 29.9583
file 'out1.mp4'
duration 29.9583



I also tried with a different fileformat, .ts files, but the stutter was still there. I still think my timings are not quite right, but at this point I don't know where the problem is exactly. What do I need to change to remove the small stutter ?


-
How to download live streaming videos with HTTP .flv url
20 février 2017, par Sajjad DarvishiI just wanted to record a live stream by downloading this link but it did’nt work by curl , ffmpeg and wget please help me how can i record this ?
-
Revision ecbca31a1d : Fix comments and color format Replaced "color space" with "color format" in com
9 janvier 2015, par Yaowu XuChanged Paths :
Modify /vp9/decoder/vp9_decodeframe.c
Modify /vp9/encoder/vp9_encoder.c
Modify /vp9/vp9_cx_iface.c
Fix comments and color formatReplaced "color space" with "color format" in comments where color
sampling format is concerned, so to differentiate from the concept
defined in COLOR_SPACE.Change-Id : I8c935034c166b24307a99352dab1686531276bb8