GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   MP4 H.264 video file size (https://gfy.com/showthread.php?t=1104800)

Kolargol 03-30-2013 09:22 AM

MP4 H.264 video file size
 
What is a typical file size you get when encoding MP4 H.264 video clips?

I got these:

9 min clip:
153 MB 1280x720 MP4
335 MB 1920x1080 MP4


5:30 min clip:
200 MB 1920x1080 MP4

Aren't the files too big?

mikesouth 03-30-2013 09:25 AM

there is no typical file size file size depends on bit rate and profile

MaDalton 03-30-2013 09:27 AM

Quote:

Originally Posted by Kolargol (Post 19553037)
What is a typical file size you get when encoding MP4 H.264 video clips?

I got these:

9 min clip:
153 MB 1280x720 MP4
335 MB 1920x1080 MP4


5:30 min clip:
200 MB 1920x1080 MP4

Aren't the files too big?

Quote:

Originally Posted by mikesouth (Post 19553040)
there is no typical file size file size depends on bit rate and profile

what he said...

it's like asking "how much is a car?"

DWB 03-30-2013 09:49 AM

Quote:

Originally Posted by mikesouth (Post 19553040)
there is no typical file size file size depends on bit rate and profile

:2 cents:

But if you some some sort of reference point, I just encoded an 11:38 min video (1280x720) and the size is 157 MB. Used an avg bit rate of 1800kbps along with some other tweaks. It looks great and is small enough to stream with no problems.

digitaldivas 03-30-2013 09:50 AM

Quote:

Originally Posted by Kolargol (Post 19553037)
What is a typical file size you get when encoding MP4 H.264 video clips?

I got these:

9 min clip:
153 MB 1280x720 MP4
335 MB 1920x1080 MP4


5:30 min clip:
200 MB 1920x1080 MP4

Aren't the files too big?

I don't fuck my surfers over. They can stream my movies on their TV if they want.
Number two, you are not HD if your datarate is under 7k/sec or 13k/sec for 1080p
My 9 minute clips are 400-900mb a pop. If you want to pimp HD, I would suggest
doing it right. Surfers bitch about this on surfer boards, WILL NOT recur and you
lost that surfer for life. Amazing to me, the fucking idiots in this biz that don't get it.

Kolargol 03-30-2013 09:54 AM

I use about 5000kb/s, 25fps - not sure what other info is important...

MaDalton 03-30-2013 09:59 AM

Quote:

Originally Posted by Kolargol (Post 19553070)
I use about 5000kb/s, 25fps - not sure what other info is important...

you can easily go down to 3000 kb/s for the smaller size - but dont change the frame rate (it should be the same as it was recorded at - not sure if you shot it with 25fps)

Kolargol 03-30-2013 09:59 AM

Quote:

Originally Posted by digitaldivas (Post 19553067)
I don't fuck my surfers over. They can stream my movies on their TV if they want.
Number two, you are not HD if your datarate is under 7k/sec or 13k/sec for 1080p
My 9 minute clips are 400-900mb a pop. If you want to pimp HD, I would suggest
doing it right. Surfers bitch about this on surfer boards, WILL NOT recur and you
lost that surfer for life. Amazing to me, the fucking idiots in this biz that don't get it.

since I don't promise HD on my tour or anywhere else (not yet) they know exactly what to expect. Still I want to do streaming and I want to do it right.
I am not sure about 900mb videos though - seems like a huge file.

signupdamnit 03-30-2013 10:01 AM

Quote:

Originally Posted by mikesouth (Post 19553040)
there is no typical file size file size depends on bit rate and profile

This. Also you should probably use crf and a max bitrate and buffer size. crf=18 is about where no human can usually tell the difference. crf=21 is usally a good balance and most cannot see a difference. Crf=23 is usually around as high as you want to go without degrading quality too much. I believe every four steps down on the crf factor doubles the bitrate.

Set the max bit rate to be no more than 80% of the target bandwidth the customers you are targeting will have. For the buffer usually 1.5-2.0 times the max bitrate is a good bet.

http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide

signupdamnit 03-30-2013 10:06 AM

Quote:

Originally Posted by Kolargol (Post 19553078)
since I don't promise HD on my tour or anywhere else (not yet) they know exactly what to expect. Still I want to do streaming and I want to do it right.
I am not sure about 900mb videos though - seems like a huge file.

Probably this would work for ffmpeg then:

crf=21
maxbitrate=800kbps (use 600-700 kbps if you need to accommodate very crappy DSL)
vfvbuffersize=1600kbps (use 1200 - 1400kbps to accomodate crappy DSL)

Kolargol 03-30-2013 10:08 AM

Quote:

Originally Posted by signupdamnit (Post 19553085)
Probably this would work for ffmpeg then:

crf=21
maxbitrate=800kbps (use 600-700 kbps if you need to accommodate very crappy DSL)
vfvbuffersize=1600kbps

I don't know how to use ffmpeg, I just export MP4s from Adobe Premiere. I have used Handbrake before but it's much easier to encode on the same software I do editing in.

digitaldivas 03-30-2013 10:24 AM

Quote:

Originally Posted by Kolargol (Post 19553078)
since I don't promise HD on my tour or anywhere else (not yet) they know exactly what to expect. Still I want to do streaming and I want to do it right.
I am not sure about 900mb videos though - seems like a huge file.

Hey man, had to see your sig to see your site. This wasn't directed towards you. But I love your content and remastering your video will do fucking wonders for you!!! True fact. Actually, let me know when you do and I will post you a shout out on the footpervert blog.

If your streaming in a members area OR on a tour, try 700-900 pixels wide, keep your fps rate the same as it was recorded. Drop the data rate to 3000-4000k/sec, keyframing every 150 frames, audio should be less than 128. You can do the same to .ogg files so the firefox people can view it too.

Zyzz 03-30-2013 10:30 AM

You should try http://handbrake.fr/, checkout the already included profiles and tweek up on that ...

Kolargol 03-30-2013 11:01 AM

Quote:

Originally Posted by digitaldivas (Post 19553104)
Hey man, had to see your sig to see your site. This wasn't directed towards you. But I love your content and remastering your video will do fucking wonders for you!!! True fact. Actually, let me know when you do and I will post you a shout out on the footpervert blog.

If your streaming in a members area OR on a tour, try 700-900 pixels wide, keep your fps rate the same as it was recorded. Drop the data rate to 3000-4000k/sec, keyframing every 150 frames, audio should be less than 128. You can do the same to .ogg files so the firefox people can view it too.

Thank you for the advice! Do you recommend to have a embed window 700-900 pixels wide? or the video clip for the download to have eg. 1280x720 resolution?

DWB 03-30-2013 11:28 AM

Quote:

Originally Posted by MaDalton (Post 19553077)
you can easily go down to 3000 kb/s for the smaller size - but dont change the frame rate (it should be the same as it was recorded at - not sure if you shot it with 25fps)

Amen. But you can go even further than that. 1800 kb/s - 2000 kb/s can look great with the right settings. Check out the link I'm posting below. Will blow your mind at some of the lower bit rates he can get and still have awesome quality.

Quote:

Originally Posted by Zyzz (Post 19553111)
You should try http://handbrake.fr/, checkout the already included profiles and tweek up on that ...

:2 cents: Of everything I've tried over the years, Handbreak is hands down the best for making .mp4 videos. It's slow, but the results are fantastic.

This guy is an encoding GOD: http://sonnati.wordpress.com

Anyone who wants to learn how to encode, spend some time on his blog.

Quote:

Originally Posted by digitaldivas (Post 19553067)
My 9 minute clips are 400-900mb a pop.

For streaming? No way I could stream something that big. That's download only for me.

Kolargol 03-30-2013 12:59 PM

Quote:

Originally Posted by DWB (Post 19553174)
Amen. But you can go even further than that. 1800 kb/s - 2000 kb/s can look great with the right settings. Check out the link I'm posting below. Will blow your mind at some of the lower bit rates he can get and still have awesome quality.



:2 cents: Of everything I've tried over the years, Handbreak is hands down the best for making .mp4 videos. It's slow, but the results are fantastic.

This guy is an encoding GOD: http://sonnati.wordpress.com

Anyone who wants to learn how to encode, spend some time on his blog.



For streaming? No way I could stream something that big. That's download only for me.

so how big are your MP4s eg. 10 min long video? the ones for streaming I mean.

fitzmulti 03-30-2013 01:28 PM

I just checked one at random from editing today.
6076 kbps / 1920x1080 / 474 MB / 10:55 time

DWB 03-30-2013 01:29 PM

Quote:

Originally Posted by Kolargol (Post 19553251)
so how big are your MP4s eg. 10 min long video? the ones for streaming I mean.

Full length scenes, 10 - 35 minutes. But for streaming the biggest size is 1280x720. You can't stream huge videos and have everyone be able to stream them. You can also use alternate bit rate videos and load up a few options and the player can detect their bit rate and pull the appropriate video. That way everyone is covered no matter their speed. I believe both JW player and Flow player offer this.

DWB 03-30-2013 01:33 PM

Quote:

Originally Posted by Kolargol (Post 19553251)
so how big are your MP4s eg. 10 min long video? the ones for streaming I mean.

If you want them, email me (in sig) and I'll send you my Handbrake settings for what we use to stream. It will be a good starting point and you can adjust from there based on what you need.

There are other factors as well, like how lit your video is, quality of the raw footage, and the amount of movement. Lots of little variables that can make you have to change the bit rate to get better quality.

Kolargol 03-30-2013 01:36 PM

Thanks Fitzmulti!

DWB, what I asked was how big are the files sizes for 10 min long video with your setting.

Do you have separate files for streaming and downloading? If you had to choose one type of file - what resolution (and other settings) would you use for streaming? and for downloading?

DWB 03-30-2013 02:18 PM

Quote:

Originally Posted by Kolargol (Post 19553284)
DWB, what I asked was how big are the files sizes for 10 min long video with your setting.

Do you have separate files for streaming and downloading? If you had to choose one type of file - what resolution (and other settings) would you use for streaming? and for downloading?

The only thing I have in front of me currently is the 11:38 min video (1280x720) that is 157 MB. So you can figure the 10 minute size from that.

I would suggest a middle ground 1280x720 stream and anything larger than that for download, unless you're doing the player bit rate changer I spoke of above. For the stream, start in the neighborhood of 2000 kbps and adjust up and down until you find a sweet spot that works for your content. 1800 kbps works well for our streaming videos. If you are offering a larger downloadable HD video, then that will obviously be of much higher quality like digitaldivas was speaking about.

You're not going to get THE ANSWER here. You can only get a rough idea and then you need to see what works for your source footage and your software. Render out 30 second or 1 min clips at lots of different settings and see what looks the best. Just be sure to name the files so you know what the settings were. There is a LOT of trial and error that goes into finding the sweet spot encode for your content.

Ate123 03-30-2013 02:34 PM

Hi
maybe try to use conventer like AVS Video Conventer or FreeMake ...
you tried ???

Kolargol 03-30-2013 03:02 PM

Quote:

Originally Posted by DWB (Post 19553326)
The only thing I have in front of me currently is the 11:38 min video (1280x720) that is 157 MB. So you can figure the 10 minute size from that.

I would suggest a middle ground 1280x720 stream and anything larger than that for download, unless you're doing the player bit rate changer I spoke of above. For the stream, start in the neighborhood of 2000 kbps and adjust up and down until you find a sweet spot that works for your content. 1800 kbps works well for our streaming videos. If you are offering a larger downloadable HD video, then that will obviously be of much higher quality like digitaldivas was speaking about.

You're not going to get THE ANSWER here. You can only get a rough idea and then you need to see what works for your source footage and your software. Render out 30 second or 1 min clips at lots of different settings and see what looks the best. Just be sure to name the files so you know what the settings were. There is a LOT of trial and error that goes into finding the sweet spot encode for your content.

That's the info I needed, thanks a lot!

borked 03-30-2013 04:03 PM

Quote:

Originally Posted by Kolargol (Post 19553070)
I use about 5000kb/s, 25fps - not sure what other info is important...

good luck if you're trying to stream that to your clients... the bitrate is essential in streaming and 5000kbs means the end user must have a bandwidth of absolute minimum of 5mbs to view it without stalling. In real terms, because their bandwidth seend by their ISP is never eqaul to the bandwidth seen at your server, I'd say for a 5mbs bitrate video, they'd need at least 7mbs to view it without stalling.

Best to encode at 1/3/6mbs (more disk space for you) and use some sort of bandwidth calculator (automatically done for wowza streaming) to determine on the fly (meaning if their bw increases, switch to higher quality etc) which video to stream.

I'd *never* offer 5+mbs bitrate as an only option - you kill too many clients.

borked 03-30-2013 04:07 PM

Quote:

Originally Posted by DWB (Post 19553274)
Full length scenes, 10 - 35 minutes. But for streaming the biggest size is 1280x720. You can't stream huge videos and have everyone be able to stream them. You can also use alternate bit rate videos and load up a few options and the player can detect their bit rate and pull the appropriate video. That way everyone is covered no matter their speed. I believe both JW player and Flow player offer this.

right - dwb has this working flawlessly and it caters for low bw (mobile) people too. However, it isn't jw/flow player handling this, but the streamer, which i believe in this case is wowza. The player simply says to the streamer - here are the streams I want (eg 1000kbs, 3000kbs, 6000kbs), and the streamer determines in real time which can be delivered.

Transparent to the end user but this bitrate switching mid-stream is frikken excellent and well worth the extra MB in disk space to multi-encode in different bitrates.

:2 cents:

borked 03-30-2013 04:11 PM

and to add a last snippet, I much prefer HandbrakCLI over ffmpeg for x264 encoding. I've not yet found an ffmpeg preset (or any setting) that can match HB in terms of quality and speed.

My favourite for medium encoding is:

Code:

-e x264 -q 20.0 -E faac -B 160 -6 dpl2 -R Auto -D 0.0 -f mp4 --strict-anamorphic -m -x ref=2:bframes=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
share yours....

Kolargol 03-30-2013 04:13 PM

I am going to use lighttpd so I suppose I will just use one bitrate

NemesisEnforcer 03-31-2013 10:18 AM

Quote:

Originally Posted by DWB (Post 19553174)
This guy is an encoding GOD: http://sonnati.wordpress.com

This is good reading but it's driving my antivirus crazy.


All times are GMT -7. The time now is 12:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc