You are not logged in.

#1 2010-07-07 07:37:46

drugcpp
Member
From: Israel
Registered: 2010-03-16
Posts: 20

[SOLVED] Reduce mpeg file size

I have .mpg file (mpeg2 video, ac3 audio) which I got from long editing process with Cinelerra of several .m4v files. I want to rip it on single DVD, but I got unexpected size of 5.2GB. Is there any way to reduce this size to 4-4.2GB? I know there must be any.

Thanks for your attention, drugcpp.

EDIT:
I did .ac3 file with audio and .m2v file with video with Cinelerra, then made a single .mpg with ffmpeg. Maybe some ffmpeg options will reduce the size?

Last edited by drugcpp (2010-07-07 09:38:06)

Offline

#2 2010-07-07 08:22:29

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [SOLVED] Reduce mpeg file size

Never used cinelerra but I suspect it has an option to control the output bitrate which is what you'll need to do when editing.  Might even have a target filesize whereby the bitrate is controlled to hit a projected size... I dunno if you're just muxing files together though.  That implies that you need to re-encode them.

Last edited by graysky (2010-07-07 08:23:12)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-07-07 09:37:53

drugcpp
Member
From: Israel
Registered: 2010-03-16
Posts: 20

Re: [SOLVED] Reduce mpeg file size

Problem solved! There is an option -fs in ffmpeg that limits file size. So I used it when combined .m2v and .ac3 into .mpg smile

EDIT:
-fs just stops encoding after the limit size reached and cuts the video, lol. Anyway, there is an option for a bitrate too, I will use that.

Last edited by drugcpp (2010-07-07 09:43:52)

Offline

Board footer

Powered by FluxBB