Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (37)

  • 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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • 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 (6222)

  • C program cannot find function which included in header file

    17 juin 2013, par Juneyoung Oh

    I made program like this.

     1 #include
     2 #include
     3 #include
     4 #include "libavformat/avformat.h"
     5
     6 int main (int argc, char* argv[]){
     7         av_register_all();
     8         return 0;
     9 }

    My header file located in

    root@ubuntu:/home/juneyoungoh/getDuration# find / -name "avformat.h"
    /root/ffmpeg/libavformat/avformat.h
    /usr/local/include/libavformat/avformat.h

    then I run with gcc getDuration.c , but I show message like below.

    root@ubuntu:/home/juneyoungoh/getDuration# gcc getDuration.c
    /tmp/ccwjonqH.o: In function `main':
    getDuration.c:(.text+0x10): undefined reference to `av_register_all'
    collect2: ld returned 1 exit status

    Frankly, I do not have any idea what makes this.

    Thanks for your answers.

    ========================== edited #1 ===========================

    when I "ls /usr/local/lib", I get this.

    root@ubuntu:/home/juneyoungoh/getDuration# ls /usr/local/lib/
    libavcodec.a   libavutil.a    libopus.la       libvpx.a   python2.7
    libavdevice.a  libfdk-aac.a   libpostproc.a    libx264.a
    libavfilter.a  libfdk-aac.la  libswresample.a  libyasm.a
    libavformat.a  libopus.a      libswscale.a     pkgconfig

    you can see libavformat.a in the very first of the last line.

    so if I command like what you suggest, I get below.

    /root/ffmpeg/libavformat/vqf.c:244: undefined reference to `av_free_packet'
    /usr/local/lib//libavformat.a(vqf.o): In function `add_metadata':
    /root/ffmpeg/libavformat/vqf.c:58: undefined reference to `av_malloc'
    /root/ffmpeg/libavformat/vqf.c:64: undefined reference to `av_dict_set'
    /usr/local/lib//libavformat.a(vqf.o): In function `vqf_read_header':
    /root/ffmpeg/libavformat/vqf.c:148: undefined reference to `av_dict_set'
    /root/ffmpeg/libavformat/vqf.c:208: undefined reference to `av_log'
    /root/ffmpeg/libavformat/vqf.c:216: undefined reference to `av_malloc'
    /root/ffmpeg/libavformat/vqf.c:170: undefined reference to `av_log'
    /root/ffmpeg/libavformat/vqf.c:121: undefined reference to `av_log'
    /root/ffmpeg/libavformat/vqf.c:184: undefined reference to `av_log'
    /root/ffmpeg/libavformat/vqf.c:136: undefined reference to `av_log'
    /usr/local/lib//libavformat.a(wavenc.o): In function `wav_write_trailer':
    /root/ffmpeg/libavformat/wavenc.c:210: undefined reference to `av_rescale'
    /usr/local/lib//libavformat.a(wavenc.o): In function `wav_write_packet':
    /root/ffmpeg/libavformat/wavenc.c:181: undefined reference to `av_log'

    It is too long, so I just post little part of that.

    I think all link of libavformat has been broken, But I do not know

    what can I do to fix that link.

    I have installed that their official link said.

    https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuideQuantal

  • Copying GoPro metadata with ffmpeg - Could not find tag for codec none

    12 juin 2024, par TomMaier

    I am trying to use ffmpeg to copy the metadata of a gopro file.
The most basic demonstration of the problem would be to copy everything to a new file :

    


    ffmpeg -y -i source.MP4 -c copy -copy_unknown -map 0:v -map 0:a -map 0:2 -map 0:3 -map 0:4 -map_metadata 0 result.MP4


    


    This produces the error :

    


    Could not find tag for codec none in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:4 --


    


    As I understand it this means that ffmpeg doesn't apply the -c copy operation correctly and instead complains that there is no encoder for the data streams. The same error happens for 0:2 and 0:4

    


    While searching on google if have found some people who have had the same issue in the past but I have also found some reports of it working.

    


    Any ideas what am I doing wrong or is this actually a bug ?

    


    Here is the ffprobe and the link to the GoPro file.

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'source.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2021-05-17T22:36:48.000000Z
    firmware        : HD7.01.01.90.00
  Duration: 00:00:02.88, start: 0.000000, bitrate: 58664 kb/s
  Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 58557 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro H.265
      vendor_id       : [0][0][0][0]
      encoder         : GoPro H.265 encoder
      timecode        : 02:43:36:15
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 187 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro AAC
      vendor_id       : [0][0][0][0]
      timecode        : 02:43:36:15
  Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro TCD
      timecode        : 02:43:36:15
  Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 30 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro MET
  Stream #0:4(eng): Data: none (fdsc / 0x63736466), 16 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro SOS
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3
Unsupported codec with id 0 for input stream 4


    


  • AWS elastic beanstalk UnhandledPromiseRejectionWarning : Cannot find ffprobe

    1er janvier 2021, par Ali Ahmed

    Using elasticbeanstalk with Node.js 10 running on 64bit Amazon Linux 2/5.2.3. I have a packages.config file under .ebextensions folder.

    


       packages:
  yum:
    ImageMagick: []
    ImageMagick-devel: []
commands:
  01-wget:
    command: "wget -O /tmp/ffmpeg.tar.xz http://ffmpeg.org/releases/ffmpeg-4.1.tar.gz"
  02-mkdir:
    command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
  03-tar:
    command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg"
  04-ln:
    command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg-4.1/ffmpeg /usr/bin/ffmpeg; fi"
  05-ln:
    command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffmpeg-4.1/ffprobe /usr/bin/ffprobe; fi"
  06-pecl:
    command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"


    


    I am using fluent-ffmpeg@2.1.2 module for saving screenshot.