Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (66)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • compile ffmpeg decode only without audio codecs

    28 juillet 2016, par Rob

    I work on a media manager and use ffmpeg.exe to extract screenshots.
    With the latest size of ffmpeg.exe exceeding 35MB, I am attempting to build ffmpeg without the majority of its functions, to allow only saving of a frame of video.

    I had thought disabling many of the filters, Audio Codecs etc would shrink the size of ffmpeg to something more manageable.

    Following this guide
    https://pracucci.com/compile-ffmpeg-on-windows-with-visual-studio-compiler.html
    to allow building of ffmpeg using Visual Studio 2015, I have come to the part of ./configuration and hit a wall.
    With so many options and no idea what all of them mean or do, I am asking if someone in the community can give me laymans instructions.

    I also know that I need to build x264, and possible x265 (HEVC), but am not sure if there is anything other codecs needed.
    In the end, I and am hoping to just have the one file, ffmpeg.exe for use in the media manager project.

    The code I use to get a screenshot is as follows

    Public Shared Function CreateScreenShot(ByVal FullPathAndFilename As String, ByVal SavePath As String, ByVal sec As Integer, Optional ByVal Overwrite As Boolean = False) As Boolean
       If Not File.Exists(SavePath) Or Overwrite Then
           Try
               IO.File.Delete(SavePath)
           Catch
               Return False
           End Try
           If IO.File.Exists(FullPathAndFilename) Then
               Dim myProcess As Process = New Process
               Try
                   Dim seconds As Integer = sec
                   myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
                   myProcess.StartInfo.CreateNoWindow = False
                   myProcess.StartInfo.FileName = Utilities.applicationPath & "\Assets\ffmpeg.exe"
                   Dim proc_arguments As String = "-ss " & seconds.ToString & " -i """ & FullPathAndFilename & """ -vframes:v 1 -an " & """" & SavePath & """"
                   myProcess.StartInfo.Arguments = proc_arguments
                   myProcess.Start()
                   myProcess.WaitForExit()
                   If File.Exists(SavePath) Then Return True
               Catch ex As Exception
                   Throw ex
               Finally
                   myProcess.Close()
               End Try
           End If
       End If
       Return False
    End Function

    I hope this is sufficient information, and appreciated any help or suggestions.

  • Libvpx unknown encoder with php exec

    5 juin 2016, par Justin Tullock

    I have centos7 with ffmpeg compiled with libvpx. I can run

    ffmpeg -i gif.gif -c:v libvpx -crf 12 -b:v 500K webm.webm

    which works perfectly but when I try the same command with php exec() it returns this :

    {array(16) { [0]=> string(66) "ffmpeg version 2.6.8 Copyright (c) 2000-2016
    the FFmpeg developers" [1]=> string(55) " built with gcc 4.8.5 (GCC)
    20150623 (Red Hat 4.8.5-4)" [2]=> string(1053) " configuration: --
    refix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --
    incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --
    arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
    fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-
    switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-
    gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 -
    -enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --
    disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame
    --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --
    enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
    --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --
    enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --
    enable-postproc --enable-pthreads --disable-static --enable-shared --enable-
    gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-
    runtime-cpudetect" [3]=> string(40) " libavutil 54. 20.100 / 54. 20.100"
    [4]=> string(40) " libavcodec 56. 26.100 / 56. 26.100" [5]=> string(40) "
    libavformat 56. 25.101 / 56. 25.101" [6]=> string(40) " libavdevice 56.
    4.100 / 56. 4.100" [7]=> string(40) " libavfilter 5. 11.102 / 5. 11.102"
    [8]=> string(40) " libavresample 2. 1. 0 / 2. 1. 0" [9]=> string(40) "
    libswscale 3. 1.101 / 3. 1.101" [10]=> string(40) " libswresample 1. 1.100 /
    1. 1.100" [11]=> string(40) " libpostproc 53. 3.100 / 53. 3.100" [12]=>
    string(30) "Input #0, gif, from 'gif.gif':" [13]=> string(29) " Duration:
    N/A, bitrate: N/A" [14]=> string(76) " Stream #0:0: Video: gif, bgra,
    563x307, 25 fps, 25 tbr, 100 tbn, 100 tbc" [15]=> string(24) "Unknown
    encoder 'libvpx'" } int(1)

    ffmpeg -v returns this

    ffmpeg version N-80161-g7e0623b Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --enable-libvpx
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 44.100 / 57. 44.100
     libavformat    57. 37.101 / 57. 37.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101

    What am I missing ?

  • x264 Building error - Android

    21 avril 2016, par Jay Parikh

    I am using this repository to build ffmpeg static library which includes x264,libpng and others, please
    visit this link https://github.com/writingminds/ffmpeg-android

    i am using windows 7 as host and ubuntu 15.10 (_64) as guest os using VMware Workstation 12
    and
    Android-ndk-r11b-linux-x86_64

    i do have Prebuilt libraries , but now i want it without PIE support

    i am getting this error in config.log in x264 folder while building
    through

    ./android_build.sh

    here is the log :

    x264 configure script
    Command line options: "--cross-prefix=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux
    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    checking whether /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot works... no

    Failed commandline was:

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot conftest.c  -Wall -I. -I$(SRCPATH) --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot -lm -o conftest

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: fatal error:

    conftest: Input/output error

    Failed program was:

    int main (void) {  return 0; }

    DIED: No working C compiler found.

    ushare is my shared folder between windows and ubuntu

    I have spend almost a week ,trying to solve every error i get.
    these errors are like never ending , 1 solution give 10 more errors
    i have researched a LOT for this library

    thanks a lot in advance.

    Also i thought that x264 library might have poroblem ,so i tried to disable it
    but next library "libpng" also had Same log Error

    i think problem is in Input/output error (obviously)
    this line in log kind of confuses me (those /../../)

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld : fatal error :

    its like two folder overlaping address...

    thanks a lot in advance.
    please don’t go harsh on me ,its my first time,all thanks to this thing...