Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (81)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (10674)

  • Need explanation of details of ffmpeg and pipes command

    16 octobre 2013, par Donald A Nummer Jr

    Got the following from FFmpeg FAQ :

    mkfifo intermediate1.mpg
    mkfifo intermediate2.mpg
    ffmpeg -i input1.avi -sameq -y intermediate1.mpg < /dev/null &
    ffmpeg -i input2.avi -sameq -y intermediate2.mpg < /dev/null &
    cat intermediate1.mpg intermediate2.mpg |\
    ffmpeg -f mpeg -i - -sameq -vcodec mpeg4 -acodec libmp3lame output.avi

    Before i use or modify it I would like to understand it completely.

    What does the < /dev/null & do ?

    I understand | is pipe but why |\ ?

    What is the -f mpeg after ffmpeg (Seems, it tells ffmpeg to accept the piped in output from the cat(?) )

  • ffmpeg install fail OSX 10.7.2

    3 mars 2012, par egermano

    Can you help me ?

    I try to install a ffmpeg using a brew, but i can't.

    It seems like the dependencies was successfully installed.

    I am using a Mac OSX 10.7.2 and the XCode 4.2.1.

    I couldn't install ffmpeg.

    I've tried :

    brew install ffmpeg
    brew install --use-clang ffmpeg
    brew install --use-clang --HEAD ffmpeg

    And they've all failed.

    This is the result log.

    $ brew install --use-clang ffmpeg
    ==> Downloading http://ffmpeg.org/releases/ffmpeg-0.9.1.tar.bz2
    File already downloaded in /Users/brunogermano/Library/Caches/Homebrew
    ==> ./configure --prefix=/usr/local/Cellar/ffmpeg/0.9.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bi
    ERROR: libmp3lame >= 3.98.3 not found

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    ==> Exit Status: 1
    http://github.com/mxcl/homebrew/blob/master/Library/Formula/ffmpeg.rb#L61
    ==> Environment
    HOMEBREW_VERSION: 0.8.1
    HEAD: 44213dfb4861c1307fdc4ae41e139404f0e1ffb1
    HOMEBREW_PREFIX: /usr/local
    HOMEBREW_CELLAR: /usr/local/Cellar
    Hardware: dual-core 64-bit penryn
    OS X: 10.7.2
    Kernel Architecture: x86_64
    Ruby: 1.8.7-249
    /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    Xcode: 4.2.1
    GCC-4.0: N/A
    GCC-4.2: N/A
    LLVM: build 2336
    Clang: 3.0 build 211
    MacPorts or Fink? false
    X11 installed? true
    ==> Build Flags
    "--use-clang" was specified
    CC: /usr/bin/clang
    CXX: /usr/bin/clang++ => /usr/bin/clang
    LD: /usr/bin/clang
    CFLAGS: -O3 -w -pipe -march=native
    CXXFLAGS: -O3 -w -pipe -march=native
    CPPFLAGS: -I/usr/X11/include
    LDFLAGS: -L/usr/X11/lib
    MAKEFLAGS: -j2

    Error: Failed executing: ./configure --prefix=/usr/local/Cellar/ffmpeg/0.9.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --disable-ffplay
    These existing issues may help you:
       https://github.com/mxcl/homebrew/issues/8456
       https://github.com/mxcl/homebrew/issues/8815
       https://github.com/mxcl/homebrew/issues/9399
    Otherwise, please report the bug:
       https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
    We saved the configure log, please gist it if you report the issue:
       ~/Library/Logs/Homebrew/config.log

    This is the brew doctor log :

    $ brew doctor
    Unbrewed dylibs were found in /usr/local/lib.

    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected dylibs:
       /usr/local/lib/libavcodec.52.108.0.dylib
       /usr/local/lib/libavcore.0.16.1.dylib
       /usr/local/lib/libavdevice.52.2.3.dylib
       /usr/local/lib/libavfilter.1.74.0.dylib
       /usr/local/lib/libavformat.52.93.0.dylib
       /usr/local/lib/libavutil.50.36.0.dylib
       /usr/local/lib/libfaad.2.0.0.dylib
       /usr/local/lib/libguide.dylib
       /usr/local/lib/libmp3lame.0.0.0.dylib
       /usr/local/lib/libswscale.0.12.0.dylib

    Unbrewed static libraries were found in /usr/local/lib.

    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected static libraries:
       /usr/local/lib/libavcodec.a
       /usr/local/lib/libavcore.a
       /usr/local/lib/libavdevice.a
       /usr/local/lib/libavfilter.a
       /usr/local/lib/libavformat.a
       /usr/local/lib/libavutil.a
       /usr/local/lib/libfaad.a
       /usr/local/lib/libmp4ff.a
       /usr/local/lib/libswscale.a

    Unbrewed .pc files were found in /usr/local/lib/pkgconfig.

    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected .pc files:
       /usr/local/lib/pkgconfig/libavcodec.pc
       /usr/local/lib/pkgconfig/libavcore.pc
       /usr/local/lib/pkgconfig/libavdevice.pc
       /usr/local/lib/pkgconfig/libavfilter.pc
       /usr/local/lib/pkgconfig/libavformat.pc
       /usr/local/lib/pkgconfig/libavutil.pc
       /usr/local/lib/pkgconfig/libswscale.pc

    Unbrewed .la files were found in /usr/local/lib.

    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected .la files:
       /usr/local/lib/libfaad.la
       /usr/local/lib/libmp3lame.la

    We couldn't detect gcc 4.2.x. Some formulae require this compiler.
    NOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.

    ==> /usr/bin occurs before /usr/local/bin
    This means that system-provided programs will be used instead of those
    provided by Homebrew. This is an issue if you eg. brew installed Python.

    Consider editing your .bashrc to put:
     /usr/local/bin
    ahead of /usr/bin in your PATH.
    Some brews install binaries to sbin instead of bin, but Homebrew's
    sbin was not found in your path.

    Consider editing your .bashrc to add:
     /usr/local/sbin
    to the PATH variable.

    Some "config" scripts were found in your path, but not in system or Homebrew folders.

    `./configure` scripts often look for *-config scripts to determine if software packages
    are installed, and what additional flags to use when compiling and linking.

    Having additional scripts in your path can confuse software installed via Homebrew if
    the config script overrides a system or Homebrew provided script of the same name.

    /Library/Frameworks/Python.framework/Versions/Current/bin
       python-config python2.5-config

    Anyone can help me ?

  • FFmpeg-kit : Unknown encoder 'libx264' / 'mediacodec' and Gradle dependency issues in Android Studio

    15 mai, par Izzet dönertaş

    I'm working on a video editor app in Android Studio using ffmpeg-kit. My goal is to export video segments with fade transitions and audio using FFmpeg.

    


    This implementation line works fine :

    


    implementation("com.arthenica:ffmpeg-kit-full:6.0-2")


    


    What doesn't work (Encoding) :
