Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (74)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8568)

  • Android UnsatisfiedLinkError using ffmpeg library

    5 avril 2012, par Bombastic

    I'm trying to use FFMPEG library in my Android application like this example here : AFPlayer . I have a builded and running version of this application and everything works fine, but when I tried to implement the same logic in my application it crashes everytime I start my media player. So the thing that I did was to copy and paste all files from afplayer's folders to my app (not sure if I have to do something else or if it's the right way,but it's my first touch with Android NDK and I'm not really sure how to do the things). Here is how I'm trying to start my DRadioMediaPlayer :

        player = new DRadioMediaPlayer();
       //player.setOnPreparedListener(this);
       //player.setOnCompletionListener(this);
       //player.setOnErrorListener(this);
       //player.setOnBufferingUpdateListener(this);

       //player.setAudioStreamType(AudioManager.STREAM_MUSIC);
       try
       {
           Uri source = Uri.parse(playlist.getCurrentSource().toString());
           player.setDataSource(source);
           //player.setDataSource(playlist.getCurrentSource().toString());
           player.prepare();

           playbackState = DRadioPlayerService.PLAYBACK_STATE_BUFFERING;
       }

    This is how I load the library :

    static {
     System.loadLibrary("player");

    }

    and here is the exception which I'm getting :

       04-05 17:04:37.478: W/dalvikvm(686): No implementation found for native Lcom/nimasystems/android/radio2/DRadioMediaPlayer;.n_createEngine ()V
    04-05 17:04:37.478: D/AndroidRuntime(686): Shutting down VM
    04-05 17:04:37.478: W/dalvikvm(686): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
    04-05 17:04:37.478: E/AndroidRuntime(686): FATAL EXCEPTION: main
    04-05 17:04:37.478: E/AndroidRuntime(686): java.lang.UnsatisfiedLinkError: n_createEngine
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.radio2.DRadioMediaPlayer.n_createEngine(Native Method)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.radio2.DRadioMediaPlayer.<init>(DRadioMediaPlayer.java:68)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.player.service.DRadioPlayerService.initPlayer(DRadioPlayerService.java:577)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.nimasystems.android.player.service.DRadioPlayerService.onStart(DRadioPlayerService.java:568)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.Service.onStartCommand(Service.java:420)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3267)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.access$3600(ActivityThread.java:135)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2211)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.os.Handler.dispatchMessage(Handler.java:99)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.os.Looper.loop(Looper.java:144)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at android.app.ActivityThread.main(ActivityThread.java:4937)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at java.lang.reflect.Method.invokeNative(Native Method)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at java.lang.reflect.Method.invoke(Method.java:521)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    04-05 17:04:37.478: E/AndroidRuntime(686):  at dalvik.system.NativeStart.main(Native Method)
    </init>

    and here is the line where actually the exception it thrown :

    public DRadioMediaPlayer() {
     Log.d(TAG, "Create new MediaPlayer");

         n_createEngine(); // here

      }

    public native void n_createEngine();

    Any suggestions what actually can I do to fix this problem ? I've read all questions with similar issue here,but none of them worked for me.

    Thanks in advance !

  • Add movflags to top of mp4 file without using ffmpeg for a live RTSP stream

    15 avril 2021, par Nidheesh V

    Update :&#xA;I have a video player in browser which plays mp4 videos though websocket. The player only supports mp4 file. When i checked normal mp4 fiels does not play in the player, a mp4 file with a "moovflags faststart " will only play on that player. For a allready stored file , this will work properly.&#xA;But In case of an livestream(RTSP), using ffmpeg will only work once the RTSP connection has terminated since the "moovflags faststart " flags will work once a connection has terminated properly.&#xA;Hope the above statements makes more sense.&#xA;Due to this behavior, am checking if there is any way to get the moovflasg at first or something

    &#xA;

    I am having RTSP live source and i need it to convert the RTSP to a mp4 file which has moov flags in the begining of the file.&#xA;I have checked with openrtsp to take a mp4 dump of the rtsp, but it only adds moov flags and other info on the footer of the mp4(onlky when openrtsp has closes the rtsp stream).&#xA;Ffmpeg has " -movflags faststart" to move the footer info to the header of the mp4 container.&#xA;Since i am having a RTSP live source, the video data will be comming back to back and there wont be any termination. The above ffmpeg command only works once the rtsp stream has terminated.

    &#xA;

    Is there any way we can make a mp4 container which contains the mp4 footer info present in the header itself so that i can use it for a live source ?

    &#xA;

    EDIT #1&#xA;I have video player which plays mp4 video files , it only support playback of a recorded mp4 file which is createtd using "-movflags faststart" , normal mp4 files does not play in that.&#xA;This is the player&#xA;https://github.com/sonysuqin/WasmVideoPlayer.&#xA;Since i am tryng to stream live video to the player, its not possible to use movflags faststart.

    &#xA;

  • How to change HLS quality in ijkplayer for flutter or alternative solutions ?

    28 mai 2024, par gh05t

    Hi can anyone help me with this issue, we decided to use the flutter ijkplayer as it's the only player on flutter that supports the option to change playback speed, but it doesn't have the option to change the hls quality, and neither does any other player as per my findings, if anyone knows please share.

    &#xA;

    As for what I've tried, I download the file and split it into 4 files with each file having only one video and audio stream and use a button to change the file.

    &#xA;

    I also tried to look into changing the tracks from master with the player but while FFMpeg does support this, I'm not sure how to do that from flutter.

    &#xA;

    Currently it works, but the splitting is hardcoded and might need to be changed for different master m3u8(we use vimeo and expect the same file format for master m3u8 but they can change it down the road or we could change service for video), and it would be preferable to change streams from the player itself instead of using an external ui button which for example won't be available in full screen mode, which you would expect most people to watch the video in.

    &#xA;

    I'm trying to make the splitting part more generalized but would like to know how others handle this problem.

    &#xA;

    &#xA;

    Edit I've made the splitting somewhat dynamic, but I just came across another issue, in ffmpeg(complied in the ijk player it is 4-5 years old not the latest version) I have to use format option - protocol_whitelist,'http, https, tls, file, crypto, tcp, udp, concat' so I can play local file, but the player by default sets the format option - fflags 'fastseek' to allow playing faster than 1, but for some reason that functionality breaks the fastseek, or in other words, if I play local file I can't use speeds greater than 1, which I can on files I play from the internet.

    &#xA;

    &#xA;

    Using this version of flutter ijkplayer github

    &#xA;