Hi
I have a 9 minute family outing which is a whopping 1Gb in size
I was wondering if i could get the file size down without losing quailty (or too much quality) to a manageable size
(prefer h264 in Mp4 container if thats ok, and as close to original as possible)
some mediaInfo on file
Code:General Complete name : C:\Users\zack\Desktop\family vacation 2014.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 1.08 GiB Duration : 9mn 1s Overall bit rate : 17.2 Mbps Writing application : Lavf54.63.104 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=3, N=15 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 9mn 1s Bit rate : 17.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 50.000 fps Minimum frame rate : 16.667 fps Maximum frame rate : 50.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Top Field First Bits/(Pixel*Frame) : 0.164 Stream size : 1.07 GiB (99%) Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 9mn 1s Bit rate mode : Constant Bit rate : 128 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 8.26 MiB (1%) Language : unk
thanks
+ Reply to Thread
Results 1 to 7 of 7
-
-
For consistency/compatibility (especially if showing this to other family members), you're going to want to convert the VFR to CFR. Let me guess, did you take this with a phone?
Scott -
Given it's MP4, it quite possible MediaInfo is getting it wrong and it's not VFR.
There's a theory here that many MP4s created by Handbrake are inherently slightly variable, and MediaInfo reports VFR even when the output is set to CFR.
Similar problem here with a TS file.
That aside....
in this case I'd probably suggest Handbrake/Vidcoder too, I'd use the High profile preset, and under the filters tab I'd disable the Decomb filter (I think it's enabled by default) and I'd enable the de-interlacing filter instead while choosing "Bob" as the de-interlacing method. For the output frame rate I'd select "constant frame rate" and set it at 50fps.
Under the video tab (I think it's there) I'd enable resizing, select "anamorphic none" as the resizing method, and resize down to 720p (1280x720). If the source is truly interlaced the output should be 50fps progressive and probably not take a noticeable hit in respect picture detail, if you can see any difference at all, and at 720p the output file size will be much smaller for a given quality.
For the encoding mode I'd choose quality based encoding (or CRF or RF or whatever HandBrake calls it). Higher RF values = lower quality and smaller file sizes. -
Thank you for the help
I tryed the settings that was given to me in the previous post and it took about 90 mins to do, which gave me a file size of 416 MB
MediaInfo
Code:General Complete name : C:\Users\ZACK\Desktop\Family Vacation 2014-1.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 416 MiB Duration : 9mn 1s Overall bit rate mode : Variable Overall bit rate : 6 441 Kbps Writing application : HandBrake 0.10.0 2014112200 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 9mn 1s Bit rate : 6 048 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 50.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.131 Stream size : 391 MiB (94%) Writing library : x264 core 142 r2479 dd79a61 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=500 / keyint_min=50 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00 Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio #1 ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 9mn 1s Bit rate mode : Variable Bit rate : 161 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 10.4 MiB (2%) Title : Stereo Audio #2 ID : 3 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : ac-3 Duration : 9mn 1s Bit rate mode : Constant Bit rate : 224 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 14.5 MiB (3%) Title : Stereo
The only problem in there are 'artifacts' appearing in some places quite frequently
Could this be to Notebook being underpowered or something else
Any other suggestions or options i could try or is this best only option for me.
thanks
zack -
I'm not sure about the artefacts problem. I don't actually use Handbrake myself and the latest version won't run on XP, which I'm using.
Maybe if you can, split off a small sample of the video somewhere where the re-encoding will result in artefacts, someone can have a look. I don't work with MP4s much but you can open one with MKVMergeGUI, then under the Global tab enable splitting. I think if you enable "split after duration" and specify a time in hours, minutes and seconds (ie 00:05:52) and in the maximum number of files box, specify 2, that'll just split the MP4 once where you specify. The output files will be MKV. Then you can open one of the split segments if need be and split it the same way, which should let you split off a small sample for attaching to a post. There's possibly a way to split a file into multiple sections in one go, but the above method will get you there.
Those artefacts don't look typical to me in that they don't look like decoding errors or encoding artefacts, unless they've been resized a fair bit. A sample would be the easiest way to (hopefully) find out. -
sorry for the delay work work work
Now i encoded the clip (using hello's technique) again on the M90 notebook, split a small section off where the video was bad.
I have a different laptop for internet which is this one im using for this (Dell Latitude D830) like to keep things separate
.
.
.
I thought i would test the clips on the D830, To my surprise, they play perfectly on this laptop without any artifacts using WMP and VLC. I even tryed the full clip and again no problems on the D830
So the M90 can encode perfectly but has problems playing the clips (both in WMP and VLC) but the D830 can play (encoded M90) clips perfectly
Could the M90 have a Hardware or Software fault as its more powerful than the D830
.Last edited by zack28; 3rd Feb 2015 at 08:59.