When I try to export a video segment using :

    


    -c:v libx264 -c:a aac


    


    I get this error in the logs :

    


    [vost#0:0 @ ...] Unknown encoder 'libx264'


    


    After checking the build configuration, it turns out libx264 is not enabled in the current FFmpeg-kit build :

    


    --disable-libx264 (or rather: --enable-libx264 is missing)


    


    Tried replacing libx264 with mediacodec :
Then I tried using :

    


    -c:v mediacodec -c:a aac


    


    But again I got :

    


    Unknown encoder 'mediacodec'


    


    Apparently, mediacodec is supported for decoding, but not as an encoder in FFmpeg-kit.

    


    Tried to compile my own FFmpeg binary :
I attempted building FFmpeg manually using the following flags :

    


    --enable-libx264 --enable-gpl --enable-shared ...


    


    My plan was to access it via JNI or ProcessBuilder.

    


    But the process is extremely frustrating :

    


      

    • Missing file errors
    • 


    • Configuration conflicts
    • 


    • Dependency hell (especially on macOS/Linux NDK toolchains)
    • 


    


    Tried other ffmpeg-kit variants :
I also tried switching to :

    


    implementation 'com.arthenica:ffmpeg-kit-full-gpl:6.0'


    


    and other variants like ffmpeg-kit-min-gpl, etc.
But in all of them I got the same Gradle error :

    


    Caused by: org.gradle.api.internal.artifacts.ivyservice.TypedResolveException:  Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

    


    My build.gradle setup (yes, mavenCentral + google are already included) :

    


    pluginManagement {
    repositories {
        google()
        mavenCentral()
    }
}

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}



    


    I also tried enabling offline mode, clearing cache, adding jetpack.io, nothing helped.

    


    I asked ChatGPT-4o, Gemini 2.5 Pro. None could provide a working solution for this combination of :

    


      

    • Working implementation
    • 


    • Proper video encoding (with libx264 or mediacodec)
    • 


    • Without breaking Gradle dependency resolution
    • 


    


    I just want one of the following :

    


      

    1. A working FFmpeg-kit implementation (that supports libx264) and doesn’t crash Gradle

      


    2. 


    3. A reliable guide or build.gradle snippet that lets me use GPL version (with libx264) without resolve errors

      


    4. 


    5. (Ideally) A prebuilt safe LGPL-compatible alternative that allows encoding and is Google Play compliant

      


    6. 


    


    Any help or suggestions would be highly appreciated.
Thanks in advance