Recherche avancée

Médias (91)

Autres articles (107)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (19892)

  • Convert m4a to aac and keep metadata on Windows 7

    24 novembre 2014, par betamax

    I want to convert an m4a file to aac*. I can do this using :

    ffmpeg -i song.m4a -acodec copy song.aac

    But on Windows 7 the metadata is not compatible. It seems the -id3v2_version 3 flag should be used so that Windows compatible ID3 tags version 2.3 are used :

    ffmpeg -i song.m4a -acodec copy -id3v2_version 3 song.aac

    However, with the above command I still don’t get any metadata in song.aac. I have used windows file explorer, mp3tag and winamp to confirm there are no tags.

    * : reason ; m4a won’t play on the car stereo so following this advice (http://www.vwaudiforum.co.uk/forum/showthread.php?153728-Tip-Getting-M4A-(iTunes)-format-music-to-play-on-a-VW-head-unit)

    Console Output :

    C:\temp>ffmpeg -i song.m4a -acodec copy -id3v2_version 3 song.aac
    ffmpeg version N-67914-gf87a344 Copyright (c) 2000-2014 the FFmpeg developers
     built on Nov 22 2014 22:10:18 with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
    g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-lib
    opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
    enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    libx265 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.100 / 56. 15.100
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002dcc760] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'song.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       creation_time   : 1980-07-20 13:32:00
       iTunSMPB        :  00000000 00000840 0000007C 0000000001027F44 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000
       iTunNORM        :  0000061A 0000052A 00001C40 000021EE 00035E0A 00046912 00007B8C 00007B99 0002845B 00024D35
       title           : Time Away
       artist          : Andy Stott
       album_artist    : Andy Stott
       album           : Faith In Strangers
       genre           : Electronic
       track           : 1/9
       disc            : 1/1
       compilation     : 0
       gapless_playback: 0
       date            : 2014-11-17T08:00:00Z
       copyright       : Ôäù 2014 Modern Love
       media_type      : 1
       iTunMOVI        : <?xml version="1.0" encoding="UTF-8"?>
                       :
                       : <plist version="1.0">
                       : <dict>
                       :   <key>asset-info</key>
                       :   <dict>
                       :           <key>file-size</key>
                       :           <integer>14359364</integer>
                       :           <key>flavor</key>
                       :           <string>2:256</string>
                       :   </dict>
                       : </dict>
                       : </plist>
                       :
     Duration: 00:06:24.20, start: 0.000000, bitrate: 298 kb/s
       Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 285 kb/s (default)
       Metadata:
         creation_time   : 1980-07-20 13:32:00
       Stream #0:1: Video: mjpeg, gray(bt470bg/unknown/unknown), 1400x1400 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc

    Output #0, adts, to 'song.aac':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       iTunMOVI        : &lt;?xml version="1.0" encoding="UTF-8"?>
                       :
                       : <plist version="1.0">
                       : <dict>
                       :   <key>asset-info</key>
                       :   <dict>
                       :           <key>file-size</key>
                       :           <integer>14359364</integer>
                       :           <key>flavor</key>
                       :           <string>2:256</string>
                       :   </dict>
                       : </dict>
                       : </plist>
                       :
       iTunSMPB        :  00000000 00000840 0000007C 0000000001027F44 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000
       iTunNORM        :  0000061A 0000052A 00001C40 000021EE 00035E0A 00046912 00007B8C 00007B99 0002845B 00024D35
       title           : Time Away
       artist          : Andy Stott
       album_artist    : Andy Stott
       album           : Faith In Strangers
       genre           : Electronic
       track           : 1/9
       disc            : 1/1
       compilation     : 0
       gapless_playback: 0
       date            : 2014-11-17T08:00:00Z
       copyright       : Ôäù 2014 Modern Love
       media_type      : 1
       encoder         : Lavf56.15.100
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 285 kb/s (default)
       Metadata:
         creation_time   : 1980-07-20 13:32:00
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=   13523kB time=00:06:24.19 bitrate= 288.3kbits/s
    video:0kB audio:13410kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.843272%

    C:\temp>
  • How to use FFSampledSP to play gsm file on MacOSX

    25 novembre 2014, par QuentinTanioartino

    I developed a Java8 application which retrieves audio files from a server and plays them back.

    Files are encoded in gsm 6.10.

    I am trying to find a solution to play these gsm files back and so far I attempted to play them back using Tritonus but unfortunately without any good result.

    Now I am trying to use FFSampledSP on MacOSX but I couldn’t make it working

    These are the steps I executed :

    1. I downloader the jar here :
    2. I added the jar into my build path using eclipse
    3. I downloaded the native library ffsampledsp-universal-0.9.9.jnilib here
    4. I renamed the library to libffsampledsp.jnilib
    5. I put the library into the java.library.path

    Then I tried to play the file with the java audio player developed but without any success

    It fails on

    File encodedFile = new File(audioFilePath);
    AudioInputStream pcmStream = AudioSystem.getAudioInputStream(encodedFile);

    This is the error :

    java.lang.UnsatisfiedLinkError: no ffsampledsp-x86_64-darwin in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:107)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:89)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:73)
    at com.tagtraum.ffsampledsp.FFAudioFileReader.<clinit>(FFAudioFileReader.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at java.lang.Class.newInstance(Class.java:438)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at com.sun.media.sound.JSSecurityManager.getProviders(JSSecurityManager.java:216)
    at com.sun.media.sound.JDK13Services.getProviders(JDK13Services.java:107)
    at javax.sound.sampled.AudioSystem.getProviders(AudioSystem.java:1631)
    at javax.sound.sampled.AudioSystem.getAudioFileReaders(AudioSystem.java:1406)
    at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1175)
    at com.audioplayer.AudioPlayer.load(AudioPlayer.java:47)
    at com.view.PlayerView$2.run(PlayerView.java:375)
    at java.lang.Thread.run(Thread.java:745)
    Nov 25, 2014 9:20:14 AM com.tagtraum.ffsampledsp.FFNativeLibraryLoader loadLibrary
    SEVERE: Failed to load native library 'ffsampledsp'. Please check your library path. FFSampledSP        will be dysfunctional.
    </clinit>

    Apparently it does not find the ffsampledsp-x86_64-darwin library

    Therefore I tried to import it directly using the following but still without any result

    static
    {
       try
       {
           System.load("/Users/server/Desktop/libffsampledsp.jnilib");
       }
       catch (UnsatisfiedLinkError e)
       {
         System.err.println("Native code library failed to load.\n" + e);
         System.exit(1);
       }
    }

    Do you know where the issue is ?

  • How to use FFSampledSP to play gsm files

    25 novembre 2014, par QuentinTanioartino

    I am trying to use FFSampledSP on MacOSX but I couldn’t make it working

    These are the steps I executed :

    1. I downloader the jar here :
    2. I added the jar into my build path using eclipse
    3. I downloaded the native library ffsampledsp-universal-0.9.9.jnilib here
    4. I renamed the library to libffsampledsp.jnilib
    5. I put the library into the java.library.path

    Then I tried to play the file with the java audio player developed but without any success

    It fails on

    AudioInputStream pcmStream = AudioSystem.getAudioInputStream(encodedFile);

    This is the error :

    java.lang.UnsatisfiedLinkError: no ffsampledsp-x86_64-darwin in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:107)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:89)
    at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:73)
    at com.tagtraum.ffsampledsp.FFAudioFileReader.<clinit>(FFAudioFileReader.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at java.lang.Class.newInstance(Class.java:438)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at com.sun.media.sound.JSSecurityManager.getProviders(JSSecurityManager.java:216)
    at com.sun.media.sound.JDK13Services.getProviders(JDK13Services.java:107)
    at javax.sound.sampled.AudioSystem.getProviders(AudioSystem.java:1631)
    at javax.sound.sampled.AudioSystem.getAudioFileReaders(AudioSystem.java:1406)
    at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1175)
    at com.audioplayer.AudioPlayer.load(AudioPlayer.java:47)
    at com.view.PlayerView$2.run(PlayerView.java:375)
    at java.lang.Thread.run(Thread.java:745)
    Nov 25, 2014 9:20:14 AM com.tagtraum.ffsampledsp.FFNativeLibraryLoader loadLibrary
    SEVERE: Failed to load native library 'ffsampledsp'. Please check your library path. FFSampledSP        will be dysfunctional.
    </clinit>

    Apparently it does not find the ffsampledsp-x86_64-darwin library

    Therefore I tried to import it directly using the following but still without any result

    static
    {
       try
       {
           System.load("/Users/server/Desktop/libffsampledsp.jnilib");
       }
       catch (UnsatisfiedLinkError e)
       {
         System.err.println("Native code library failed to load.\n" + e);
         System.exit(1);
       }
    }

    Do you know where the issue is ?