Resource icon

All Versions [Guide] Batch convert FLV to MP4 losslessly with FFMPEG


New Member
sepultribe submitted a new resource:

[Guide] Batch convert FLV to MP4 losslessly with FFMPEG - make FLVs into MP4 without losing quality from the commandline

Hi my friends,

U need to create a batch file, just like the other guide. There are 2 versions of the script, one which u hardcode the paths inside it and the other one that asks for user input. Both of them search all the files in the directory and convert each file one after the other as long as no errors are thrown from FFMPEG.

Download the ffmpeg executable (the statically linked one so it has what it needs in 1 file) and paste it inside your system32 folder so it can execute from...

Read more about this resource...


New Member
Hello, I got a new PC and suddenly the script tells me:

Flv to Mp4 batch script using ffmpeg v1.0

Enter the source directory ->
Ok, SOURCE set as
And now the target directory ->
TARGET set as

Press any key to start the batch process
The filename, directory name, or volume label syntax is incorrect.
ffmpeg version N-93044-g2e2b44baba Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20181201
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 46.100 / 58. 46.100
libavformat 58. 26.100 / 58. 26.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
\2019-02-06_13-15-27.flv: No such file or directory

Done, press any key to exit...

what happened? Perhaps I will try a different location, its currently in "Videos". The Path in the Windows Explorer is: D:\Video\Captures


New Member
When using this for .mkv I get this message at the end of conversion:
[matroska,webm @ 000002861dba8ac0] Element at 0x4e474c7 ending at 0x4e4756e exceeds containing master element ending at 0x4e474bb

Anything to worry about?