Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (71)

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

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

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

Sur d’autres sites (10876)

  • ffmpeg covert video in different format and also a cut same time

    17 juillet 2017, par Mahesh Prajapati

    i am converting video one format to another format but i want to also a cut it from some of the time duration so please help me to resolve that problem.
    hear some of the sample code. in blow command height and width is given dynamically.

    $conv_cmd="$ffmpeg -y -i ".$source_video_path.$newfilename."  -c:v libx264 -preset veryfast -s ".$width[1]."x".$height[1]."  -b:a 196k -b:v 1000K  uploads/all_tags_videos/".$con_file_name.".mp4 2>&1";

    that is convert code it’s give me error

    [0] => ffmpeg version git-2017-04-04-1229007 Copyright (c) 2000-2017 the FFmpeg developers
    [1] =>   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
    [2] =>   configuration: --prefix=/usr/local/ffmpeg --extra-cflags='-I$/usr/local/ffmpeg/include -fPIC' --extra-ldflags=-L/usr/local/ffmpeg/lib/ --bindir=/usr/sbin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libspeex --enable-shared --enable-libfdk_aac --enable-libopus --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
    [3] =>   libavutil      55. 59.100 / 55. 59.100
    [4] =>   libavcodec     57. 90.100 / 57. 90.100
    [5] =>   libavformat    57. 72.100 / 57. 72.100
    [6] =>   libavdevice    57.  7.100 / 57.  7.100
    [7] =>   libavfilter     6. 83.100 /  6. 83.100
    [8] =>   libswscale      4.  7.100 /  4.  7.100
    [9] =>   libswresample   2.  8.100 /  2.  8.100
    [10] =>   libpostproc    54.  6.100 / 54.  6.100
    [11] => Input #0, flv, from '/home/cigarsnearme/public_html/wp-content/themes/Newspaper_child/cigar_template/pageshortcode/status_tag_photos_upload_plugin/uploads/all_tags_videos/33-cc49pFlruuscbPhtmIaPFxjINpdGUx-1500249600.flv':
    [12] =>   Metadata:
    [13] =>     encoder         : Lavf53.24.2
    [14] =>   Duration: 00:00:11.00, start: 0.000000, bitrate: 1525 kb/s
    [15] =>     Stream #0:0: Audio: aac (LC), 48000 Hz, 5.1, fltp, 384 kb/s
    [16] =>     Stream #0:1: Video: flv1, yuv420p, 1280x720, 1200 kb/s, 1k fps, 25 tbr, 1k tbn
    [17] => Stream mapping:
    [18] =>   Stream #0:1 -> #0:0 (flv1 (flv) -> h264 (libx264))
    [19] =>   Stream #0:0 -> #0:1 (aac (native) -> aac (native))
    [20] => Press [q] to stop, [?] for help
    [21] => [libx264 @ 0x10fe7a0] using cpu capabilities: none!
    [22] => [libx264 @ 0x10fe7a0] profile High, level 3.1
    [23] => [libx264 @ 0x10fe7a0] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=22 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [24] => [AVFilterGraph @ 0x1d73e60] Error initializing threading.
    [25] => [AVFilterGraph @ 0x1d73e60] Error creating filter 'anull'
    [26] => Error reinitializing filters!
    [27] => Failed to inject frame into filter network: Cannot allocate memory
    [28] => Error while processing the decoded data for stream #0:0
    [29] => [libx264 @ 0x10fe7a0] final ratefactor: 28.36
    [30] => Conversion failed!
  • FFMPEG - No such filter 'minterpolate'

    18 juillet 2017, par Eduardo Perez

    So, I am trying to run a command in FFMPEG to do motion interpolation, and this is what happens.

    ffmpeg -i '드래곤빌리지 에피소드 영상 2화 (공식)-CYOxGwLy4mk.mkv' -filter "minterpolate='fps=60'" 60fps.mp4

    First I run the above command to encode a video, and I get the following output :

    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     WARNING: library configuration mismatch
     avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, matroska,webm, from '드래곤빌리지 에피소드 영상 2화 (공식)-CYOxGwLy4mk.mkv':
     Metadata:
       COMPATIBLE_BRANDS: iso6avc1mp41
       MAJOR_BRAND     : dash
       MINOR_VERSION   : 0
       ENCODER         : Lavf56.40.101
     Duration: 00:04:02.60, start: 0.007000, bitrate: 1341 kb/s
       Stream #0:0(und): Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
       Metadata:
         CREATION_TIME   : 2015-09-11 04:20:30
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
         DURATION        : 00:04:02.576000000
       Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
       Metadata:
         LANGUAGE        : eng
         DURATION        : 00:04:02.601000000
    File '60fps.mp4' already exists. Overwrite ? [y/N] y
    [AVFilterGraph @ 0x1b86240] No such filter: 'minterpolate'
    Error opening filters!

    How can I fix this error ? I am running Linux Mint 18.2 Cinnamon.

  • GoPro (MP4) video timestamp sync with precision of milliseconds

    3 février 2021, par Raphael Ottoni

    I need your help with a data sync problem... I m currently trying to sync my GoPro video with real world time (a.k.a my notebook). I manage to sync date and time of my notebook and my GoPro 3+ black perfectly. The problem is that when the GoPro save the files in disk it round up the milliseconds on the creation_time (the milliseconds is always 000000) . Thus, turning the perfect sync impossible. In attachment is a picture of the meta information (extracted by ffprobe) of the MP4 video.

    



    My question is : What I have to do, so the GoPro actually save the creation_time with precision of milliseconds ?

    



    Another small question : Looking at the attachment figure, we see the "timecode" which is a time synchronization data in the format of hours:minuts:seconds:frame. I was thinking that I could use the "frame" value to calculate the missing milliseconds value. If we take this attachment, as a example, we can see that the frame value is "36". Meaning that the millisecond that it started to record was the one associated with the 36th frame of the FPS (in this video : 60fps) value : Some thing like 1000/60 * 36 which is 600 milliseconds, thus the actual creation_time of this video would be : 2017-07-19T18:10:34.600

    



    Is this logic right ? it didn't work ! I don't know what else to do.

    



    P.S : I need this kind of time precision because I will sync the video frames with a external sensor data that is recorded at 11hz.

    



    Please Help

    



    enter image description here

    



    update

    



    I forgot to mention, even if you check the original raw file information, inside the GoPro SSD card, using "stats" to read the creation time (see attachment) it still has the same timestamp without milliseconds.

    



    enter image description here