[FFmpeg-user] [EXTERNAL] Re: attempting to extract srt from mpg

Shupert, Jim jim.shupert at hearst.com
Fri Oct 22 14:16:44 EEST 2021


command-line copying 
> seems
to
> have omitted stuff.

If I understand correctly, your command line uses the Libavfilter input virtual device and a multimedia source.

If the success of that command line depends on either, please clarify how in concept? I am unfamiliar with both and struggling to understand their contribution.


If it helps .....
Here is a complete and uncut


ffmpeg -f lavfi -i 'movie=mtp_1.mpg[out0+subcc]'  -map s mtp_mpg_j.srt
ffmpeg version N-99707-g2b702015d8 Copyright (c) 2000-2020 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 --enable-shared --disable-static --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --enable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --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. 60.100 / 56. 60.100
  libavcodec     58.111.101 / 58.111.101
  libavformat    58. 62.100 / 58. 62.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 88.100 /  7. 88.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[lavfi @ 00000214a34fddc0] No such filter: 'movie=mtp_1.mpg[out0+subcc]'
'movie=mtp_1.mpg[out0+subcc]': Invalid argument

Thanks much

I also am struggling to understand
Best wishes


More information about the ffmpeg-user mailing list