Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (66)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7093)

  • 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

    


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

    


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

    


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

    


    behavior on mobile phone Android 8

    


    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'.

    


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

    


    behavior on tablet android 4.4.4

    


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

    


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

    


    I did not compile/build the (FFmpeg) libraries myself, I downloaded them.
I tried libraries from different places.
In every attempt I checked for the existance of the files.
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.
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.

    


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

    


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

    


    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) ?
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 ?

    


    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.

    


    Both are Samsung machines,

    


    Android 4.4 tablet cpu (using 'syscheck' embarcadero recommends);

family = ARM
processor = ARMv7 processor rev 5(v7I)
CPU Cores = 4
neon supported  yes
armv7 (ARMv7 compatible architecture)  yes

Android 8 phone cpu

Family   ARM
processor   unknown
CPU Cores   8
Neon   yes
armv7 = Arm
armv7 (ARMv7 compatible architecture)   yes


    


    Edit

    


    Test on Android 10, redmi note 10 lite

    


    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.

    


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

    


    Edit 2

    


    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.

    


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

    


  • How to upload 7MB GIF to Twitter's API

    22 février 2021, par randombits

    I have a bunch of JPEG frames that I use ImageMagick to stitch together into a GIF. The final product has the following type :

    


    GIF image data, version 89a, 1280 x 720

    


    This gives the effect of an animated GIF. My file sizes range anywhere between 6-8MB.

    


    If I upload this media manually to Twitter, it works great. Using TwitterOAuth PHP library found here when I attempt the following :

    


    $media = $twitterConnection->upload('media/upload', ['media' => 'my_file.gif');

    


    I get the following error :

    


    Image file size must be <= 5242880 bytes

    


    I have also tried uploading the file using Twitter's recommended Python large video library and that failed with the following :

    


    INIT
Media ID: 1362940800456351744
APPEND
4194304 of 7685061 bytes uploaded
APPEND
7685061 of 7685061 bytes uploaded
Upload chunks complete.
FINALIZE
{'media_id': 1362940800456351744, 'media_id_string': '1362940800456351744', 'media_key': '7_1362940800456351744', 'size': 7685061, 'expires_after_secs': 86400, 'processing_info': {'state': 'pending', 'check_after_secs': 1}}
Media processing status is pending
Checking after 1 seconds
STATUS
Media processing status is failed


    


    I am willing to use any platform/utility to get my video files uploaded to Twitter. What is my best bet to either :

    


    1 : Fix my file type to adhere to Twitter's requirements. Should it not be a GIF ? Should I be converting my still shot JPEG files to another format ?

    


    2 : Is there an API that Twitter has available that will allow the GIFs of these sizes to be uploaded ? Again, I can upload these files via the regular Twitter web UI client, but I cannot automate it via their API.

    


    How do I upload my GIF to Twitter using their API ?

    


  • HLS with FFmpeg, browser skips m3u8 in sequence

    16 octobre 2019, par Jongseok Yoon

    I’m writing a program with C++, receiving 2-second-long mp4 video and converting it to m3u8 and same-duration ts files in real-time.

    Problem is when I check it with browsers on PC, it doesn’t load m3u8 properly.

    For example, when I start to watch m3u8, it loads first m3u8 with #EXT-X-MEDIA-SEQUENCE : 1, then it keeps loading first m3u8, then suddenly skips to #EXT-X-MEDIA-SEQUENCE : 4 or larger.

    Streaming still works, but it is very unstable due to that problem. It loads some ts together, then loads nothing while loading same m3u8 it already loaded, and skips 3 or more m3u8 and loads ts files together and again.

    ffmpeg -loglevel level+warning -i SOURCE.mp4 -an -filter:v fps=fps=10 -f hls -hls_list_size 7 -strftime 1 -hls_segment_filename '1.ts' -hls_flags append_list+omit_endlist DEST.m3u8

    This is ffmpeg command in my program, using hls_segment_filename option to overwrite ts files so I limit number of files under 100, and it runs every 2 second.

    Maybe, I’m overwriting it too fast to be loaded ?