ffmpeg video encoding for the CFD-105 car video entertainment system

From thelinuxwiki
Revision as of 23:17, 29 October 2016 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

command line

This was successful and tested with great quality results.

$ ffmpeg -i inputfile.mp4 -qscale:v 1 -c:v mpeg4 -vtag xvid -vf scale=640x360 output.avi

source file info

$ ffprobe -i ./inputfile.mp4
ffprobe version 2.8.8 Copyright (c) 2007-2016 the FFmpeg developers
...output trimmed...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './inputfile.mp4':
 Metadata:
   major_brand     : mp42
   minor_version   : 0
   compatible_brands: isommp42
   creation_time   : 2016-08-12 08:18:22
 Duration: 00:01:42.45, start: 0.000000, bitrate: 916 kb/s
   Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 787 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
   Metadata:
     creation_time   : 2016-08-12 08:18:22
     handler_name    : ISO Media file produced by Google Inc.
   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
   Metadata:
     creation_time   : 2016-08-12 08:18:22
     handler_name    : ISO Media file produced by Google Inc.