Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
Changing Mpeg - 4 Custom Profiles
[Post New]
Hi,

I've got PD 9, version 9.0.0.2930. Windows 7.

I've been experimenting with the Mpeg - 4 profiles in the Produce section. There are various resolution selections that you can chose from when creating a custom profile; 1280 by 720, 640 by 480, etc.

But I'd like to be able to create a custom profile in 640 by 360 resolution. But that one isn't available in the drop down menu.

Is there a way I can open up the file, like with the Windows Media Profile Editor for the WMV profiles, and edit these Mpeg - 4 profiles?

Unfortunately, the lowest resolution selections for 16 by 9 aspect ratios is only 1280 by 720. This means I can only lower my bitrate to 6,000 kbps. Too high to have my Amazon S3 hosted videos stream properly.

What I'd like is a profile with a resolution of 640 by 360 and a bit rate of around 850 kbps.

Thanks,

- Andy
Dafydd B [Avatar]
Senior Contributor Joined: Aug 26, 2006 08:20 Messages: 11973 Offline
[Post New]
Andy,

Knowledge source: http://forum.cyberlink.com/forum/bookmarks/list/4556.page

Mp4 Tweaking: http://forum.cyberlink.com/forum/posts/list/17939.page



1Nina
Senior Contributor Location: Norway, 50km southwest of Oslo Joined: Oct 08, 2008 04:12 Messages: 1070 Offline
[Post New]
Andy,

if I'm not completely out of it:
when you are in "produce":









OR, follow Dafydd's tweaking-recipe,
not so scary as it may seem.

Nina

This message was edited 1 time. Last update was at Jul 28. 2011 17:55


Just something.
https://www.petitpoisvideo.com
[Post New]
Thanks Nina and Dafydd,

I went into the Profiles.ini file and was able to dramatically reduce my video file sizes. What was quite interesting was how I was able to go from a file size of 41 MB (6,000 kbps) to 7.67 MB (1,000 kbps) and the quality of the playback was pretty much the same.

With this "getting it" about bitrates, another question came up. Here it is.

If the resolution setting in the profile is staying the same, in this case it's 1280 by 720, but the total file size is being reduced by reducing the bitrate, where is the reduction coming from?

In other words, if the number of pixels is staying the same, where is the reduction in data coming from?

Thanks for all the help,

- Andy
Dafydd B [Avatar]
Senior Contributor Joined: Aug 26, 2006 08:20 Messages: 11973 Offline
[Post New]
Andy,

In my words and my take:
The bitrate in the template is the instruction which controls the quality/compression/render of the codec used to produce the video. By altering the level and staying within the "engines" range you can successfully create a rendered file. By going "outside" the parameters of the default settings we are going into "no-mans-land" and risking possible acceptance problems. However you'll find variations in bitrate and frame size (which is what 1280x720 is) will affect the finished file size (mbs) - smaller but excellent quality. You must however think of what you're aiming for. An editor should aim to maintain the level of the edited file until the time comes for the finished file to be produced for a variety of purposes.

I've waffled... and will need to edit this post a bit.

[Post New]
Dafydd,

I'm getting what you are saying. But would like to hear more.

It seems as though what you are saying is the bitrate parameter does quite a number of things all together to bring the total file size down.

Feel free to elaborate!

:

- Andy
Rocket-Scientist
Senior Member Location: HUNTSVILLE, ALABAMA Joined: Apr 23, 2010 10:14 Messages: 288 Offline
[Post New]
bitrate effects how much change is encoded from frame to frame, if your video has only a little change for a number af frames, the algorithm needs very little data to encode the change. for sports and complicated scenes with lots of motion, you need a higher amount of data for each frame. if variable bit rate option, then algorithm will adjust, if you only allow it a fixed bit rate, then it will compromise, high motion scenes will be blocky and really look bad.

This message was edited 1 time. Last update was at Jul 29. 2011 15:05

RTX 2060 SUPER 8GB GDDR6
(2 NVME 2TB, 1 SSD 2TB, 3SATA 18TB )
PD18 ULTIMATE 64bit
WINDOWS 10 PRO 64 BIT
GIGABYTE X570 AORUS PRO WIFI MB
RYZEN 7 3700X 8-CORE , 64 GB DDR4
ORSAIR HX1050 watts PSU
JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Basically an uncompressed video size would be
(frame height x frame width) x (color format) x (frames/sec) x (seconds) = uncompressed video size (bits)

(frame height x frame width) is the total pixel count
color format depends on video format YUY2 and UYVY have 16 bits/pixel and RGB24 has 24 bits/pixel
The first 3 multipled terms above is the video bitrate, bits/sec or divide by 8bits/byte to get the more traditional user file size reference.

The codec basicly divides the uncompressed video size by some factor based on how good the compression logic of the codec. All codes are different on what they can do. A very good codec has massive compression to reduce file size with limit quality loss, but then during playback the playing utility needs to uncompress the video stream too, this can require significant horsepower on playing device. That's one of the reasons HD is rather demanding on systems and PD coughs it up on lightweight PC's.

Maybe that helps you some on what controls video size and quality.

Jeff
vn800rider
Senior Contributor Location: Darwen, UK Joined: May 15, 2008 04:32 Messages: 1949 Offline
[Post New]
if you only allow it a fixed bit rate, then it will compromise, high motion scenes will be blocky and really look bad.


Just for completeness, this may be true if the bit rate set is too low for the scene, if the CBR is set high enough, limited degradation will occur but, of course, the static scenes will result in overly large amounts of data being encoded. As usual a compromise bit rate is usually the best option.

The advantage of the modern "intelligent" (my term) codecs is that they may "constantly" (my term) adjust the algorithm to suit the content to arrive at the optimum quality/size ratio.

http://msdn.microsoft.com/en-us/library/dd757004.aspx
http://msdn.microsoft.com/en-us/library/dd743964.aspx

Cheers
Adrian

This message was edited 3 times. Last update was at Jul 29. 2011 15:30

Life is really simple, but we insist on making it complicated. (see below)
Confucius
AMD Phenom IIX6 1055T, win10, 5 internal drives, 7 usb drives, struggling power supply.
Powered by JForum 2.1.8 © JForum Team