Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (25)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5659)

  • 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%
  • dnn : add openvino as one of dnn backend

    25 mai 2020, par Guo, Yejun
    dnn : add openvino as one of dnn backend
    

    OpenVINO is a Deep Learning Deployment Toolkit at
    https://github.com/openvinotoolkit/openvino, it supports CPU, GPU
    and heterogeneous plugins to accelerate deep learning inferencing.

    Please refer to https://github.com/openvinotoolkit/openvino/blob/master/build-instruction.md
    to build openvino (c library is built at the same time). Please add
    option -DENABLE_MKL_DNN=ON for cmake to enable CPU path. The header
    files and libraries are installed to /usr/local/deployment_tools/inference_engine/
    with default options on my system.

    To build FFmpeg with openvion, take my system as an example, run with :
    $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/usr/local/deployment_tools/inference_engine/lib/intel64/ :/usr/local/deployment_tools/inference_engine/external/tbb/lib/
    $ ../ffmpeg/configure —enable-libopenvino —extra-cflags=-I/usr/local/deployment_tools/inference_engine/include/ —extra-ldflags=-L/usr/local/deployment_tools/inference_engine/lib/intel64
    $ make

    Here are the features provided by OpenVINO inference engine :
    - support more DNN model formats
    It supports TensorFlow, Caffe, ONNX, MXNet and Kaldi by converting them
    into OpenVINO format with a python script. And torth model
    can be first converted into ONNX and then to OpenVINO format.

    see the script at https://github.com/openvinotoolkit/openvino/tree/master/model-optimizer/mo.py
    which also does some optimization at model level.

    - optimize at inference stage
    It optimizes for X86 CPUs with SSE, AVX etc.

    It also optimizes based on OpenCL for Intel GPUs.
    (only Intel GPU supported becuase Intel OpenCL extension is used for optimization)

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>
    Signed-off-by : Pedro Arthur <bygrandao@gmail.com>

    • [DH] configure
    • [DH] libavfilter/dnn/Makefile
    • [DH] libavfilter/dnn/dnn_backend_openvino.c
    • [DH] libavfilter/dnn/dnn_backend_openvino.h
    • [DH] libavfilter/dnn/dnn_interface.c
    • [DH] libavfilter/dnn_interface.h
  • Compiling FFMPEG on CentOS DigitalOcean

    29 juillet 2015, par coder_uk

    I set up a DigitalOcean instance running CentOS 6.5 and successfully followed the guide to compile FFMPEG (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos). Hurrah !

    But of course I realised that by default, DigitalOcean creates a root user and so ffmpeg now lives in /root/bin/ffmpeg. Which isn’t ideal because when I want to exec the ffmpeg bin from nginx, I would have to run nginx as root for it to have permission.

    Questions ...

    1) Long-shot, but presumably if I change the owner of the ffmpeg binary to nginx, it still won’t work, because nginx won’t be able to access the /root folder it is in. Correct ?

    2) I could run nginx as root (’user root’). But this seems like a very bad idea. Correct ?

    3) Which leaves me with the option of creating a new user, and then compiling ffmpeg into its home folder. But : which user ? EC2 creates ’ec2-user’, so should I make my own equivalent for DO ? But then won’t I have to run nginx as that user, else I’ll run into the same problem ?

    Or should I compile ffmpeg into the ’nginx’ home folder, if indeed it has one ? Is that how it is supposed to be done ?

    Since compiling ffmpeg takes ages, I don’t want to keep doing it, and the static files all seem very out of date. Thanks