
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (62)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8794)
-
Frames per second Conceptual Details
25 février 2014, par Whoamii am a newbie and trying to understand the concepts behind ffmpeg/video.
FPS means frame per second , for example
25fps -> 25 frames captured in a second
From the display perpective
25 frames need to be displayed in a second.
correct me if i am wrong ?
Now i have written a simple video player in ffmpeg to display. i read
frames by av_read_frame(), if fps is 25, then doesav_read_frame()
returns 25 frames per second ? how can i relate it ?
-
Wrong path returned from MPV player using mp.get_property("path") spaces on Windows
15 août 2018, par user2432166I have my video in the following locaton with spaces on Windows.
"c :\GoogleDrive\CMD Scripts_video\test.mp4"
MPV function in Lua script returns cut path with special characters 1
video_path = mp.get_property("path")
"c :\GOOGLE 1\CMDSCR 1_video\test.mp4"
How can I get on Windows full path to use it as input for FFMPEG in my LUA script ?
Thank you
Peter -
Using FFmpeg to detect alpha channel in PR4444 file [closed]
8 décembre 2023, par Justin MyersI wanted to comment on a thread that already exists on this topic in general, but I just signed up to SO and have not earned my contribution credits yet ! If anyone has advice on how to better handle that in the future, I am all ears !!


None-the-less, here is that thread :


A good way to detect alpha channel in a video using ffmpeg/ffprobe


I tried both the answers listed in that post to detect the presence of an alpha channel in a PR4444 video file.


For Gyan's answer, I get the following pixel format from any PR4444 file (regardless if encoded with alpha or no alpha), when running part 1 :


yuva444p12le


As you will see in Gyan's notes, even if a FFprobe returns an "a" in the return string (for the call for pixel format), that does not equate to the presence of an alpha channel. Hence their note for the subsequent (part 2) call...


I then plugged that into the part 2 of Gyan's answer, but that produced an empty from FFmpeg, and a message providing valid arguments to pair with grep. It seems as though -oP is not a valid arg for grep ? Because it wasn't listed in the returned list of options. This is the template I used (pulled verbatim from Gyan's posted solution) :


ffprobe -v 0 -show_entries pixel_format=name:flags=alpha -of compact=p=0 | grep "$PIX_FMT|" | grep -oP "(?<=alpha=)\d"


Where $PIX_FMT is to be replaced with yuva444p121e (per Gyan's instructions).


I then tried Benji's solution for part 2, but that just returns the following :


pix_fmt=yuva444p12le


Of course, this isn't any more useful than part 1...


I suspect Gyan is on the right track as he mentions part 2 should produce a boolean result for the presence of an alpha channel. However, either I am misunderstanding the syntax of his template, or something has changed in FFprobe since. There is so limited information out there for this specific task. Hoping someone with more experience and knowledge can help shed some light for me ??