Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

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

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

Sur d’autres sites (15305)

  • FFMPEG output duration using "-t" is too long by 10 ms

    9 octobre 2018, par Ze'ev

    I’m using this command to take video from a 35 second QuickTime file and replace audio with a WAV :

    ffmpeg -i 'video.mov' -i 'audio.wav' -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 -t 35.0000 'output.mov'

    But the audio is slightly longer than the video, and I’m trying to make ffmpeg trim the output to exactly 35 seconds with -t 35 but the output is 35.01 seconds.

    I also tried -t 35.000 and -to 35 and several other options, but it’s alway 10ms too long.

    ffmpeg output :

    ffmpeg version N-91789-g11cec34829 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox
     libavutil      56. 19.100 / 56. 19.100
     libavcodec     58. 27.101 / 58. 27.101
     libavformat    58. 17.106 / 58. 17.106
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 26.100 /  7. 26.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2018-10-09T13:41:49.000000Z
     Duration: 00:00:35.00, start: 0.000000, bitrate: 172467 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 170692 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Video Media Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:01:12:22
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Sound Media Handler
         timecode        : 00:01:12:22
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Time Code Media Handler
         timecode        : 00:01:12:22
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, wav, from 'audio.wav':
     Metadata:
       encoded_by      : Pro Tools
       originator_reference: aaygKpJ1bvMk
       date            : 2018-10-02
       creation_time   : 12:29:34
       time_reference  : 172800000
     Duration: 00:00:35.04, bitrate: 2316 kb/s
       Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
    Output #0, mov, to 'output.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf58.17.106
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 170692 kb/s, 0.04 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Video Media Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:01:12:22
       Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  875 fps=479 q=-1.0 Lsize=  739138kB time=00:00:34.99 bitrate=173024.6kbits/s speed=19.2x    
    video:729276kB audio:9846kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002153%
  • FFMPEG - concantenating mp4s from different sources - unable to stop "Non-monotonous DTS in output stream" warning

    7 août 2018, par Sam P

    I need to concatenate mp4 files from different sources, this means some of the variables are out of my control such as timebase, aspect ratio and encoding. So to get around this I re-encode and attempt to standardise the files before concantenating them. Unfortunately, despite this I get Non-monotonous DTS in output stream warnings during the concatenation stage, and the output video seems to always have broken audio/video syncing by the last segment.

    I know there are a lot of other questions out there about resolving the warning above, but I’ve been through them all and reviewed the documentation.. but unfortunately I’ve been still been unable to solve it..

    I think the thing which I don’t understand is : if I have mp4s from different sources, what exactly do I need to do to ensure that the files will always neatly concatenate together ?

    What I’ve tried so far

    The script I’m using to standardise the mp4 files before concantenation is the following (amends resolution, frame rate, timebase, bitrate for audio, bitrate for video, audio encoding and video encoding) :

    ffmpeg -y -i $1 -vf 'scale=1280:720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2' -r 30 -video_track_timescale 90000 -b:a 128K -b:v 1200K -c:a aac -c:v libx264 $2

    Here’s the ffprobe output on two of the files, there are some differences but I’m not sure if they are significant ?

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:08.98, start: 0.000000, bitrate: 1210 kb/s
       Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1069 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'middle.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:59.72, start: 0.000000, bitrate: 1200 kb/s
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1063 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    They all have normal video and audio at this point.

    After that I concatenate them and add a watermark using the following (it sucks that I need to re-encode here) :

     ffmpeg -y \
       -f concat \
       -safe 0 \
       -i $INFILES \
       -c:v libx264 \
       -c:a copy \
       -preset fast \
       -vf drawtext=enable="'between(t, $DRAW_TEXT_DELAY, $DRAW_TEXT_DURATION)': fontfile=$FONT_DIR/$FONT: text='$TEXT': fontcolor=$FONTCOLOR: fontsize=$FONTSIZE: $POSITION" \
       $OUTFILE

    INFILES is a path to a text file formatted like :

    file /usr/src/app/data/test/out/intro.mp4
    file /usr/src/app/data/test/out/middle.mp4
    file /usr/src/app/data/test/out/outro.mp4

    What am I missing here ? Is there a way to debug this further ?

  • how encode xdcam.mxf and set for mediainfo flag "standard : component"

    3 août 2018, par livio

    My goal is to encode an XdcamHD 50Mb .mxf, with ffmpeg or ffmbc or bmx, and get the following Mediainfo technical and tag data

    Format Settings, Matrix : Custom

    Standard : Component

    enter image description here

    When I try to convert with FFmbc I get a correct XdcamHD in every aspects, except the following Mediainfo technical data :

    Format Settings, Matrix : Default

    Standard : PAL

    enter image description here

    The target file and my file analized whith ffprobe are identical

    on the left target file on the right my encoded file

    enter image description here

    and this is my code

    ffmbc.exe -i %1 -tff -target xdcamhd422 -t 5 -y rewrapffmbc.mxf

    When i try to convert with ffmpeg I obtain the same good file but if I read the technical and tag data in Mediainfo the flag "Standard :" has disappeared. Also in this case my file is being rejected from a Broadcast Company we deal with.

    here is the ffmpeg code

    ffmpeg.exe  -i %1 -r 25 -aspect 16:9 -pix_fmt yuv422p -color_primaries 1 -color_trc 1 -colorspace 1 -vcodec mpeg2video -non_linear_quant 1 -flags +ildct+ilme -top 1 -intra_vlc 1 -qmax 3 -lmin "1*QP2LAMBDA" -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 3835k -bf 2 -trellis 1 -map 0:0 -map 0:1 -map 0:2 -map 0:1 -map 0:2 -map 0:1 -map 0:2 -map 0:1 -map 0:2  -map_channel 0.1.0:0.1.0 -map_channel 0.2.0:0.2.0  -map_channel 0.1.0:0.3.0 -map_channel 0.2.0:0.4.0  -map_channel 0.1.0:0.5.0 -map_channel 0.2.0:0.6.0  -map_channel 0.1.0:0.7.0 -map_channel 0.2.0:0.8.0 -c:a pcm_s24le -ar 48000 -ac 1 -map_metadata 0  -timecode 09:59:59:20 -y profilo-1.mxf

    Can someone provide a solution or a workaround ?

    Thank you