
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (78)
-
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 (7497)
-
Code highlighting fix
9 septembre 2011, par Scott Schillerm index.html Code highlighting fix
-
FFmpeg command works in terminal but gives an error in php code
21 mai 2021, par RiderUse this command :


ffmpeg -i lecture.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8



It works.


$path = '1/';
 $inputFile = 'lecture.mp4';
 $filePath = 'filename.m3u8';
 $commandOutput = exec ('/opt/ffmpeg/ffmpeg -I '.$path .$inputFile. ' -Codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls'.$path .$filePath);



Using this PHP code I get the error :
At least one output file must be specified


What is causing this error ?


-
Start Android Java VM from native C code NDK (ffmpeg mediacodec use)
19 avril 2021, par eusoubrasileiroI managed to cross-compile
ffmpeg
using the NDK for armv8a api 27 withMediaCodec
hardware acceleration support.

Using root after setting permissions, folders and setting properly
LD_LIBRARY_PATH
etc. I can run it without problems on a terminal session (ssh). Only if I don't try to use the-hwaccel
option.

If try to run something using
-hwaccel
, like :

ffmpeg -rtsp_transport tcp -an -hwaccel mediacodec -c:v hevc_mediacodec -i rtsp://user:pass@192.168.0.100:554/onvif1 -f null - -benchmark



I get the error bellow about
No Java virtual machine
.

...
Input #0, rtsp, from 'rtsp://user:pass@192.168.0.100:554/onvif1':
 Metadata:
 title : H.265 Video, RtspServer_0.0.0.2
 Duration: N/A, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: hevc (Main), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], 10 fps, 10 tbr, 90k tbn, 10 tbc
 Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[amediaformat @ 0x7e2ea27300] No Java virtual machine has been registered
[hevc_mediacodec @ 0x7e2eb44f00] Failed to create media format
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (hevc_mediacodec) -> wrapped_avframe (native))
Error while opening decoder for input stream #0:0 : Generic error in an external library



Would it be possible to start (create or launch ?) the Dalvik Java VM directly from the C code ? I don't even know if those are correct terms. Make it visible for
ffmpeg
?

Any information that will help a Android Newbie get on his feet will be greatly appreciated. If that is possible I would write a little patch on the
ffmpeg
code.

I really would not like to package this in an app only to be able to test around with this.