Recherche avancée

Médias (91)

Autres articles (68)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6979)

  • Mp3 file not showing in any media player after creating through ffmpeg

    4 mai 2019, par Aashit Shah

    Mp3 file not showing in any application after the mp3 file is saved . After 15 odd minutes it is automatically shown . if i manually change the name from file manager it will be instantly shown . How to solve this problem .

    Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
               String[] projection = {
                       MediaStore.Audio.Media.TITLE,
                       MediaStore.Audio.Media.DATA,
                       MediaStore.Audio.Media.DISPLAY_NAME,
                       MediaStore.Audio.Media.DURATION,
                       MediaStore.Audio.Media.ALBUM_ID
               };
               String sortOrder =  MediaStore.Audio.Media.DISPLAY_NAME
               Cursor c = getContentResolver().query(uri,projection,null,null,sortOrder);
               if(c.moveToFirst())
               {
                   do {
                       String title = c.getString(c.getColumnIndex(MediaStore.Audio.Media.TITLE));
                       String data = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DATA));
                       String name = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DISPLAY_NAME));
                       String duration = c.getString(c.getColumnIndex(MediaStore.Audio.Media.DURATION));
                       String albumid= c.getString(c.getColumnIndex(MediaStore.Audio.Media.ALBUM_ID));
                       Songs song = new Songs(title,data,name,duration,albumid);
                       songs.add(song);
                       title1.add(name);
                   }while (c.moveToNext());
               }

    Output file path :

    Environment.getExternalStorageDirectory()+ "/Trim"+".mp3";

    This is my command :

    "-y","-ss", start,"-i", input_path,"-t", end,"-metadata","title=Trim","-acodec", "copy","-preset", "ultrafast",output_path
  • getting errors from FFMpeg when spawned from .NET

    18 mars 2014, par Brannon

    When I run FFMpeg from the command line like this

    ffmpeg.exe -hwaccel auto -re -i "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" -an -sn -c:v bmp -pix_fmt bgr24 -f rawvideo - > junk.bin

    it works fine. However, when I spawn the exact same thing (minus > junk.bin) I get this nasty "bad header" error after a few seconds of playback. What is causing this ? I have trouble believing my process blocks the pipe longer than the filesystem does, but it should be able to block the pipe indefinitely without defeating the decoding. The truncated stderr is below. My code to spawn the thing is here.

    ffmpeg version N-60761-g916a792 Copyright (c) 2000-2014 the FFmpeg developers
     built on Feb 19 2014 21:57:22 with gcc 4.8.2 (GCC)
     configuration: --target-os=mingw32 --enable-shared --enable-runtime-cpudetect
     libavutil      52. 65.100 / 52. 65.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  1.103 /  4.  1.103
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    cygwin warning:
     MS-DOS style path detected: C:\Users\Public\Videos\Sample Videos\Wildlife.wmv
     Preferred POSIX equivalent is: /cygdrive/c/Users/Public/Videos/Sample Videos/Wildlife.wmv
     CYGWIN environment variable option "nodosfilewarning" turns off this warning.
     Consult the user's guide for more details about POSIX paths:
       http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    [asf @ 0x600059480] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Guessed Channel Layout for  Input Stream #0.0 : stereo
    Input #0, asf, from 'C:\Users\Public\Videos\Sample Videos\Wildlife.wmv':
     Metadata:
       SfOriginalFPS   : 299700
       WMFSDKVersion   : 11.0.6001.7000
       WMFSDKNeeded    : 0.0.0.0000
       comment         : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
       title           : Wildlife in HD
       copyright       : © 2008 Microsoft Corporation
       IsVBR           : 0
       DeviceConformanceTemplate: AP@L3
     Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
       Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 192 kb/s
       Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Output #0, rawvideo, to 'pipe:':
     Metadata:
       SfOriginalFPS   : 299700
       WMFSDKVersion   : 11.0.6001.7000
       WMFSDKNeeded    : 0.0.0.0000
       comment         : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
       title           : Wildlife in HD
       copyright       : © 2008 Microsoft Corporation
       IsVBR           : 0
       DeviceConformanceTemplate: AP@L3
       encoder         : Lavf55.33.100
       Stream #0:0(eng): Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream mapping:
     Stream #0:1 -> #0:0 (vc1 -> bmp)
    Press [q] to stop, [?] for help
    frame=    3 fps=0.0 q=0.0 size=    8100kB time=00:00:00.10 bitrate=662902.1kbits/s    
    frame=   29 fps= 26 q=0.0 size=   78302kB time=00:00:00.96 bitrate=662902.3kbits/s    
    frame=   50 fps= 30 q=0.0 size=  135003kB time=00:00:01.66 bitrate=662902.2kbits/s    
    frame=   65 fps= 30 q=0.0 size=  175503kB time=00:00:02.16 bitrate=662902.2kbits/s    
    frame=   80 fps= 30 q=0.0 size=  216004kB time=00:00:02.66 bitrate=662902.1kbits/s    
    frame=   95 fps= 30 q=0.0 size=  256505kB time=00:00:03.16 bitrate=662902.1kbits/s    
    [asf @ 0x600059480] ff asf bad header 74  at:5053733
    [asf @ 0x600059480] invalid packet_length -1908511255 at:5053740
    [asf @ 0x600059480] ff asf bad header d4  at:5053759
    [asf @ 0x600059480] ff asf skip 55629 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5181733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5189733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5197733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5205733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5213733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5221733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5229733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5237733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5245733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5357733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5365733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5373733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5381733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5493733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5501733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5509733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5517733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5629733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5637733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5645733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5653733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5701733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5709733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5717733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5725733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5805733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5813733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5821733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5829733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5877733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5885733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5893733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5901733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5949733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5957733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5965733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] ff asf bad header 0  at:5973733
    [asf @ 0x600059480] ff asf skip 7991 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 15 times
    [asf @ 0x600059480] unexpected packet_replic_size of 2
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 7 times
    [asf @ 0x600059480] ff asf skip 2562 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 3 times
    [asf @ 0x600059480] ff asf skip 448 (unknown stream)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 9 times
    [asf @ 0x600059480] unexpected packet_replic_size of 6
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 7 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 13 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 24 times
    [asf @ 0x600059480] unexpected packet_replic_size of 6
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 6 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 6 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
    [asf @ 0x600059480] packet_frag_size is invalid (1749-9)
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 2 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 8 times
    [asf @ 0x600059480] unexpected packet_replic_size of 5
    [asf @ 0x600059480] packet_obj_size invalid
       Last message repeated 39 times
    [asf @ 0x600059480] packet_frag_size is invalid (1749-40)
  • Easy Tricks for Finding WebM Videos in YouTube

    9 août 2010, par noreply@blogger.com (John Luther)

    Since the WebM project launch, YouTube has been encoding videos uploaded at 720p or higher resolution in the WebM format. Today, the one million most popular videos of any size on YouTube are also available in the WebM format.

    We have instructions on our project site for finding these videos but they require adding a special parameter onto the end of each search query. All of the browsers that support WebM can create search shortcuts with custom parameters, however, so we’ve compiled instructions for making it very simple to search for WebM videos in YouTube.

    Important : First, make sure you have a supported browser and are enrolled in the YouTube HTML5 beta by going to http://youtube.com/html5 and clicking Enter the HTML5 Beta.

    Creating a WebM Search Shortcut

    Firefox 4 Beta :

    1. Select Bookmarks > Organize Bookmarks. A bookmark manager dialog opens.
    2. In the left column, choose a location for the new bookmark you’re creating. Next, choose Organize > New Bookmark (on MacOS click the gear icon). The new bookmark dialog opens.
    3. In the Name box, type WebM.
    4. In the Location box, type http://youtube.com/results?search_query=%s&webm=1.
    5. In the Keyword box, type webm.
    6. Click Add.

    Google Chrome Early Release Channel :

    1. On Windows and Linux, click the Chrome wrench icon in the toolbar and select Options. On MacOS, select Chrome > Preferences.
    2. On the Basics tab, click the Manage button in the Default Search section.
    3. On Windows and Linux, click Add. On MacOS X, click the plus (+) button.
    4. In the Name box, type WebM.
    5. In the Keyword box, type webm.
    6. In the URL box, type http://youtube.com/results?search_query=%s&webm=1.
    7. Click OK.

    Opera 10.60 and later :

    1. Go to http://youtube.com.
    2. Right-click in the YouTube search box at the top of the page and select Create Search. On MacOS, use Ctrl+click if you don’t a secondary mouse button enabled.
    3. In the Name box, type WebM.
    4. In the Keyword box, type webm.
    5. In the Address box, type http://youtube.com/results?search_query=%s&webm=1.
    6. Click OK.


    Now you’re ready to search. In the location box of the browser, type webm monster trucks. The YouTube search results page will open with a selection of monster truck videos encoded in the WebM format. When watching a video, look for the HTML5 WebM indicator in the player control bar.

    If you can’t find WebM videos it is most likely a browser cookie problem. Your enrollment in the YouTube HTML5 beta test is stored in a browser cookie (not in your YouTube or Google account), and that cookie can expire. Visit http://youtube.com/html5 and opt-in again to re-set the cookie.

    Directly Accessing WebM Videos by URL

    To find out if any YouTube video is available in WebM, simply add &html5=True (make sure True is capitalized) to the end of the video URL. If there is a WebM version of the video, it will open instead of the Flash version. For example :