
Recherche avancée
Autres articles (76)
-
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (8162)
-
OpenCV Java binds VideoCapture from file failing silently
8 décembre 2014, par muz0I’m using OpenCV 2.4.8 with the supplied Windows 64bit Java jar. I’ve been making full use of OpenCV in my current environment up until this point.
I’m unable to open video files using the
VideoCapture
class however webcam feeds work just fine.The below works as expected with
video.isOpened
returning trueVideoCapture video = new VideoCapture();
boolean result = video.open(0);The below fails with
video.isOpened
returning falseVideoCapture video = new VideoCapture();
boolean result = video.open("res/hand-test-1.mp4");Neither file formats seems to make a difference (These are converted, not just renamed in hope)
video.open("res/hand-test-1.mp4");
video.open("res/hand-test-1.avi");
video.open("res/hand-test-1.wmv");Location seems to matter not either.
video.open("C:/hand-test-1.mp4");
video.open("C:\\hand-test-1.mp4");
video.open("hand-test-1.mp4");Neither does garbage, no exception kicked up from OpenCV through Java either, seems to fail silently.
video.open("ashdkfhkajsjdfkhaksdf");
PATH contains the ffmpeg directory supplied with the opencv installation,
C:\dev\opencv\sources\3rdparty\ffmpeg
Right now I’ve run out of ideas, it seems like whatever I throw to the native via
video.open(String)
will return false.Any help would be much appreciated
-
Scenecut detection and consistent GOP size - adaptive streaming
24 mars 2014, par TarunSample Command :
-map 0:0 -f mp4 -vcodec libx264 -preset slow -profile:v main -vf scale="640:trunc(ow/a/2)*2" -vb 700k -minrate 650k -maxrate 750k -bufsize 10000k -an -g 48 -x264opts keyint=48:min-keyint=10:scenecut=40 -flags +cgop -sc_threshold 40 -pix_fmt yuv420p -threads 0 -y
There is as such no error in encoding, But I wanted to understand following points-
1) the above command will ensure that range of GOP size is 10,48, and if any scene change value (frame1 to fame2) is >40%, then a keyframe is introduced there ?
2) So that means in a 3 hours of source video, there is no guarantee that GOP size will remain same
3) No consider, I am creating 7 MP4 files each with different bitrate and resolution. (These Mp4s will be encoded to smooth in later stage). Hence i am targeting adaptive streaming. But when I did that, I found that if GOP sizes were not consistent across each bitrates. What I mean by this is, for ex : if in Bitrate1 - GOP size is like 10, 20, 48 and so on, in other bitrates it wasnt in the same sequence. I hope my question makes sense.
So is there a way to ensure that GOP size may vary across one single output. But it should be consistent across each bitrate provided that the source is same ?
Also for adaptive streaming Is scenecut detection advisable ?
-
How to install ffmpeg and convert videos to mp4 in PHP ?
21 octobre 2018, par loot vergeI downloaded the latest version of ffmpeg.exe. How can I use it in order to convert videos to mp4 using PHP script and Do I need to install the ffmpeg.exe in order for me to use it if so, how can I install it properly ? I am using the latest version XAMPP. I have seen many sites with tutorial but none of the have the proper information to install and use ffmpeg. I hope you guys can help me. I tried to copy the ffmpeg.exe in the folder of my site and tried the code below I am getting an error
if(exec("ffmpeg.exe")){
echo "ok";
}
else {
echo "error";
}