Hello Everyone,

I have tried to convert some videos to mp4 format what has surprised me was the size of the videos, After the conversion some videos were 2,3,4 times bigger then the original wmv files. Here is the command i used to convert : /usr/local/bin/ffmpeg -i video500.wmv -c:a libfdk_aac -c:v nvenc_h264 video500.mp4 ; After this command the mp4 file is 630MB and the wmv file is 150MB (you can find attached the ffprobe to bothe files). If you can suggest any way on how to keep the quality and make the mp4 files smaller please let me know .


ps: On some mp4 videos the bitrate has doubled have no idea why ?


BR

 ffprobe video500.mp4 
 *********************************
ffprobe version 3.3.3 Copyright (c) 2007-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --enable-gpl --enable-libass --enable-libfdk-aac 
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --bindir=/usr/bin
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video500.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.71.100
  Duration: 00:41:26.32, start: 0.000000, bitrate: 2122 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x360 
[SAR 1:1 DAR 4:3], 1987 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler


ffprobe video500.wmv 
*******************************
ffprobe version 3.3.3 Copyright (c) 2007-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --enable-gpl --enable-libass --enable-libfdk-aac 
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --bindir=/usr/bin
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, asf, from 'video500.wmv':
  Metadata:
    VBR Peak        : 1389000
    DeviceConformanceTemplate: MP@ML
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 4467
    WMFSDKVersion   : 9.00.00.3267
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 1
    Buffer Average  : 112323
  Duration: 00:41:20.17, start: 0.000000, bitrate: 504 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, 
fltp, 48 kb/s
    Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 480x360, 
443 kb/s, 29.97 tbr, 1k tbn, 1k tbc
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to