
Recherche avancée
Autres articles (70)
-
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 (7576)
-
Protect files from direct access by url on iis server and MVC APP with identity
19 octobre 2022, par Ahmed Ramadani have MVC app with identity authentication
this site business is playing video which edited by ffmpeg .


<video class="video-js vjs-default-skin" width="640" height="360" controls="controls">
 <source src="video\index.m3u8" type="application/x-mpegURL">
</source></video>



i want to prevent direct access from browser to this link , unless user has session
https://localhost/vide/index.m3u8


i tired this code for config file



 <authorization>
 <deny users="?"></deny>
 </authorization>
 



but i still be able to access the file and not able to aceess folder


ex :-


https://localhost/video/index.m3u8 



accessible


https://localhost/video



Not accessible !


i tried this link , but still not get it
how to deny user to access sub folders and file ?


-
ffmpeg timelapse resets PTS on frame size change
19 avril 2024, par RalI have 601 sequential images, they change size and aspect ratio on frame 36 and 485, creating 3 distinct sizes of images in the set.


I want to create a timelapse and shave off the first 200 frames and only show the remaining 401, but if I do a trim filter on the input, the filter treats each of the 3 sections of different sized frames as separate 'streams' with their own reset PTS, all of which start at the exact same time. This means the final output of the below commmand is only 249 frames long instead of 401.


How can I fix this so I just get the final 401 frames ?


ffmpeg \
-framerate 60 \
-i "./%07d.jpg" \
-filter_complex "
 [0]scale=1000:1000[in1];
 [in1]trim=start_frame=200[in2];
 [in2]setpts=PTS-STARTPTS
 " \
-r 60 -y trimmed.webm



Filters like
setpts=N/(60*TB)
orsetpts=PTS-SETPTS
after thescale
to try and fix the frame times also seem to change nothing.

If I remove the trim and pts reset, the timelapse exports all 601 perfectly.
If I remove the pts reset and leave the trim, it exports 449 frames starting on frame 0.


There's no errors or warning associated with the problem, other than the debug states the input reaches EOF on frame 449. (which is 485-36, the two section lengths, for some reason)


I understand pre-processing the image sizes is a way to fix this, but I'd like to understand why this isn't possible in one command.


version 6.0-6ubuntu1, but also happens on 6.1 and 5.1.


Even if I whittle it down to the bare minimum, it still incorrectly exports 450 frames :


ffmpeg -i "./%07d.jpg" -filter setpts=PTS-STARTPTS -y tpad.webm


-
Output a video to a file
3 novembre 2011, par EagleEyeI am working on a very CPU intensive legacy application on windows which captures video frames from camera and displays it on the screen. Now I need to add a feature to it to save this video feed to an output file. And I have a raw image data as an input. I need to make this process as efficient as possible so that it doesn't affect the performance of my application.
So what are the best available API's in C++ that I can use to create an output video file. And moreover what should be the most efficient encoding format that I must use so that I get the maximum throughput. Also I may have to use some compression techniques. So what should be the best approach.
Moreover can I use GPU acceleration for this process and how ?
Uptil now I have encountered following tools that I may use :
- OpenCV
- Microsoft Media Foundation LIbrary or DirectShow
- ffmpeg