Post subject: How to make x264 encode an HD movie file so big >1000 Kbps?
Expert player (2454)
Joined: 12/23/2007
Posts: 822
I wrote an HD encoding AviSinth script, and I need to output the video file large, at least 1000 Kbps. Because a Chinese video site Youku.com ask the upload file must have a bigger rate than 1000 Kbps to get HD converting. So it's necessary to make the video file larger on purpose. Edit: This is a 4x HD encode. The rate of the lossless codec is 152 Kbps. How should I encode a HD movie with x264 and make it's file size large enough (but not too large) to get HD converting from Youku? >1000 Kbps, that is. Would anyone please give me some advice? Thanks.
Recent projects: SMB warpless TAS (2018), SMB warpless walkathon (2019), SMB something never done before (2019), Extra Mario Bros. (best ending) (2020).
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
That's... an unusual request. Encode losslessly (--crf 0) and specify a very small --keyint (say, --keyint 1). That should be a good start.
Expert player (2454)
Joined: 12/23/2007
Posts: 822
Um... Would it be OK if I set the frame rate to 400 fps? That would be terrifying...
Recent projects: SMB warpless TAS (2018), SMB warpless walkathon (2019), SMB something never done before (2019), Extra Mario Bros. (best ending) (2020).
Banned User, Former player
Joined: 3/10/2004
Posts: 7698
Location: Finland
HappyLee wrote:
Um... Would it be OK if I set the frame rate to 400 fps? That would be terrifying...
If the H.264 codec works even slightly competently, that shouldn't change the size of the result significantly. (Repeated frames do not contain additional information that should be stored.)
Joined: 6/4/2009
Posts: 570
Location: 33°07'41"S, 160°42'04"W
How about -B 1000 or -B 1200 to be safe.
Ratecontrol:

 -B, --bitrate <int>        Set bitrate (kbit/s)
Expert player (2454)
Joined: 12/23/2007
Posts: 822
Oh, problem solved, --keyint 10 really works! Thank everybody for helping me!
Recent projects: SMB warpless TAS (2018), SMB warpless walkathon (2019), SMB something never done before (2019), Extra Mario Bros. (best ending) (2020).