Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (88)

  • 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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (6864)

  • Pipe and regex bash ouput

    13 mars 2013, par Wes

    I'm trying to get the dimensions of a video with ffmpeg. I use the command ffprobe video.mov to get the following data :

    ffprobe version 1.0 Copyright (c) 2007-2012 the FFmpeg developers
     built on Jan 14 2013 10:18:07 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      51. 73.101 / 51. 73.101
     libavcodec     54. 59.100 / 54. 59.100
     libavformat    54. 29.104 / 54. 29.104
     libavdevice    54.  2.101 / 54.  2.101
     libavfilter     3. 17.100 /  3. 17.100
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'linebubble.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 0
       compatible_brands: qt
       creation_time   : 2013-03-12 02:59:34
     Duration: 00:00:14.05, start: 0.050000, bitrate: 135 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 502x288 [SAR 1:1 DAR 251:144], 137 kb/s, 7.84 fps, 60 tbr, 6k tbn, 12k tbc
       Metadata:
         creation_time   : 2013-03-12 02:59:34
         handler_name    : Core Media Data Handler

    Now I want to pipe that into a regex to just get 502x288 on the fourth last line.

    I've seen some solutions with python and perl, but I want this to be in plain bash. How would I go about this ?

  • Is there any case for a mov and mp4 containers be interchangeable ?

    13 avril 2018, par danielfranca

    The question migh be silly,
    But I got the following situation.

    I have a bunch of MOV video files from some clients, I was going to convert them to MP4 to be able to run on a browser.
    However, when I just tried to open it on the browser it worked fine, both in Firefox and Chrome.

    When I run ffmpeg on one of those files I get fhe following :

    ffmpeg -i MyVideo.mov -hide_banner
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MyVideo.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2011-06-27 19:53:07
       Duration: 00:10:10.96, start: 0.000000, bitrate: 10234 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 10103 kb/s, 25 fps, 25 tbr, 2500 tbn, 5k tbc (default)
       Metadata:
         creation_time   : 2011-06-27 19:53:07
         handler_name    : Apple Alias Data Handler
         encoder         : H.264
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s (default)
       Metadata:
         creation_time   : 2011-06-27 19:53:07
         handler_name    : Apple Alias Data Handler

    When running ffprobe to check the container I get a bunch of outputs :

    [FORMAT]
    format_name=mov,mp4,m4a,3gp,3g2,mj2
    [/FORMAT]

    What exactly does this means ? All those containers are interchangeable ?
    If not, why browsers are able to read this file ?

    Firefox version : 59.0.2
    Chrome Version 65.0.3325.181

  • ffmpeg adding 6 secs of black frames in the beginning of a file

    7 août 2014, par user3842039

    Trying to convert a .mov file (h264 and pcm) generated in Mpegstreamclip (MacOS) and the result is strangely out of sync with around 6 seconds of black frames at the beginning. I have tried many differente audio and video codec and the result is the same even with a -vcodec copy and -acodec copy. Below the return of ffmpeg (git version compiled today - 06/08/2014) :

           ffmpeg -i /media/dados/x/PGM-970.mov -vcodec copy -acodec copy  /media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov
       ffmpeg version 2.3.git-1ace957 Copyright (c) 2000-2014 the FFmpeg developers
         built on Jul 26 2014 20:25:06 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
         configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
         libavutil      52. 92.101 / 52. 92.101
         libavcodec     55. 69.100 / 55. 69.100
         libavformat    55. 49.100 / 55. 49.100
         libavdevice    55. 13.102 / 55. 13.102
         libavfilter     4. 11.102 /  4. 11.102
         libavresample   1.  3.  0 /  1.  3.  0
         libswscale      2.  6.100 /  2.  6.100
         libswresample   0. 19.100 /  0. 19.100
         libpostproc    52.  3.100 / 52.  3.100
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ddac20] multiple edit list entries, a/v desync might occur, patch welcome
       [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ddac20] Concatenated H.264 or H.265 might not play correctly.
       Guessed Channel Layout for  Input Stream #0.1 : mono
       Guessed Channel Layout for  Input Stream #0.2 : mono
       Guessed Channel Layout for  Input Stream #0.3 : mono
       Guessed Channel Layout for  Input Stream #0.4 : mono
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/dados/x/PGM-970.mov':
         Metadata:
           major_brand     : qt  
           minor_version   : 537199360
           compatible_brands: qt  
           creation_time   : 2014-08-01 16:50:24
         Duration: 00:24:56.30, start: 0.000000, bitrate: 8350 kb/s
           Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte1File '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov' already exists. Overwrite ? [y/N] y

    70m), 720x480, 5258 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
         encoder         : H.264
         timecode        : 01:00:00;00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         File '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov' already exists. Overwrite ? [y/N] yhandler_name    : Apple Alias Data Handler
       Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
       Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
       Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
       Stream #0:5(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2014-08-01 16:51:16
         handler_name    : Apple Alias Data Handler
         timecode        : 01:00:00;00

    Output #0, mov, to '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf55.49.100
       Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x480, q=2-31, 5258 kb/s, 29.97 fps, 11988 tbn, 2997 tbc (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
         encoder         : H.264
         timecode        : 01:00:00;00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 768 kb/s (default)
       Metadata:
         creation_time   : 2014-08-01 16:50:24
         handler_name    : Apple Alias Data Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help

    Even ignoring the audio stream with "-an" ffmpeg persists to add the frames and alter the output duration.

    Any help is very much appreciated ! thanks in advance