
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...)
Sur d’autres sites (10486)
-
Drop packets instead of causing DTS error
26 août 2020, par ottpeterI have 2 ffmpeg instances which are going through a buffer that is written in C.


One of the ffmpeg instance is creating an FLV output and sending it to a TCP socket, which is connected to the C program. The C is filling up an array, then sends the packets to the other ffmpeg instance.


The point is that the first ffmpeg instance can loose connection, and can be restarted.


The other ffmpeg instance looks something like this :


ffmpeg \
 -re \
 -fflags +igndts \
 -fflags flush_packets \
 -fflags discardcorrupt \
 -r 25 \ \
 -i $INPUT_VIDEO_STREAM \
 -safe 0 \
 -i music.txt \
 -fflags +genpts \
 -c:a mp3 \
 -b:a 320k \
 -c:v copy \
 -frame_drop_threshold 1.0
 -preset ultrafast \
 -f flv rtmp://live.twitch.tv/app/live_KEY \
 -async 1 \
 -vsync 2



The problem is, if I stop the other ffmpeg instance and restart it, I will get "Packet lost" error, and after, I will get a bunch of Non-monotonous DTS in output stream errors.




[flv @ 0x55acf23632a0] Packet mismatch -1135911011 34757 9695626ate=1560.2kbits/s speed= 1x






...
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19080 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19120 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19160 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19200 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19240 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19280 ; changing to 62560. This may result in incorrect timestamps in the output file.
[flv @ 0x55acf23d0ec0] Non-monotonous DTS in output stream 0:0 ; previous : 62560, current : 19320 ; changing to 62560. This may result in incorrect timestamps in the output file.
...




What I would like to happen is to continue playing the mp3 and drop the bad video packages, the video clip can be cut and the new clip can start playing. Even that would be OK if video is behaving strange for some seconds, but stream need to be continuous.


Things I already tried :


- 

- several async / vsync options (vsync 1, vsync 2, vsync drop)
- "-fflags +igndts", removing this option, adding it to the output instead
- -fflags +genpts
- to set probesize to 32
- fflags discardcorrupt












I also started to write a setpts filter, but couldn't figure out the syntax


How can I stream the mp3 list that way that the video timestamps are not continuous, packet loss will happen sometimes ?


-
ffmpeg convert mov to mp4 without reduction of bit rate
17 février 2021, par connor449I am trying to convert a mov video to mp4, but I don't want any compression to happen. I recorded it with Quicktime on a Mac and did so with maximum, uncompressed quality. When I run
ffmpeg -i
. I get :

Stream #0:0(und): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709), 1280x720, 72073 kb/s, 30.09 fps, 30 tbr, 30k tbn, 30k tbc (default)




Note the kb/s is 72,073. I want to preserve this bit rate.


I've tried a few different conversion commands, including :


ffmpeg -i input.mov output.mp4



and :


ffmpeg -i input.mov -qscale 0 output.mp4




Both work, but both result in a loss of bit rate. See info on the results of both


Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p, 1280x720, 4569 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)



How do I convert to mp4 and still have 72,000 kb/s ? Is this possible ?


-
flacdec : drop unnecessary assert
15 mai 2013, par Luca Barbato