NoPaste

ffmpeg 4:3 ---> 16:9

von willy4711

Dein Code:
  1. $ ffmpeg -y -i "/home/willy/4x3 Sample-gQaXbSPQoDQ.mkv" -vcodec mpeg2video -acodec copy -b:a 32k -aspect 16:9 -vf "scale=648:364" "/home/willy/Videos/Test Konvertierung/~4x3 Sample-gQaXbSPQoDQ.mkv"
  2. ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers
  3.   built with gcc 8 (Debian 8.2.0-19)
  4.   configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-libopencv --disable-podpages --disable-sndio --disable-stripping --enable-libaom --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  5.   libavutil      56. 22.100 / 56. 22.100
  6.   libavcodec     58. 35.100 / 58. 35.100
  7.   libavformat    58. 20.100 / 58. 20.100
  8.   libavdevice    58.  5.100 / 58.  5.100
  9.   libavfilter     7. 40.101 /  7. 40.101
  10.   libavresample   4.  0.  0 /  4.  0.  0
  11.   libswscale      5.  3.100 /  5.  3.100
  12.   libswresample   3.  3.100 /  3.  3.100
  13.   libpostproc    55.  3.100 / 55.  3.100
  14. Input #0, matroska,webm, from '/home/willy/4x3 Sample-gQaXbSPQoDQ.mkv':
  15.  Metadata:
  16.     COMPATIBLE_BRANDS: iso6avc1mp41
  17.     MAJOR_BRAND     : dash
  18.     MINOR_VERSION   : 0
  19.     ENCODER         : Lavf58.20.100
  20.   Duration: 00:00:30.06, start: -0.007000, bitrate: 689 kb/s
  21.     Stream #0:0: Video: h264 (Main), yuv420p(progressive), 648x480 [SAR 800:801 DAR 120:89], SAR 1:1 DAR 27:20, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
  22.    Metadata:
  23.       HANDLER_NAME    : VideoHandler
  24.       DURATION        : 00:00:30.063000000
  25.     Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
  26.    Metadata:
  27.       DURATION        : 00:00:30.061000000
  28. Stream mapping:
  29.   Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
  30.  Stream #0:1 -> #0:1 (copy)
  31. Press [q] to stop, [?] for help
  32. Output #0, matroska, to '/home/willy/Videos/Test Konvertierung/~4x3 Sample-gQaXbSPQoDQ.mkv':
  33.  Metadata:
  34.     COMPATIBLE_BRANDS: iso6avc1mp41
  35.     MAJOR_BRAND     : dash
  36.     MINOR_VERSION   : 0
  37.     encoder         : Lavf58.20.100
  38.     Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p, 648x364 [SAR 728:729 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default)
  39.    Metadata:
  40.       HANDLER_NAME    : VideoHandler
  41.       DURATION        : 00:00:30.063000000
  42.       encoder         : Lavc58.35.100 mpeg2video
  43.     Side data:
  44.       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
  45.     Stream #0:1(eng): Audio: opus ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, stereo, fltp, 32 kb/s (default)
  46.    Metadata:
  47.       DURATION        : 00:00:30.061000000
  48. frame=  901 fps=506 q=24.8 Lsize=    1969kB time=00:00:30.04 bitrate= 537.0kbits/s speed=16.9x    
  49. video:1347kB audio:601kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.054612%

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.