Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (76)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (4228)

  • FFMPEG images to video outputs junk

    15 décembre 2019, par GreatCorn

    I’m very new to using FFMPEG and I’m trying to make an image sequence into a video. However, none of my attempts were succesful. I first tried 825x480 .pngs which resulted in video output and then 512x512 .jpgs, pretty much the same result. I tried a few codes like ffmpeg -framerate 24 -i img%03d.png output.mp4, ffmpeg -r 1/5 -framerate 24 -i img%03d.png -c:v libx264 -vf -pix_fmt yuv420p output.mp4 and etc. I just don’t really understand what I’m supposed to do to prevent this.

  • Chrome’s New Audio Notifier

    30 janvier 2014, par Multimedia Mike — General

    Version 32 of Google’s Chrome web browser introduced this nifty feature :


    Chrome audio notifier icon

    When a browser tab has an element that is producing audio, the browser’s tab shows the above audio notification icon to inform the user. I have seen that people have a few questions about this, specifically :

    1. How does this feature work ?
    2. Why wasn’t this done sooner ?
    3. Are other browsers going to follow suit ?

    Short answers : 1) Chrome offers a new plugin API that the Flash Player is now using, as are Chrome’s internal media playing facilities ; 2) this feature was contingent on the new plugin infrastructure mentioned in the previous answer ; 3) other browsers would require the same infrastructure support.

    Longer answers follow…

    Plugin History
    Plugins were originally based on the Netscape Plugin API. This was developed in the early 1990s in order to support embedding PDFs into the Netscape web browser. The NPAPI does things like providing graphics contexts for drawing and input processing, and mediate network requests through the browser’s network facilities.

    What NPAPI doesn’t do is handle audio. In the early-mid 1990s, audio support was not a widespread consideration in the consumer PC arena. Due to the lack of audio API support, if a plugin wanted to play audio, it had to go outside of the plugin framework.


    NPAPI plugin model

    There are a few downsides to this approach :

    So that last item hopefully answers the question of why it has been so difficult for NPAPI-supporting browsers to implement what seems like it would be simple functionality, like implementing a per-tab audio notifier.

    Plugin Future
    Since Google released Chrome in an effort to facilitate advancements on the client side of the internet, they have made numerous efforts to modernize various legacy aspects of web technology. These efforts include the SPDY protocol, Native Client, WebM/WebP, and something call the Pepper Plugin API (PPAPI). This is a more modern take on the classic plugin architecture to supplant the aging NPAPI :


    PPAPI plugin model

    Right away, we see that the job of the plugin writer is greatly simplified. Where was this API years ago when I was writing my API jungle piece ?

    The Linux version of Chrome was apparently the first version that packaged the Pepper version of the Flash Player (doing so fixed an obnoxious bug in the Linux Flash Player interaction with GTK). Now, it looks like Windows and Mac have followed suit. Digging into the Chrome directory on a Windows 7 installation :

    AppData\Local\Google\Chrome\Application[version]\PepperFlash\pepflashplayer.dll

    This directory exists for version 31 as well, which is still hanging around my system.

    So, to re-iterate : Chrome has a new plugin API that plugins use to access the audio API. Chrome knows when the API is accessed and that allows the browser to display the audio notifier on a tab.

    Other Browsers
    What about other browsers ? “Mozilla is not interested in or working on Pepper at this time. See the Chrome Pepper pages.”

  • why FFMPEG is not convert some audio file in 64k in android ?

    18 décembre 2019, par tailor

    There are many question regarding ffmpeg and might be this should be duplicate.
    I tried to convert any mp3 file in to lower bitrate 64k.
    It gets successfully but some mp3 files are not converted and ffmpeg direct call to onFinish command.

    Here is my command line :
    according to this

    -i /sdcard/vk2/in.mp3 -ar 44100 -ac 2 -ab 64k -f mp3 /sdcard/videokit/out.mp3";

    Here is my logcate
    on successfully

    2019-12-18 04:18:26.741 7733-7733/myapp I/audioCompression: start
    2019-12-18 04:18:27.104 7733-7733/myapp I/audioCompression: in_progress
    2019-12-18 04:18:27.104 7733-7733/myapp I/audioCompression: in_progress
    2019-12-18 04:18:42.165 7733-7733/myapp I/audioCompression: success
    2019-12-18 04:18:42.165 7733-7733/myapp I/audioCompression: finish

    otherwise

    2019-12-18 04:18:26.741 7733-7733/myapp I/audioCompression: start
    2019-12-18 04:18:27.104 7733-7733/myapp I/audioCompression: in_progress
    2019-12-18 04:18:27.104 7733-7733/myapp I/audioCompression: in_progress
    2019-12-18 04:18:42.165 7733-7733/myapp I/audioCompression: finish

    report

          2019-12-18 05:34:45.965 10635-10635/myapp V/audioCompression: start command : ffmpeg
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   built with gcc 4.8 (GCC)
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libavutil      55. 17.103 / 55. 17.103
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libavcodec     57. 24.102 / 57. 24.102
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libavformat    57. 25.100 / 57. 25.100
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libavdevice    57.  0.101 / 57.  0.101
    2019-12-18 05:34:46.124 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libavfilter     6. 31.100 /  6. 31.100
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libswscale      4.  0.100 /  4.  0.100
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libswresample   2.  0.101 /  2.  0.101
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   libpostproc    54.  0.100 / 54.  0.100
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg [mp3 @ 0xf6519000] Skipping 0 bytes of junk at 0.
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg [mp3 @ 0xf6519000] Estimating duration from bitrate, this may be inaccurate
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg Input #0, mp3, from '/storage/emulated/0/Download/HumnavaMereSongsMp3ioRingtone.mp3':
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   Duration: 00:00:24.19, start: 0.000000, bitrate: 320 kb/s
    2019-12-18 05:34:46.125 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg Output #0, mp3, to '/storage/emulated/0/VideoCompressor/Temp/ok.mp3':
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   Metadata:
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg     TSSE            : Lavf57.25.100
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg     Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 64 kb/s
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg     Metadata:
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg       encoder         : Lavc57.24.102 libmp3lame
    2019-12-18 05:34:46.126 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg Stream mapping:
    2019-12-18 05:34:46.127 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg   Stream #0:0 -> #0:0 (mp3 (native) -> mp3 (libmp3lame))
    2019-12-18 05:34:46.127 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg Press [q] to stop, [?] for help
    2019-12-18 05:34:46.577 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=       6kB time=00:00:00.73 bitrate=  68.9kbits/s speed=1.46x    
    2019-12-18 05:34:47.082 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      13kB time=00:00:01.56 bitrate=  66.3kbits/s speed=1.55x    
    2019-12-18 05:34:47.583 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      19kB time=00:00:02.37 bitrate=  65.5kbits/s speed=1.57x    
    2019-12-18 05:34:48.094 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      26kB time=00:00:03.21 bitrate=  65.1kbits/s speed=1.59x    
    2019-12-18 05:34:48.607 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      32kB time=00:00:04.05 bitrate=  64.9kbits/s speed= 1.6x    
    2019-12-18 05:34:49.110 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      38kB time=00:00:04.85 bitrate=  64.7kbits/s speed= 1.6x    
    2019-12-18 05:34:49.616 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      45kB time=00:00:05.66 bitrate=  64.6kbits/s speed= 1.6x    
    2019-12-18 05:34:50.117 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      51kB time=00:00:06.47 bitrate=  64.6kbits/s speed= 1.6x    
    2019-12-18 05:34:50.620 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      57kB time=00:00:07.28 bitrate=  64.5kbits/s speed= 1.6x    
    2019-12-18 05:34:51.128 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      64kB time=00:00:08.12 bitrate=  64.4kbits/s speed=1.61x    
    2019-12-18 05:34:51.635 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      70kB time=00:00:08.93 bitrate=  64.4kbits/s speed=1.61x    
    2019-12-18 05:34:52.143 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      77kB time=00:00:09.77 bitrate=  64.4kbits/s speed=1.61x    
    2019-12-18 05:34:52.651 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      83kB time=00:00:10.60 bitrate=  64.3kbits/s speed=1.61x    
    2019-12-18 05:34:53.156 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      90kB time=00:00:11.41 bitrate=  64.3kbits/s speed=1.61x    
    2019-12-18 05:34:53.659 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=      96kB time=00:00:12.22 bitrate=  64.3kbits/s speed=1.61x    
    2019-12-18 05:34:54.159 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     102kB time=00:00:13.03 bitrate=  64.3kbits/s speed=1.61x    
    2019-12-18 05:34:54.676 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     109kB time=00:00:13.87 bitrate=  64.3kbits/s speed=1.61x    
    2019-12-18 05:34:55.177 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     115kB time=00:00:14.68 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:55.685 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     122kB time=00:00:15.51 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:56.208 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     128kB time=00:00:16.35 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:56.701 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     135kB time=00:00:17.16 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:57.203 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     141kB time=00:00:17.97 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:57.717 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     147kB time=00:00:18.80 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:58.233 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     154kB time=00:00:19.64 bitrate=  64.2kbits/s speed=1.62x    
    2019-12-18 05:34:58.736 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     160kB time=00:00:20.45 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:59.238 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     167kB time=00:00:21.26 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:34:59.743 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     173kB time=00:00:22.07 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:35:00.258 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     179kB time=00:00:22.91 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:35:00.770 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     186kB time=00:00:23.72 bitrate=  64.2kbits/s speed=1.61x    
    2019-12-18 05:35:01.017 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg size=     189kB time=00:00:24.19 bitrate=  64.1kbits/s speed=1.62x    
    2019-12-18 05:35:01.017 10635-10635/myapp V/audioCompression: in_progress command : ffmpeg video:0kB audio:189kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.130598%
    2019-12-18 05:35:01.029 10635-10635/myapp V/audioCompression: success command : ffmpeg ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
         built with gcc 4.8 (GCC)
         configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
         libavutil      55. 17.103 / 55. 17.103
         libavcodec     57. 24.102 / 57. 24.102
         libavformat    57. 25.100 / 57. 25.100
         libavdevice    57.  0.101 / 57.  0.101
         libavfilter     6. 31.100 /  6. 31.100
         libswscale      4.  0.100 /  4.  0.100
         libswresample   2.  0.101 /  2.  0.101
         libpostproc    54.  0.100 / 54.  0.100
       [mp3 @ 0xf6519000] Skipping 0 bytes of junk at 0.
       [mp3 @ 0xf6519000] Estimating duration from bitrate, this may be inaccurate
       Input #0, mp3, from '/storage/emulated/0/Download/HumnavaMereSongsMp3ioRingtone.mp3':
         Duration: 00:00:24.19, start: 0.000000, bitrate: 320 kb/s
           Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
       Output #0, mp3, to '/storage/emulated/0/VideoCompressor/Temp/ok.mp3':
         Metadata:
           TSSE            : Lavf57.25.100
           Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 64 kb/s
           Metadata:
             encoder         : Lavc57.24.102 libmp3lame
       Stream mapping:
         Stream #0:0 -> #0:0 (mp3 (native) -> mp3 (libmp3lame))
       Press [q] to stop, [?] for help
       size=       6kB time=00:00:00.73 bitrate=  68.9kbits/s speed=1.46x    
       size=      13kB time=00:00:01.56 bitrate=  66.3kbits/s speed=1.55x    
       size=      19kB time=00:00:02.37 bitrate=  65.5kbits/s speed=1.57x    
       size=      26kB time=00:00:03.21 bitrate=  65.1kbits/s speed=1.59x    
       size=      32kB time=00:00:04.05 bitrate=  64.9kbits/s speed= 1.6x    
       size=      38kB time=00:00:04.85 bitrate=  64.7kbits/s speed= 1.6x    
       size=      45kB time=00:00:05.66 bitrate=  64.6kbits/s speed= 1.6x    
       size=      51kB time=00:00:06.47 bitrate=  64.6kbits/s speed= 1.6x    
       size=      57kB time=00:00:07.28 bitrate=  64.5kbits/s speed= 1.6x    
       size=      64kB time=00:00:08.12 bitrate=  64.4kbits/s speed=1.61x    
       size=      70kB time=00:00:08.93 bitrate=  64.4kbits/s speed=1.61x    
       size=      77kB time=00:00:09.77 bitrate=  64.4kbits/s speed=1.61x    
       size=      83kB time=00:00:10.60 bitrate=  64.3kbits/s speed=1.61x    
       size=      90kB time=00:00:11.41 bitrate=  64.3kbits/s speed=1.61x    
       size=      96kB time=00:00:12.22 bitrate=  64.3kbits/s speed=1.61x    
       size=     102kB time=00:00:13.03 bitrate=  64.3kbits/s speed=1.61x    
       size=     109kB time=00:00:13.87 bitrate=  64.3kbits/s speed=1.61x    
       size=     115kB time=00:00:14.68 bitrate=  64.2kbits/s speed=1.61x    
       size=     122kB time=00:00:15.51 bitrate=  64.2kbits/s speed=1.61x    
       size=     128kB time=00:00:16.35 bitrate=  64.2kbits/s speed=1.61x    
       size=     135kB time=00:00:17.16 bitrate=  64.2kbits/s speed=1.61x    
       size=     141kB time=00:00:17.97 bitrate=  64.2kbits/s speed=1.61x    
       size=     147kB time=00:00:18.80 bitrate=  64.2kbits/s speed=1.61x    
       size=     154kB time=00:00:19.64 bitrate=  64.2kbits/s speed=1.62x    
       size=     160kB time=00:00:20.45 bitrate=  64.2kbits/s speed=1.61x    
       size=     167kB time=00:00:21.26 bitrate=  64.2kbits/s speed=1.61x  
    2019-12-18 05:35:01.029 10635-10635/myapp V/audioCompression: Finished command : ffmpeg