[FFmpeg-user] triming an audio wavfile

pink panther pantherlong at gmail.com
Tue May 25 03:55:06 EEST 2021


I got the error shown to the bottom of the page. Strange, because the file
is in the ffmpeg directory

C:\ffmpeg>ffmpeg -i 'Mohg729.wav ' -ss 00:00:00.00 -t 00:01:00.00 -c:a copy
‘Mohg729a.wav '
ffmpeg version N-101626-gc5341d415c Copyright (c) 2000-2021 the FFmpeg
developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-zlib
--enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp
--enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf
--disable-vulkan --enable-libvorbis --enable-amf --enable-libaom
--enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec
--enable-cuda-llvm --disable-libglslang --enable-libgme --enable-libass
--enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2
--enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame
--enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libzimg
--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags=
--extra-ldflags=-pthread --extra-libs=-lgomp
  libavutil      56. 69.100 / 56. 69.100
  libavcodec     58.133.100 / 58.133.100
  libavformat    58. 75.100 / 58. 75.100
  libavdevice    58. 12.100 / 58. 12.100
  libavfilter     7.109.100 /  7.109.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
*'Mohg729.wav: No such file or directory*

On Mon, May 24, 2021 at 8:00 PM llee040 at sbcglobal.net <llee040 at sbcglobal.net>
wrote:

>
>
> > On May 24, 2021, at 4:22 PM, pink panther <pantherlong at gmail.com> wrote:
> >
> > I have tried all of the below. I just want to cut the audio(music on
> hold)
> > to 1 minute because it's too long
> >
> >
> >
> > ffmpeg -ss 0 -i Mohg729.wav -t 60 -acodec copy Mohg729a.wav
> >
> > ffmpeg -i mohg729.wav -ss 00:00:00 -to 00:00:60 -c copy -y temp.wav
> >
> > ffmpeg -ss 00:00 -i Mohg729.wav -t 00:60 -o Mohg729a.wav
> >
> > ffmpeg -i Mohg729.wav -ss 00:00:00.0 -codec copy -t 60 Mohg729a.wav
> >
> > ffmpeg -i Mohg729.wav -ss 00:1:00 -c copy Mohg729b.wav
> >
> > ffmpeg -i Mohg729.wav -ss 00:1:00 -c copy Mohg729b.wav
> >
> > ffmpeg -ss 0 -t 50 -i Mohg729.wav Mohg729a.wav
> >
>
> Hi pink panther,
>
> Will this do it?
>
> ffmpeg -i 'audio_too_long.wav' -ss 00:00:00.00 -t 00:01:00.00 -c:a copy
> ‘audio_just_right.wav'
>
> Laine Lee
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list