Target size wont work

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

trocheos
Beginner
Beginner
Posts: 1
Joined: Sun Mar 03, 2013 10:18 pm

Target size wont work

Post by trocheos » Sun Mar 03, 2013 10:27 pm

Hi guys im running mediacoder (built 5360) and if im setting my videosettings on "Auto Bitrate", "Outputsize",and "2-Pass", mediacoder allways puts out a file which wont be bigger than 3mb even if i set it on a target size of 140mb or more. Source file is a h.264 stream in a mkv container. Im using x264 and mencoder as source. Please can anyone help me i tried it on my one since several weeks but no sucess. would be nice if someone knows the solution for my problem.
(sorry for my english im german)

fredbe9300
Amateur
Amateur
Posts: 68
Joined: Fri Dec 21, 2012 6:56 am

Re: Target size wont work

Post by fredbe9300 » Tue Mar 05, 2013 6:34 am

It's been a while since I've used target size, as I strongly prefer quality target (--crf n)

You could try with a target bitrate (work out yourself, from the length of the clip, what the bitrate should be).
Otherwise, post a screengrab of the screen where you set this stuff, or post a profile.xml based on your settings, so we can see if it looks good.
Or copy the output from the console window (press F6 to toggle it)

just some ideas.

I just recoded a 2 minute, 10MB, clip, with target size 7MB. It came out at 8MB, which is fine.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Target size wont work

Post by meRobs » Fri May 03, 2013 3:39 pm

You haven't mentioned the duration of the file nor the bitrate achieved in the output.
Most video encoders have a limit as to the maximum bitrate they can achieve and this will depend on the chosen profile/level, etc.
See the Guide on x264 encoding at viewtopic.php?f=17&t=11026
Maybe, in your case, the max achievable bitrate multiplied by the duration is only 3 MB?
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Target size wont work

Post by stanley » Mon May 06, 2013 1:37 pm

If duration is correctly identified, target size setting will not work.
When things work together, things work.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Target size wont work

Post by meRobs » Tue May 07, 2013 4:04 pm

stanley wrote:If duration is correctly identified, target size setting will not work.
Please explain.
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Target size wont work

Post by stanley » Fri May 10, 2013 1:50 pm

When setting target size, the bitrate is calculated from the size and duration.
When things work together, things work.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Target size wont work

Post by meRobs » Fri May 10, 2013 3:09 pm

stanley wrote:If duration is correctly identified, target size setting will not work.
So what you meant to say was that if the Duration is known and the Target Size is set, the bitrate cannot also be set (because it is already defined by the size and duration).
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Target size wont work

Post by stanley » Sun May 12, 2013 3:55 pm

This should not happen, as long as if the video bitrate mode is ABR or CBR.
When things work together, things work.

james
Amateur
Amateur
Posts: 90
Joined: Thu Nov 01, 2007 2:40 pm

Re: Target size wont work

Post by james » Sat Jul 06, 2013 10:58 am

I'm finding this exact same problem. File size just doesn't work. For instance I started with 1GB of files, tried to convert them to 800 megs, and instead got a 2.7 GB file.

Surely it's pretty easy to figure out what the bitrate should be set to based on the length of the file and the required filesize (preferably minus the size of the sound data)?

Lots of other programs do this, and there are even simple calculators for this, so I don't understand how such a full featured and impressively fast program such as Mediacoder can't get this simple thing working correctly. If a user want to sacrifice quality to hit a particular filesize, Mediacoder should respect that, and not over-ride the settings.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Target size wont work

Post by stanley » Fri Aug 09, 2013 9:02 am

To clarify, this feature IS working.
When things work together, things work.

Post Reply