Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (82)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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, par

    Accé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 (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10436)

  • avformat/mov_muxer : Extended MOV muxer to handle APV video content

    14 juillet, par Dawid Kozinski
    avformat/mov_muxer : Extended MOV muxer to handle APV video content
    

    - Changes in mov_write_video_tag function to handle APV elementary stream
    - Provided structure APVDecoderConfigurationRecord that specifies the decoder configuration information for APV video content

    Co-Authored-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Dawid Kozinski <d.kozinski@samsung.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] Changelog
    • [DH] libavcodec/cbs_apv.c
    • [DH] libavformat/Makefile
    • [DH] libavformat/apv.c
    • [DH] libavformat/apv.h
    • [DH] libavformat/cbs.h
    • [DH] libavformat/cbs_apv.c
    • [DH] libavformat/movenc.c
    • [DH] libavformat/movenc.h
    • [DH] tests/ref/fate/source
  • IllegalStateException while compressing video at "dequeueOutputBuffer()" [on hold]

    11 juillet 2017, par Mr Narendra

    I’ve also checked a few or more similar posted questions, but none of them was having any satisfying response.

    My requirement is to compress videos in approx. 1-2 minutes.
    The video size restriction in my app is 500 MB and the duration limit is 4 minutes.

    The commands, I have tried -

    -i /storage/sdcard0/Videos/Lat_test.mp4 -r 20 -vcodec mpeg4 -preset ultrafast -c:a copy -tune fastdecode -strict -2 -b:v 150k
    /storage/sdcard0/Videos/output.mp4

    -y -i /storage/sdcard0/Videos/test3.mp4 -crf 24 -vcodec mpeg4 -preset ultrafast -c:a copy -me_method zero -tune fastdecode -tune zerolatency
    -strict -2 -b:v 1000k -pix_fmt yuv420p /storage/sdcard0/Videos/output.mp4

    and a few more mentioned here

    1) https://github.com/Tourenathan-G5organisation/SiliCompressor (the one using MediaCodec, instead of FFMPEG).

    2) https://github.com/lalongooo/VideoCompressor

    When tried with Samsung Galaxy Grand GT-i9082, version 5.0.1 (rooted), it failed with the below error -

    > java.lang.IllegalStateException
    > at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
    > at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
    > at com.iceteck.silicompressorr.videocompression.MediaController.convertVideo(MediaController.java:491)
    > at com.iceteck.silicompressorr.SiliCompressor.compressVideo(SiliCompressor.java:300)
    > at com.iceteck.silicompressor.SelectPictureActivity$VideoCompressAsyncTask.doInBackground(SelectPictureActivity.java:379)
    > at com.iceteck.silicompressor.SelectPictureActivity$VideoCompressAsyncTask.doInBackground(SelectPictureActivity.java:358)
    > at android.os.AsyncTask$2.call(AsyncTask.java:288)
    > at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    > at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    > at java.lang.Thread.run(Thread.java:818)

    Please suggest how to resolve this issue.

    Or please suggest any other better video compressing approach / sample / reference, if possible

    I have tried various samples of video compression using FFMPEG, as well as MediaCodec, but none of them are working well. A few are very very slow. and rest gets failed in a few devices.

  • Delphi android, deploying AND dynamic loading (external) libraries

    13 décembre 2020, par coban

    I am trying to start creating an application to test FFmpeg libraries, kind of a mediaplayer application, for ANDROID using Delphi 10.3/10.4

    &#xA;

    I am getting some (strange ?) behaviors on different machines and locations of the files on the phone/tablet.

    &#xA;

    The very first question should be ; what folder is the right one to put (external) libraries for dynamic/static loading ?

    &#xA;

    I tried 2 locations ; '.\assets\internal' -> 'files' folder of the app&#xA;and 'library\lib\armeabi-v7a' -> bin folder (if i'm right)

    &#xA;

    behavior on mobile phone Android 8

    &#xA;

    when I choose to place the (FFmpeg) libraries in the Files folder '.\assets\internal' and try to load the libraries, 3 of the 7 libraries succesfully loads, while the other does not. Every tiem the same libraries which fail and succeeds to load. The succesfully loading libraries are 'libavutil.so', 'swresample.so' and 'libswscale.so'.

    &#xA;

    When I choose to place the libraries in the bin folder 'library\lib\armeabi-v7a', all libraries are succesfully loaded.

    &#xA;

    behavior on tablet android 4.4.4

    &#xA;

    When choosing to put the libraries in the 'Files' folder, exact the same behavior as "Android 8 phone".

    &#xA;

    The strange thing is ; When I choos the bin folder, none of the libraries are being loaded ?

    &#xA;

    I did not compile/build the (FFmpeg) libraries myself, I downloaded them.&#xA;I tried libraries from different places.&#xA;In every attempt I checked for the existance of the files.&#xA;I used 'loadlibrary' function, after some reading and suggestions on the internet I allso tried 'dlopen' function directly which looks like unnecessary to use it directly after all.&#xA;I was not able to debug using D10.4 and Android 4.4.4 tablet, because of the minsdk version. Using D10.3 I am able to try on both machines.

    &#xA;

    Delphi10.3 'Android SDK 25.2.5 32bit', 'jdk1.8.0_60'

    &#xA;

    Delphi10.4 'Android SDK 25.2.5 32bit', 'AdoptOpenJDK jdk-8.0.242.08-hotspot'

    &#xA;

    Any idea why 3 of the libraries are able to load in case of they are in the 'Files' folder while all of them can be loaded when they are in the 'BIN' folder (android 8) ?&#xA;And why does nothing load by android 4.4.4 when the files are in the 'Bin' folder while 3 of them are able to be loaded when they are placed in the 'Files' Folder ?

    &#xA;

    I've been using FFmpeg libraries for windows (allmost)without issues, my question should not be FFmpeg specific but Delphi+android+(external)libraries specific except if this behavior is FFmpeg specific.

    &#xA;

    Both are Samsung machines,

    &#xA;

    Android 4.4 tablet cpu (using &#x27;syscheck&#x27; embarcadero recommends);&#xA;&#xA;family = ARM&#xA;processor = ARMv7 processor rev 5(v7I)&#xA;CPU Cores = 4&#xA;neon supported  yes&#xA;armv7 (ARMv7 compatible architecture)  yes&#xA;&#xA;Android 8 phone cpu&#xA;&#xA;Family   ARM&#xA;processor   unknown&#xA;CPU Cores   8&#xA;Neon   yes&#xA;armv7 = Arm&#xA;armv7 (ARMv7 compatible architecture)   yes&#xA;

    &#xA;

    Edit

    &#xA;

    Test on Android 10, redmi note 10 lite

    &#xA;

    None of the library files are being loaded from the 'Files'->'.\assets\internal' folder. All library files are being succesfully loaded from the 'Bin'->'library\lib\armeabi-v7a' Folder.

    &#xA;

    I'll need an reasonably explanation for this. It looks like Andrid specific behavior ?

    &#xA;

    Edit 2

    &#xA;

    One of the reasons seems like that some those FFmpeg libraries are loading other FFmpeg libraries, even if they are in the same directory, if they are outside the folder of the EXE file, or not in a (library) folder where the OS searches by default, they cannot find/load eachother.

    &#xA;

    This looks like the explanation why some of them are able to load in the 'Files'->'.\assets\internal' folder.

    &#xA;