[FFmpeg-user] Problem with converting to AVI (XVID-AC3) for Home Theatre

Nithin C Babu nithincbabu7 at gmail.com
Sun Jun 28 14:14:39 EEST 2020


Thanks for the fast response.
Sorry for not producing the console output. I am a newbie in this forum.
The console output is given below.

ffmpeg -i "input1.mp4" -vf scale=720:-16 -c:v mpeg4 -vtag XVID -b:v 3000k
-c:a ac3 -b:a 448k "OUTPUT_FILE.avi"

ffmpeg version git-2020-06-23-ce297b4 Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9.3.1 (GCC) 20200621
  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-libsrt --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-libvmaf
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm
--disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm
--enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
--enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 93.100 / 58. 93.100
  libavformat    58. 47.100 / 58. 47.100
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2020-04-21T12:40:58.000000Z
  Duration: 00:00:07.01, start: 0.000000, bitrate: 21085 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
bt709), 1920x876 [SAR 1:1 DAR 160:73], 20460 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc (default)
    Metadata:
      creation_time   : 2019-12-21T01:24:12.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
fltp, 640 kb/s (default)
    Metadata:
      creation_time   : 2019-12-21T01:24:12.000000Z
      handler_name    : SoundHandler
    Side data:
      audio service type: main
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'OUTPUT_FILE.avi': 0kB time=-577014:32:22.77 bitrate=
 -0.0kbits/s speed=N/A
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    ISFT            : Lavf58.47.100
    Stream #0:0(und): Video: mpeg4 (XVID / 0x44495658),
yuv420p(progressive), 720x336 [SAR 224:219 DAR 160:73], q=2-31, 3000 kb/s,
25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2019-12-21T01:24:12.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.93.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/3000000 buffer size: 0 vbv_delay: N/A
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), fltp, 448 kb/s (default)
    Metadata:
      creation_time   : 2019-12-21T01:24:12.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.93.100 ac3
    Side data:
      audio service type: main
frame=  175 fps= 72 q=2.0 Lsize=    3000kB time=00:00:07.08
bitrate=3471.3kbits/s speed=2.92x
video:2598kB audio:383kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.642562%

The Home Theatre system is Sony DAV-DZ340K.

The Windows Media Player in my computer is able to play the file.


More information about the ffmpeg-user mailing list