VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Aug 2020
    Location
    India
    Search Comp PM
    Hello ,

    II use the following command to convert PAL AVI files into FFV1 FLAC files in MKV container.

    Code:
    ffmpeg -y -i "sample.avi" -af channelmap=0 -map 0:v -dn -threads 16 -c:v ffv1 -level 3 -coder 1 -context 1 -g 1 -slicecrc 1 -slices 4 -color_range 1 -pix_fmt yuv422p -colorspace bt470bg -color_primaries bt470bg -color_trc gamma28 -filter:v setfield=tff -r 25 -aspect 5:4 -map 0:a -c:a flac -ar 48000 -sample_fmt s16 -ac 2 -f matroska "sample.mkv"
    ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
    built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
    configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --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-libcodec2 --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 58. 29.100 / 58. 29.100
    libavcodec 60. 31.102 / 60. 31.102
    libavformat 60. 16.100 / 60. 16.100
    libavdevice 60. 3.100 / 60. 3.100
    libavfilter 9. 12.100 / 9. 12.100
    libswscale 7. 5.100 / 7. 5.100
    libswresample 4. 12.100 / 4. 12.100
    libpostproc 57. 3.100 / 57. 3.100
    [aist#0:1/pcm_s16le @ 000001ceea754e40] Guessed Channel Layout: stereo
    Input #0, avi, from 'J:\UmaticTwo\039c_Exploring-Savitri-Auroville_02.54.avi':
    Metadata:
    software : Lavf60.20.100
    Duration: 00:02:54.04, start: 0.000000, bitrate: 167398 kb/s
    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 25 tbn
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
    Stream #0:1 -> #0:1 (pcm_s16le (native) -> flac (native))
    Press [q] to stop, [?] for help
    Output #0, matroska, to 'J:\UmaticTwo\039c_Exploring-Savitri-Auroville_02.54.mkv':
    Metadata:
    software : Lavf60.20.100
    encoder : Lavf60.16.100
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p(tv, bt470bg, top coded first (swapped)), 720x576 [SAR 1:1 DAR 5:4], q=2-31, 200 kb/s, 25 fps, 1k tbn
    Metadata:
    encoder : Lavc60.31.102 ffv1
    Stream #0:1: Audio: flac ([172][241][0][0] / 0xF1AC), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
    encoder : Lavc60.31.102 flac
    [out#0/matroska @ 000001ceea333480] video:1363238kB audio:7180kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.015434%
    frame= 4351 fps=195 q=-0.0 Lsize= 1370630kB time=00:02:54.04 bitrate=64513.5kbits/s dup=1 drop=0 speed=7.81x
    However I am getting this text in red colour in the end of the conversion.
    [out#0/matroska @ 000001ceea333480]

    What should be corrected in my code?
    Quote Quote  
  2. Member
    Join Date
    Aug 2020
    Location
    India
    Search Comp PM
    image

    Image
    [Attachment 76579 - Click to enlarge]
    Image Attached Thumbnails Click image for larger version

Name:	ffmpeg matroska.JPG
Views:	17
Size:	216.4 KB
ID:	76578  

    Quote Quote  
  3. This isn't an error message.
    All fine.
    Quote Quote  
  4. Member
    Join Date
    Dec 2019
    Location
    Canada
    Search PM
    I noticed the same thing. Can you tell me why it is in red? Is it a warning, and what about?

    Thanks!
    Quote Quote  
  5. Originally Posted by beany View Post
    I noticed the same thing. Can you tell me why it is in red? Is it a warning, and what about?

    Thanks!
    The message is in magenta, i.e. a hint, the errors are displayed in red.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!