Recherche avancée

Médias (91)

Autres articles (107)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (14152)

  • ffmpeg encoding .mp4 fails in safari when hosted from s3. handbrake encoded video works first time

    11 juin 2018, par Simon Rogers

    The mp4 videos I’ve encoded with ffmpeg work perfectly in Safari if stored locally, but break if hosted from s3. I have tried countless encoding settings to no avail.

    However having just run a mov quickly through Handbrake and ticking ’optimise for web’ and encoding baseline @ 4.0, this has worked perfectly first time.

    I don’t understand what could be going wrong with my ffmpeg encoding.

    Things I have noticed about files from two separate encoders which work :

    They both have yuv420p(tv, bt709) whereas ffmpeg is just saying yuv420p – this is the only thing I can identify from ffprobe that is consistently different.

    I have done a fresh install of ffmpeg to no avail :

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass  --with-libvorbis --with-libvpx --with-opus --with-x265

    This error appears in all the files I have encoded with ffmpeg :

    Unsupported codec with id 0 for input stream 1

    ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    mp4box gives the following for the ffmpeg video, which doesn’t work :

    Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/tests/mov-output-10-1400.mp4
    * Movie Info *
    Timescale 1000 - 1 track
    Computed Duration 00:00:10.967 - Indicated Duration 00:00:10.967
    Fragmented File: no
    File suitable for progressive download (moov before mdat)
    File Brand isom - version 512
       Compatible brands: isom iso2 avc1 mp41
    Created: UNKNOWN DATE   Modified: UNKNOWN DATE
    File has no MPEG4 IOD/OD

    iTunes Info:
    Encoder Software: Lavf58.12.100
    1 UDTA types: meta (1)

    Track # 1 Info - TrackID 1 - TimeScale 15360
    Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
    Track has 1 edit lists: track duration is 00:00:10.967
    Media Info: Language "English (eng)" - Type "vide:avc1" - 329 samples
    Visual Track layout: x=0 y=0 width=1800 height=1200
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
    AVC/H264 Video - Visual Size 1800 x 1200
    AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4
    NAL Unit length bits: 32
    Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
    Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
    SPS#1 hash: 2BD106A8DFD73B92825D87D4D312B22F9CEC1986
    PPS#1 hash: 656AE5F3BE854F3C8B889E72310662390F18EDBD
    Self-synchronized
    RFC6381 Codec Parameters: avc1.42C028
    Average GOP length: 329 samples

    And gives the following for two videos that do work.

    First :

    Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/tests/mov-output-05-1400.mp4
    [iso file] Unknown box type tmcd
    [iso file] Read Box type  (0x00000000) has size 0 but is not at root/file level, skipping
    * Movie Info *
    Timescale 1000 - 2 tracks
    Computed Duration 00:00:10.967 - Indicated Duration 00:00:10.967
    Fragmented File: no
    File suitable for progressive download (moov before mdat)
    File Brand isom - version 512
       Compatible brands: isom iso2 avc1 mp41
    Created: UNKNOWN DATE   Modified: UNKNOWN DATE
    File has no MPEG4 IOD/OD

    iTunes Info:
    Encoder Software: Lavf58.12.100
    1 UDTA types: meta (1)

    Track # 1 Info - TrackID 1 - TimeScale 15360
    Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
    Track has 1 edit lists: track duration is 00:00:10.967
    Media Info: Language "English (eng)" - Type "vide:avc1" - 329 samples
    Visual Track layout: x=0 y=0 width=1800 height=1200
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
    AVC/H264 Video - Visual Size 1800 x 1200
    AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4
    NAL Unit length bits: 32
    Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
    Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
    SPS#1 hash: 39D86732FD5F78B18F2E83C651FAE38EA0E30A6D
    PPS#1 hash: 656AE5F3BE854F3C8B889E72310662390F18EDBD
    Self-synchronized
    RFC6381 Codec Parameters: avc1.42C028
    Average GOP length: 329 samples

    Track # 2 Info - TrackID 2 - TimeScale 15360
    Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
    Track has 1 edit lists: track duration is 00:00:10.967
    Track is disabled
    Media Info: Language "Undetermined (und)" - Type "tmcd:tmcd" - 1 samples
    Unknown media type
    RFC6381 Codec Parameters: tmcd
    All samples are sync

    Second :

    Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/Documents/yes_2106.mp4
    * Movie Info *
    Timescale 30000 - 1 track
    Computed Duration 00:00:10.966 - Indicated Duration 00:00:10.966
    Fragmented File: no
    File suitable for progressive download (moov before mdat)
    File Brand isom - version 1
       Compatible brands: isom avc1 mp42
    Created: GMT Fri Jun  1 11:24:54 2018
    Modified: GMT Fri Jun  1 11:24:54 2018

    File has root IOD (9 bytes)
    Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
    Visual PL: ISO Reserved Profile (0x15)
    Audio PL: No audio capability required (0xff)
    No streams included in root OD

    Track # 1 Info - TrackID 1 - TimeScale 30
    Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
    Media Info: Language "Undetermined (und)" - Type "vide:avc1" - 329 samples
    Visual Track layout: x=0 y=0 width=1800 height=1200
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
    AVC/H264 Video - Visual Size 1800 x 1200
    AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4.2
    NAL Unit length bits: 32
    Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
    Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
    SPS#1 hash: ED5CFE0A3F65F36ADCFA347C1273A29784E8AEAC
    PPS#1 hash: 7ECF7597FDDAC5F8C82B54BFB40A1F9A8D8807FA
    Self-synchronized
    RFC6381 Codec Parameters: avc1.42C02A
    Average GOP length: 329 samples
  • How can I concatenate these two video files that are in different formats with ffmpeg ?

    11 juin 2018, par jaybers

    File s.mp4 is created from a photo and a silent audio track was added in.
    File r.mp4 was created using the built in video record on an android tablet.

    I would like to try to match s.mp4 to r.mp4 so that they can concatenate (s then r). Right now, the time base seems off and it plays audio from the r.mp4 but never shows the video. It it always shows the video from s.mp4. I was able to match the tbn of 90k by using -video_track_timescale 90k but I did not know how to match the tbc. It is 180k on one and 59.94 on the other.

    Probe for s.mp4

    ./ffprobe s.mp4
    ffprobe version 4.0-tessus Copyright (c) 2007-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
     configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 's.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
     Duration: 00:00:05.04, start: 0.000000, bitrate: 296 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 286 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Probe for r.mp4

    ./ffprobe r.mp4
    ffprobe version 4.0-tessus Copyright (c) 2007-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
     configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'r.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2018-06-11T20:12:03.000000Z
       com.android.version: 7.0
     Duration: 00:00:10.89, start: 0.000000, bitrate: 17087 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/smpte170m), 1920x1080, 16810 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         creation_time   : 2018-06-11T20:12:03.000000Z
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
       Metadata:
         creation_time   : 2018-06-11T20:12:03.000000Z
         handler_name    : SoundHandle
  • How to encode HEVC tile in JPEG ?

    3 juillet 2018, par Ketan Chauhan

    I am trying to convert HEIF file into a JPEG file, I extract HEIC images tiles using MP4Box but when convert these tiles into JPEG using FFMPEG I get this :

    SAKATA-INX:desktop stellar$ MP4Box -dump-item 1:path=item1.hevc
    still_rear.HEIC

    ICC colour profile not supported ICC colour profile not supported

    SAKATA-INX:desktop stellar$ ffmpeg -i item1.hevc -frames:v 1 -vsync
    vfr -q:v 1 -an test.jpg

    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers built
    with Apple LLVM version 9.1.0 (clang-902.0.39.1)

    configuration : —prefix=/usr/local/Cellar/ffmpeg/4.0 —enable-shared
    —enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-gpl —enable-libmp3lame —enable-libx264 —enable-libx265 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzma

    libavutil 56. 14.100 / 56. 14.100

    libavcodec 58. 18.100 / 58. 18.100

    libavformat 58. 12.100 / 58. 12.100

    libavdevice 58. 3.100 / 58. 3.100

    libavfilter 7. 16.100 / 7. 16.100

    libavresample 4. 0. 0 / 4. 0. 0

    libswscale 5. 1.100 / 5. 1.100

    libswresample 3. 1.100 / 3. 1.100

    libpostproc 55. 1.100 / 55. 1.100

    [hevc @ 0x7fc56e808e00] Format hevc detected only with low score of 1,
    misdetection possible !

    [hevc @ 0x7fc56f800000] No start code is found.

    [hevc @ 0x7fc56f800000] missing picture in access unit

    [AVBSFContext @ 0x7fc56e505e00] No start code is found.

    item1.hevc : could not find codec parameters

    Input #0, hevc, from ’item1.hevc’ :

    Duration : N/A, bitrate : N/A

    Stream #0:0: Video: hevc, none, 1200k tbn

    Output #0, image2, to ’test.jpg’ :

    Output file #0 does not contain any stream

    Could any one tell me how I can do this ?