Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (50)

Sur d’autres sites (8992)

  • Revision 9d3fb75530 : rtcd : relocate 'extern "C" {' declaration Place after pulling in forward declar

    19 septembre 2014, par James Zern

    Changed Paths :
     Modify /build/make/rtcd.pl



    rtcd : relocate ’extern "C" ’ declaration

    Place after pulling in forward declarations from the codec. This fixes
    compilation of the tests under vs9.

    Since
    10783d4 Adds high bitdepth transform functions and tests
    where vp9_idct.h was added to vp9_rtcd.h the tests are pulling in
    vp9_systemdependent.h, which under visual studio include intrin.h. With
    VS9 these include headers which define helper classes for intel
    intrinsics. When including it in the tests (via vp9_rtcd.h) __cplusplus
    is defined but vp9_rtcd.h would wrap declarations in ’extern "C"
    causing a mismatch in linkage which resulted in compilation failure.

    Change-Id : I475e50198b71320e8606bc95c9454876d8799ede

  • X264 : How to compile x264 with swscale support ?

    23 avril 2014, par user1884325

    Objective

    I am trying to build :

    • an x264 static library (.lib) with swscale support. I would like to use this library in a Visual Studio project where 24-bit RGB bitmap images are :

      1. Converted from RGB to YUV2
      2. The converted image is sent to the x264 encoder
      3. and the output of the encoder is streamed to a remote IP-endpoint via UDP.
    • an x264 executable (.exe) with swscale support. I would like to use the executable for the same purpose as described above. In another Visual Studio project, I will start the x264.exe up as a separate process and pipe bitmap data to the x264 process via its stdin and read out the encoded data from the process’s stdout.

    Problem

    I am having some trouble figuring out how to compile with swscale support. I need swscale support for both the executable and the library.

    Status

    So far I have downloaded the latest x264 source from the x264 website.

    I have installed MINGW on my machine and when I run ’configure’ and ’make’ I get the x264 static library - but without swscale support.

    I haven’t been able to find a detailed step-by-step guide on how to include swscale in the x264 library. The closest I’ve come to a description is this discussion :

    http://forum.doom9.org/showthread.php?t=165350

    So I downloaded libpack from :

    http://komisar.gin.by/mingw/index.html

    and extracted it to my harddrive :

    Then I executed ’make’ and ’configure’ (again) in my x264 directory :

    ./configure --extra-cflags="-I/m/somePath/libpack/libpack/libpack/include" --extra-ldflags="-L/m/somePath/libpack/libpack/libpack/lib"

    I have the following in the lib and include directory :

    lib directory

    incl directory

    When I execute the above ’configure’ I get :

    platform:      X86
    system:        WINDOWS
    cli:           yes
    libx264:       internal
    shared:        no
    static:        no
    asm:           yes
    interlaced:    yes
    avs:           avisynth
    lavf:          no
    ffms:          no
    mp4:           lsmash
    gpl:           yes
    thread:        win32
    opencl:        yes
    filters:       crop select_every
    debug:         no
    gprof:         no
    strip:         no
    PIC:           no
    bit depth:     8
    chroma format: all

    You can run 'make' or 'make fprofiled' now.
    bash.exe"-3.1$

    When I execute ’make’ I end up with this error :

    gcc.exe: error: unrecognized command line option '-fomit-frame-poin'
    gcc.exe: fatal error: no input files
    compilation terminated.
    make: *** [.depend] Error 1
    bash.exe"-3.1$

    Question
    What am I doing wrong ??

  • How to convert audio files from mp4 to mp3 using applescript ?

    15 décembre 2017, par MBUST

    Can someone please help me understand how to convert audio files from mp4 to mp3 using AppleScript ?

    I have tried scripting VLC or Sound Studio but the commands don’t seem to come close to doing that. I downloaded and installed ffmpeg but I don’t know the syntax to use.

    I tried something like this with ffmpeg :

    tell application "Finder"
    set CurrentPath to container of (path to me) as alias
    set OriginalFile to CurrentPath & "ASProcessing:SoundToProcess.mp4" as string
    set NewFile to CurrentPath & "ASProcessing:NewFile.mp3" as string

    end tell


    set outputFile to POSIX path of OriginalFile
    set inputFile to POSIX path of NewFile
    do shell script ffmpeg something, something

    But clearly I’m missing most of the script syntax. Eventually, I would do a repeat loop to go through a set of files.

    Sorry that I can’t be more specific. I’m pretty lost with this. What I do know is that I do not want to use Automator. I need something like AppleScript.

    Thanks.

    mbust