
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (20)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (1988)
-
Evolution #3892 (Nouveau) : Différence de tri entre {id_patate IN ...} et {id_patate ?}
24 janvier 2017, par tcharlss (*´_ゝ`)Avec un critère
{id_patate IN ...}
, le compilateur ajoute unORDER BY FIELD(id_patate,...)
à la requête, du coup les résultats sont triés dans l’ordre duIN
: joie.
En revanche, avec un critère optionnel{id_patate?}
et un array dans l’environnement, ça fait bien unIN
dans la requête par contre il n’y a pasORDER BY
et on perd l’ordre de tri : tristesse.Dans les 2 cas, on devrait avoir cet
ORDER BY FIELD
fort pratique.Exemples :
SELECT articles.id_article, articles.lang, articles.titre FROM spip_articles AS `articles` WHERE (articles.statut = ’publie’) AND ((articles.id_article IN (3,1,2))) ORDER BY FIELD(articles.id_article,3,1,2)
SELECT articles.id_article, articles.lang, articles.titre FROM spip_articles AS `articles` WHERE (articles.statut = ’publie’) AND ((articles.id_article IN (3,1,2)))
Testé en SPIP 3.1.3
-
FFMPEG Increment filename past 1000 and reset from 1
15 avril 2019, par Eric GaoFrom the documentation :
ffmpeg -i video.webm image-%03d.png
This will extract 25 images per second from the file video.webm and save them as image-000.png, image-001.png, image-002.png up to image-999.png. If there are more than 1000 frames then the last image will be overwritten with the remaining frames leaving only the last frame.
Is there any way to increment this number past 1000, and can I also have this restart from 1 so that we’re not just overwriting the last frame ?
I have a script that analyzes these images as they come in so I use locally stored images as a buffer/queue. It’s also useful for me to have more images stored so I can go back and debug anything, so being able to do the above would be quite helpful for me.
-
FFmpeg : Re-Streaming RTSP to RTMP (via Nginx) crash randomly with "Connection reset by peer" Error
5 octobre 2023, par XavI try to Re-stream a RTSP stream from my local network to a RTMP stream (using Nginx), using the following command :


ffmpeg -re -rtsp_transport tcp -i "rtsp://some_ip/Streaming/Channels/101" -vcodec libx264 -f flv -filter:v fps=5 rtmp://127.0.0.1:3500/live/stream



It always starts well and I can watch the resulting stream


But after some random time, it crashes with this output :


av_interleaved_write_frame(): Connection reset by peer49.40 bitrate=6002.5kbits/s speed=0.755x 
[flv @ 0x55b00cbd7140] Failed to update header with correct duration. 
[flv @ 0x55b00cbd7140] Failed to update header with correct filesize. Error writing trailer of rtmp://127.0.0.1:3500/live/stream: Connection reset by peer 



Most of time it crashes after 'a few' frames (400 - 800), but some times only after 10 minutes or a day.


I have tried a lot of things found on several forums


The original prompt was


ffmpeg -re -i "rtsp://some_ip/Streaming/Channels/101" -f hevc -filter:v fps=5 rtmp://127.0.0.1:3500/live/stream



with the same error, but at every try and never more than 200 frames.


- 

- I added
-rtsp_transport tcp
-> Same error , but some warnings disappear - I changed the video codec from
hevc
toflv
(I read somewhere hevc was not well supported by rtmp) -> I have seen some improvement. It seems to prevent crashes, but not all the time.






Thank you for your help


- I added