Recherche avancée

Médias (91)

Autres articles (86)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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" (...)

  • 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 (...)

Sur d’autres sites (9460)

  • iOS Recorded Video Playback on Android

    1er mars 2015, par Nirav

    I am trying to record video from iPhone device using UIImagePickerController and able to store it in MP4 format. The same video is uploaded on the Amazon S3 cloud.

    When I try to play the same video on Android devices, it fails to play with an error, cannot play.

    I searched forums/google and found that ffmpeg should be used to compress the video before uploading. I want to do the compression on the phone itself rather than on the server. Which is the best way to achieve this ?

    Regards,

    Nirav

  • Ffmpeg - Remove rotate metadata

    16 mai 2014, par Ron I

    When I extract the images from a video, the resulting images are getting rotated. The orientation of the video is correct, and the images are upside down. The metadata for the original video is 180, and also for the output file, so it looks like it is copying that data and additionally rotating 180 degrees. However, since the original video is already rotated, it is flipping the video upside down.

    I would like to remove the metadata for the output file containing the ’rotate’ command. I tried adding -vf rotate=0, but it didn’t work.

    Here is the command I am running :

    ffmpeg -i left.MOV -r 1 -f image2 left-03%d.png

    I assume this is what is throwing it off (it looks like it is copying the rotate metadata from the input file and applying it to the output file) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
    rotate          : 180

    Output #0, image2, to 'left-03%d.png':

    Metadata:
         rotate          : 180

    Here’s the full output :

       ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
     built on Apr 11 2014 22:50:35 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libavresample   1.  2.  0 /  1.  2.  0
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2014-05-14 16:24:27
       make            : Apple
       make-eng        : Apple
       encoder         : 7.1.1
       encoder-eng     : 7.1.1
       date            : 2014-05-14T09:23:48-0700
       date-eng        : 2014-05-14T09:23:48-0700
       model           : iPhone 5
       model-eng       : iPhone 5
     Duration: 00:00:10.98, start: 0.000000, bitrate: 795 kb/s
       Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
       Metadata:
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 568x320, 728 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
    Output #0, image2, to 'left-03%d.png':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       model-eng       : iPhone 5
       make            : Apple
       make-eng        : Apple
       model           : iPhone 5
       encoder-eng     : 7.1.1
       date            : 2014-05-14T09:23:48-0700
       date-eng        : 2014-05-14T09:23:48-0700
       encoder         : Lavf55.33.100
       Stream #0:0(und): Video: png, rgb24, 568x320, q=2-31, 200 kb/s, 90k tbn, 1 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 -> png)
    Press [q] to stop, [?] for help
    frame=   14 fps=0.0 q=0.0 Lsize=N/A time=00:00:14.00 bitrate=N/A dup=0 drop=315    
    video:1521kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100.001411%
  • ffmpeg minimal requirements configuration for encoding and decoding h264 files

    14 novembre 2013, par TheSquad

    I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264.

    So far my command line configuration is :

    ./configure --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file

    once compiled, I try this :

    ./ffmpeg -i ~/Dropbox/TestFile.mov -vcodec libx264 test.mp4

    but I get an error :

     ffmpeg version N-58081-g2925571 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 14 2013 15:49:58 with Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
     configuration: --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file
     libavutil      52. 52.100 / 52. 52.100
     libavcodec     55. 43.100 / 55. 43.100
     libavformat    55. 21.100 / 55. 21.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mGs/Dropbox/TestFile.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2013-06-23 14:33:09
       model           : iPhone 4S
       model-fra       : iPhone 4S
       encoder         : 6.0
       encoder-fra     : 6.0
       date            : 2013-06-23T16:33:09+0200
       date-fra        : 2013-06-23T16:33:09+0200
       make            : Apple
       make-fra        : Apple
     Duration: 00:00:42.09, start: 0.000000, bitrate: 20960 kb/s
       Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 20880 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, 63 kb/s (default)
       Metadata:
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
    [NULL @ 0x7fd999802e00] Unable to find a suitable output format for 'test.mp4'
    test.mp4: Invalid argument

    This is probably coming from the fact that I have forgot something to enable on the ffmpeg configuration... But I can't found out what.

    The test file is a video got from iPhone 4S Camera.