VideoHelp Forum

+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Sep 2021
    Location
    Heaven
    Search PM
    Hello everyone, i'm newbie here, and i'm requesting for some help

    I have some FLAC files, which has the total duration is 41:59 and when i was trying to concatenate these files with ffmpeg:

    file 1.flac
    file 2.flac
    file 3.flac
    file 4.flac
    file 5.flac
    file 6.flac
    file 7.flac
    file 8.flac
    file 9.flac
    file 10.flac
    And this is my command in CMD:

    Code:
    ffmpeg -f concat -i D:\exported\list.txt -c copy out.flac
    ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
    * built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
    * configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
    * libavutil* * * 56. 70.100 / 56. 70.100
    * libavcodec* ** 58.134.100 / 58.134.100
    * libavformat* * 58. 76.100 / 58. 76.100
    * libavdevice* * 58. 13.100 / 58. 13.100
    * libavfilter* ** 7.110.100 /* 7.110.100
    * libswscale* * * 5.* 9.100 /* 5.* 9.100
    * libswresample** 3.* 9.100 /* 3.* 9.100
    * libpostproc* * 55.* 9.100 / 55.* 9.100
    Input #0, concat, from 'D:\exported\list.txt':
    * Duration: N/A, start: 0.000000, bitrate: N/A
    * Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Output #0, flac, to 'out.flac':
    * Metadata:
    * * encoder* * * ** : Lavf58.76.100
    * Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream mapping:
    * Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=* 290444kB time=00:41:51.99 bitrate= 947.2kbits/s speed= 544x
    video:0kB audio:290436kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002787%
    As you can see, the output file just has the duration 00:41:51.99, but the actual file only has duration 5:11, which is the same duration of 1st file in the list.txt
    I don't know how this can happen, but if you know it, please tell me and it might help a lot!
    Image Attached Files
    Quote Quote  
  2. This is the concat demuxer syntax in list.txt:
    file '/path/to/file1.wav'
    file '/path/to/file2.wav'
    file '/path/to/file3.wav'
    You forgot the path.
    Quote Quote  



Similar Threads