Recherche avancée

Médias (91)

Autres articles (67)

Sur d’autres sites (5482)

  • "Droplet" batch script - filenames containing ampersands

    16 août 2014, par stephenwade

    I’m trying to create a batch file that can have other files dropped onto it. Specifically, I’m using ffmpeg to edit audio files produced by a handheld voice recorder. The problem is when using filenames with ampersands (&). Even when quoting the input, anything after the & is dropped off, but only when files are dropped onto it ; if the filename input is typed on the command line, the script works fine. Before the cmd window closes, I briefly see the rest of the filename with an error saying it is not recognized as a valid command.

    Here’s my script :

    rem Change to drive and directory of input file
    % d1
    cd % p1
    

    rem ffmpeg : mix to one channel, double the volume
    %HOMEDRIVE%%HOMEPATH%\ffmpeg.exe -i "% nx1" -ac 1 -vol 1024 "% n1 fixed% x1"

    pause

    Here’s what appears on the command line, after dropping "ch17&18.mp3" :

    C :\Users\computergeeksjw\Desktop>C :\Users\computergeeksjw\ffmpeg.exe -i "ch17" -ac 1 -vol 1024 "ch17 fixed"
    [...]
    ch17 : No such file or directory
    

    In case it matters : I’m using the Windows 8 Developer Preview. Is this causing my problem ? Does the same error occur on Windows 7 or earlier ?

  • Convert SWF file to FLV with FFMPEG & getting error "could not find codec parameters"

    30 mars 2013, par Ritesh

    Hi I am trying to convert SWF file to FLV, but i am getting same eror

    C:\Users\Administrator>C:/ffmpeg/ffmpeg.exe -i C:/xampplite/htdocs/ffmpeg/1.swf \
    C:/xampplite/htdocs/ffmpeg/file1.flv

    FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads
    --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora
    --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264
    --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl
     libavutil 49.12. 0 / 49.12. 0
     libavcodec 52.10. 0 / 52.10. 0
     libavformat 52.23. 1 / 52.23. 1
     libavdevice 52. 1. 0 / 52. 1. 0
     libswscale 0. 6. 1 / 0. 6. 1
    built on Jan 13 2009 02:57:09, gcc: 4.2.4
    C:/xampplite/htdocs/ffmpeg/1.swf: could not find codec parameters

    Please solve this problem, what i am doing wrong ??

  • ffmpeg for a android (using tutorial : "ffmpeg and Android.mk")

    7 avril 2016, par Matthias

    I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully compile ffmpeg using theses tutorial ?
    I am not sure how to realize step 4 to 5.

    STEP4 : Configuring ...

    STEP5 : cd to your NDK root dir, type make TARGET_ARCH=arm APP=ffmpeg-org

    It seems to me that building an application like it is explained in the tutorial in step 5 need some previous steps. Unfortunately I have no app in the folder to make. I am using the current android ndk release 3 and checked out the actual ffmpeg releases from [3] and [4]. I am thankful for every advice.

    [1] http://slworkthings.wordpress.com/
    [2] http://gitorious.org/ olvaffe/ffmpeg/ffmpeg-android
    [3] http://ffmpeg.org/download.html