Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (111)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • 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

  • 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

Sur d’autres sites (10106)

  • FFmpeg : Choosing audio streams by language

    16 octobre 2017, par jdauthre

    I am trying to transcode tv streams but with only the english audio stream included. I have tried using the -map 0:m:language:eng stream specifier, but I get :

    "Automatic encoder selection failed for output stream #0:3. Default encoder for format mpegts (codec none) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:3"

    This is despite including an encoder. I have tried all sorts of variations on this theme without success.

    Full output for one attempt is below :

    ffmpeg -i http://192.168.1.74:8001/1:0:1:189E:7FD:2:11A0000:0:0:0: -ignore_unknown -map 0:a -map 0:m:language:eng -map 0:v -acodec aac -vcodec libx264 -b:v 1100000 -t 00:00:30 "somethin.ts" 2>output.txt

       Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 03db7b60] Could not find codec parameters for stream 17 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 03db7b60] Could not find codec parameters for stream 18 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'http://192.168.1.74:8001/1:0:1:189E:7FD:2:11A0000:0:0:0:':
     Duration: N/A, start: 23690.732933, bitrate: N/A
     Program 6321
     Program 6322
     Program 6338
     Program 6301
     Program 6302
       Stream #0:0[0x13ec]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x13ee](NAR): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
       Stream #0:2[0x13ed](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
       Stream #0:3[0x13ef](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:4[0x13f0](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
       Stream #0:5[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:6[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:7[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:8[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:9[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:10[0x92a]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:11[0x913]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:12[0x912]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:13[0x911]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:14[0x919]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:15[0xf09]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:16[0xf08]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:17[0xf07]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:18[0xf06]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 6318
     Program 6390
     Program 6391
     Program 6351
     Program 6361
     Program 6306
     Program 6341
    Automatic encoder selection failed for output stream #0:3. Default encoder for format mpegts (codec none) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:3

    Any ideas on how to do this. I cant specify streams by number as I want to use it for lots of tv streams and the order is often different.

    Thanks

  • Stream map '0:4' matches no streams

    17 juillet 2022, par Hugh

    When concat vob files to mkv with -map 0:4 I get this error. if I replace it with -map 0:4 ? the output contains no subtitles because the subtitle track I want doesn't start until further into the file. If I include -map 0:3 I just get the wrong subtitle track.

    


    ffmpeg -version
ffmpeg version 5.0.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil      57. 17.100 / 57. 17.100
libavcodec     59. 18.100 / 59. 18.100
libavformat    59. 16.100 / 59. 16.100
libavdevice    59.  4.100 / 59.  4.100
libavfilter     8. 24.100 /  8. 24.100
libswscale      6.  4.100 /  6.  4.100
libswresample   4.  3.100 /  4.  3.100
libpostproc    56.  3.100 / 56.  3.100


ffmpeg -analyzeduration 9000M -probesize 9000M -f concat -fflags +genpts -i mylist.txt -map 0:1 -map 0:2 -map 0:4? -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" -c:s copy -c:v copy -c:a copy 'output.mkv'
...
Input #0, concat, from 'mylist.txt':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Data: dvd_nav_packet
  Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn
    Side data:
      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
  Stream #0:3: Subtitle: dvd_subtitle
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf59.16.100
  Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn
    Side data:
      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[concat @ 0x555af2e17000] New subtitle stream 0:4 at pos:3141646 and DTS:10.96s  0x


    


    ...
Any ideas ?

    


  • Why is the FindClass/JNI function behaving differently on nexus 5 and Honor Play ?

    17 août 2020, par Owl

    MobileFFmpeg v4.3.1LTS works on Honor Play, but doesn't work on Nexus 5. Why ?

    


    The build for Honor Play and nexus 5 is the same ->armeabi-v7a

    


    


    https://github.com/tanersener/mobile-ffmpeg/releases/tag/v4.3.1.LTS

    


    Nexus5 :enter image description here

    


    HonorPlay :enter image description here

    


    


    


    NDK = ndk-r14b

    


    


    


    JDK = jdk1.8.0_77

    


    


    I will ask the question immediately in English stackoverflow. Developing a game in Unreal Engine 4 v24.3. In the code itself there are only 2 lines that relate to MobileFFmpeg :

    


    Enabling the function :

    


    extern "C"
{
    int ffmpeg_execute(int argc, char** argv);
}


    


    Calling a function with ffmpeg parameters

    


    ffmpeg_execute(arg.size(), arg.data());


    


    Without mobile FFmpeg, the app on nexus 5 starts and works stably. When I start with FFmpeg, an error immediately appears and the app crashes :

    


    enter image description here

    


    The FindClass function does not work, the call itself is declared in mobile ffmpeg.c :

    


    /** Full name of the Config class */
const char *configClassName = "com/arthenica/mobileffmpeg/Config";


    


    ...

    


    /**
 * Called when 'mobileffmpeg' native library is loaded.
 *
 * @param vm pointer to the running virtual machine
 * @param reserved reserved
 * @return JNI version needed by 'mobileffmpeg' library
 */
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
    JNIEnv *env;
    if ((*vm)->GetEnv(vm, (void**)(&env), JNI_VERSION_1_6) != JNI_OK) {
        LOGE("OnLoad failed to GetEnv for class %s.\n", configClassName);
        return JNI_FALSE;
    }

    jclass localConfigClass = (*env)->FindClass(env, configClassName);
    if (localConfigClass == NULL) {
        LOGE("OnLoad failed to FindClass %s.\n", configClassName);
        return JNI_FALSE;
    }
...


    


    I can't see what the FindClass(C++) function returns, Android Studio doesn't want to stop on the JNI_OnLoad(C++) function during debug.

    


    What are the assumptions why FindClass behavior is different on two phones ?