Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (105)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (11294)

  • Revision 17ef6a8dfd : Adjust mv_ratio_accumulator threshold. This threshold effectively limits the am

    26 mars 2013, par Paul Wilkins

    Changed Paths : Modify /vp9/encoder/vp9_firstpass.c Adjust mv_ratio_accumulator threshold. This threshold effectively limits the amount of motion from one end of a GF/ARF group to the other. This patch makes the threshold depend on image size. Change-Id : (...)

  • ffmpeg : videos before and after conversion aren't the same length

    16 juillet 2012, par Koyot

    I have a set of .mov videos which require conversion to .mp4 format. I'm using ffmpeg and running this command :

    ffmpeg -i Banking.mov -vsync -async -sameq -ac 1 -ab 64k -ar 44100 Banking.mp4

    There is a slight difference between input and output video in time length (00:03:35.407 and 00:03:35.582). And here's the catch - I'm storing time cue set at precise times in a file which is used by a program to point at specific scenes. The 0.1 second difference causes it to point at wrong scenes, therefore making the cue set useless. Is there any possibility to preserve exactly the same time in different format ?

      FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice BellardMac OSX universal build for ffmpegX
     configuration:  --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
     libavutil version: 49.0.0
     libavcodec version: 51.9.0
     libavformat version: 50.4.0
     built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Banking.mov':
     Duration: 00:03:35.6, start: 0.000000, bitrate: 1400 kb/s
     Stream #0.0(eng): Audio: pcm_s16be, 24000 Hz, stereo, 768 kb/s
     Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 720x480
    Output #0, mp4, to 'Banking.mp4':
     Stream #0.0, 29.97 fps(c): Video: mpeg4, yuv420p, 720x480, q=2-31, 200 kb/s
     Stream #0.1: Audio: aac, 44100 Hz, mono, 64 kb/s
    Stream mapping:
     Stream #0.1 -> #0.0
     Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame= 6461 q=0.0 Lsize=   53181kB time=215.3 bitrate=2023.3kbits/s    
    video:51437kB audio:1618kB global headers:0kB muxing overhead 0.237816%
  • 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 !