Don't you need to pass in some quality parameters for the codec? Also, I'd use avconv rather than mencoder myself.
Try something like: avconv -i input.mkv -filter scale=960:540 -codec:a ac3 -b:a 192k -codec:v libx264 -profile:v high -crf 22 output.mkv But play with the -crf parameter to change quality level. You can also specific min and max bitrates. T On 24 February 2014 13:09, Carl Turney <[email protected]> wrote: > Hi All, > > I've got a 3.9 GB video file that I want to reduce significantly in size. > > I noticed the Nautilus >> Properties >> Audio/Video Properties on this > file said the resolution was 1920 by 1080. > > So I searched the web and found the suggestion to use mencoder -- which > was already installed in my system. > > Set the resolution to 960 x 540 and expected an output file of a bit > more than 1/4 of the original file size. > > Quite surprised to see that the output increased in size to 4.8 GB! > > Any hints on how I can resize the resulting file down to about a quarter > of the original? > > I've got AVIDemux, GStreamer plugins and codecs, movieplayer, smplayer, > pitivi, transmageddon, VLC media player, and apparently mencoder. > > Thanks a lot, > > Carl > Bayswater > > Here's the command I gave: > >> mencoder TWYDS1.mkv -vf scale=960:540 -oac pcm -ovc copy -o TWYDS2.mkv > > Here's the resulting output: >> MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team >> >> WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. >> success: format: 0 data: 0x0 - 0xf6de8583 >> [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0 >> [mkv] Track ID 2: audio (A_AAC), -aid 0, -alang eng >> [mkv] Will play video track 1. >> Matroska file format detected. >> VIDEO: [avc1] 1920x1080 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) >> [V] filefmt:31 fourcc:0x31637661 size:1920x1080 fps:25.000 ftime:=0.0400 >> ========================================================================== >> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) >> FAAD: compressed input bitrate missing, assuming 128kbit/s! >> AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) >> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) >> ========================================================================== >> videocodec: framecopy (1920x1080 24bpp fourcc=31637661) >> Writing header... >> ODML: Aspect information not (yet?) available or unspecified, not writing >> vprp header. >> Writing header... >> ODML: Aspect information not (yet?) available or unspecified, not writing >> vprp header. >> Pos: 1.4s 35f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.080 [152:1536] >> Skipping frame! >> ODML: Starting new RIFF chunk at 1023MB.: 3min 4834mb A-V:0.042 >> [6154:1536]] >> ODML: Starting new RIFF chunk at 2047MB.: 2min 4881mb A-V:0.043 >> [5848:1536] >> Pos:3390.6s 84765f (61%) 462.47fps Trem: 1min 4871mb A-V:0.080 >> [5901:1536] >> Skipping frame! >> ODML: Starting new RIFF chunk at 3071MB.: 1min 4870mb A-V:0.043 >> [5913:1536] >> ODML: Starting new RIFF chunk at 4095MB.: 0min 4899mb A-V:0.028 >> [5732:1536] >> Writing index...97f (99%) 474.61fps Trem: 0min 4925mb A-V:0.024 >> [5575:1536] >> Writing header... >> ODML: Aspect information not (yet?) available or unspecified, not writing >> vprp header. >> >> Video stream: 5575.664 kbit/s (696957 B/s) size: 4047792233 bytes >> 5807.800 secs 145197 frames >> >> Audio stream: 1536.000 kbit/s (192000 B/s) size: 1114841088 bytes >> 5806.464 secs > _______________________________________________ > luv-main mailing list > [email protected] > http://lists.luv.asn.au/listinfo/luv-main -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
