Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (57)

  • 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 ;

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (4961)

  • Re-sampling H264 video to reduce frame rate while maintaining high image quality

    31 mars 2016, par BrianTheLion

    Here’s the mplayer output for a video of interest :

    br@carina:/tmp$ mplayer foo.mov
    mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking
    MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing foo.mov.
    libavformat file format detected.
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (aac), -aid 0, -alang eng
    VIDEO:  [H264]  1280x720  24bpp  59.940 fps  2494.2 kbps (304.5 kbyte/s)
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 15999->176400)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [vdpau] 1280x720 => 1280x720 Planar YV12

    I’d like to use ffmpeg, mencoder, or some other command-line video transcoder to re-sample this video to a lower framerate without loss of image quality. That is, each frame should remain as crisp as possible.

    Attempts

    ffmpeg -i foo.mov -r 25 -vcodec copy bar.mov
    • The target frame rate — 25fps — is achieved but individual frames are "blocky."
    mencoder -nosound -ovc copy foo.mov -ofps 25 -o bar.mov
    • Videos are effectively un-viewable.

    Help !

    This seems like a simple enough use case. I’m very surprised that obvious things are not working. Is there something wrong with my approach ?

  • Process terminates by signal calling ffmpeg part in Android NDK project

    29 août 2013, par Álvaro

    According to this blog post I've build my Android ffmpeg project. I've written the native code from my Java code with the static library and the jni functions.
    When I run this part of code I obtain the next logcat, any idea of why my process terminates by signal ?

    03-14 11:16:06.488: I/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    03-14 11:16:06.488: I/DEBUG(31): Build fingerprint: generic/google_sdk/generic:2.3.4/GINGERBREAD/123630:eng/test-keys'
    03-14 11:16:06.488: I/DEBUG(31): pid: 377, tid: 377  >>> com.testffmpeg <<<
    03-14 11:16:06.488: I/DEBUG(31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 80a98f10
    03-14 11:16:06.488: I/DEBUG(31):  r0 002b0030  r1 80b1c410  r2 00030d40  r3 00000000
    03-14 11:16:06.488: I/DEBUG(31):  r4 00000000  r5 002b0030  r6 00000010  r7 00000010
    03-14 11:16:06.488: I/DEBUG(31):  r8 be877308  r9 7fffffff  10 80b1bea0  fp 00000000
    03-14 11:16:06.488: I/DEBUG(31):  ip be8772f0  sp be8772d0  lr 80a99d64  pc 80a98f10  cpsr 60000010
    03-14 11:16:06.568: I/DEBUG(31):          #00  pc 00298f10  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.568: I/DEBUG(31):          #01  lr 80a99d64  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.568: I/DEBUG(31): code around pc:
    03-14 11:16:06.568: I/DEBUG(31): 80a98ef0 eaffff9e 0009304c fffeffe4 e92d4010
    03-14 11:16:06.568: I/DEBUG(31): 80a98f00 e24dd020 e28dc020 e3a04000 e1cd20f8
    03-14 11:16:06.568: I/DEBUG(31): 80a98f10 e3003000 e52c4004 e3a02000 e3433ff0
    03-14 11:16:06.568: I/DEBUG(31): 80a98f20 e58dc010 e3a0c001 e58dc000 ebffff77
    03-14 11:16:06.568: I/DEBUG(31): 80a98f30 e1500004 b1a00004 a59d001c e28dd020
    03-14 11:16:06.568: I/DEBUG(31): code around lr:
    03-14 11:16:06.568: I/DEBUG(31): 80a99d44 ed947b04 e1a00005 e5941000 eefd7bc7
    03-14 11:16:06.568: I/DEBUG(31): 80a99d54 ee17ca90 e1a0200c e1a03fc2 ebfffc65
    03-14 11:16:06.568: I/DEBUG(31): 80a99d64 eaffffb8 e1c421d0 e1a00008 e58d9000
    03-14 11:16:06.568: I/DEBUG(31): 80a99d74 eb0008cc e1a00005 e5941000 e898000c
    03-14 11:16:06.568: I/DEBUG(31): 80a99d84 ebfffc6e eaffffaf e1a00005 e3a01030
    03-14 11:16:06.568: I/DEBUG(31): stack:
    03-14 11:16:06.568: I/DEBUG(31):     be877290  001f9a98  [heap]
    03-14 11:16:06.568: I/DEBUG(31):     be877294  0008ced8  [heap]
    03-14 11:16:06.568: I/DEBUG(31):     be877298  00000005<br />
    03-14 11:16:06.578: I/DEBUG(31):     be87729c  a8114ca9  /system/lib/libutils.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772a0  001f9a48  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772a4  be8772cc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772a8  fffffffc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772ac  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772b0  be8772cc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772b4  a821a33d  /system/lib/libbinder.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772b8  00271270  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772bc  a821a9d5  /system/lib/libbinder.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772c0  00000030<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772c4  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772c8  df002777<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772cc  e3a070ad<br />
    03-14 11:16:06.578: I/DEBUG(31): #00 be8772d0  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772d4  afd10f08  /system/lib/libc.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772d8  00030d40  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772dc  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e0  000000da<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e4  00000008<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e8  000001b4<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772ec  c0000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772f0  80b24938  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772f4  80a99d64  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772f8  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772fc  afd1386d  /system/lib/libc.so
    03-14 11:16:06.578: I/DEBUG(31):     be877300  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877304  80b1be7c  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be877308  002b0028  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be87730c  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877310  00000003<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877314  00000000<br />
    03-14 11:16:07.118: D/Zygote(33): Process 377 terminated by signal (4)
  • Changing int main() to JNI interface prototype

    13 mars 2012, par iSun

    I changed ffmpeg.c according following link :

    http://www.roman10.net/how-to-port-ffmpeg-the-program-to-androidideas-and-thoughts/

    He said the change main () to JNI interface prototype. Well, I'm not familiar with JNI interface prototype, but I read an article about JNI and change it accordingly.

    Can anyone look at my code to see is this true or not ?

    JNIEXPORT jint JNICALL Java_com_ffmpegtest_MainActivity_main(JNIEnv *pEnv, int argc, char **argv) {
    int64_t ti;

    av_log_set_flags(AV_LOG_SKIP_REPEATED);

    if(argc>1 &amp;&amp; !strcmp(argv[1], "-d")){
    run_as_daemon=1;
    verbose=-1;
    av_log_set_callback(log_callback_null);
    argc--;
    argv++;

    }

    avcodec_register_all();
    #if CONFIG_AVDEVICE
    avdevice_register_all();
    #endif
    #if CONFIG_AVFILTER
    avfilter_register_all();
    #endif
    av_register_all();

    #if HAVE_ISATTY
    if(isatty(STDIN_FILENO))
    avio_set_interrupt_cb(decode_interrupt_cb);
    #endif

    init_opts();

    if(verbose>=0)
    show_banner();

    /* parse options */
    parse_options(argc, argv, options, opt_output_file);

    if(nb_output_files &lt;= 0 &amp;&amp; nb_input_files == 0) {
    show_usage();
    fprintf(stderr, "Use -h to get full help or, even better, run &#39;man ffmpeg&#39;\n");
    ffmpeg_exit(1);
    }

    /* file converter / grab */
    if (nb_output_files &lt;= 0) {
    fprintf(stderr, "At least one output file must be specified\n");
    ffmpeg_exit(1);
    }

    if (nb_input_files == 0) {
    fprintf(stderr, "At least one input file must be specified\n");
    ffmpeg_exit(1);
    }

    ti = getutime();
    if (transcode(output_files, nb_output_files, input_files, nb_input_files,
    stream_maps, nb_stream_maps) &lt; 0)
    ffmpeg_exit(1);
    ti = getutime() - ti;
    if (do_benchmark) {
    int maxrss = getmaxrss() / 1024;
    printf("bench: utime=%0.3fs maxrss=%ikB\n", ti / 1000000.0, maxrss);
    }

    return ffmpeg_exit(0);
    }