I have a small (7 megabyte) video with:
resolution 1360x768
fram rate: 12
codec H264-MPEG-4-AVC
(a screen cast)
I add an mp3 sound track (70 megabytes) and then export in MP$/Youtube format
I get almost one Gigabyte file
How can I specify a format which keeps the original dimension of the two files?
thanks
Hey @fabioschoen — your video's going to get reencoded no matter what, I'm afraid — OpenShot doesn't currently have "copy"-type features for remuxing videos _without_ reencoding, the way tools like Avidemux can. (If all you're looking to do is mix your existing video with a different audio track, Avidemux is actually an excellent tool for that — just set the video codec to "Copy", import the MP3 as your audio track, set the audio encoding parameters to match your output container, and before you can say1 "transcode the download" you'll have a new file combining the audio track with your completely-untouched original video.
If you _do_ need to work in OpenShot, say because the alignment of the audio and video is crucial, or because you need to make edits to one/both of the source files before they're encoded together, then like I said your video's going to get re-encoded. And it'll probably be encoded less efficiently than before, because encoding a screencast is very different from encoding full-motion live video, and OpenShot is tuned for the latter.
In fact, one of the immediate difficulties that comes to mind is the frame rate of your source video. Because all of OpenShot's presets are based on the standard video formats supported in film, in television, and on the web, none of the built-in profiles have a frame rate lower than 24fps (well, technically, the 23.98fps common in North American TV & film recording).2
So, you have two choices, as I see it:
You could write your own custom video profile definition, to match your source video. OpenShot's profile list is fully extensible, in addition to the built-in set it'll load whatever profile definitions are in $HOME/.openshot_qt/profiles/ (or %USERPROFILE%\.openshot_qt\profiles\ on Windows). So you could take one of the existing profile files, say OpenShot's default hdv_720_24p profile, and use that as a template to create one for your input. Then you'd place that in the profiles/ directory of your OpenShot configuration dir, restart OpenShot, and use the "Choose Profile" selector to set your new addition as your project profile.
You could say "to heck with it", use a 24fps profile, and just accept that your video's going to grow because the frame rate is doubled (if nothing else).
Honestly, unless there's a _really_ strong reason not to, I would recommend the second option. Even if you go that route, there are things you can do to keep the export file size in check.
My suggestions:
384 kb/s was too rough, try changing it to 700 kb/s or 800 kb/s. If that's not good enough and you can afford a bigger file, try 1 Mb/s, then 2 Mb/s, before you move all the way up to Medium (5 Mb/s).With some experimentation, you should be able to get a _reasonably_ sized export video using OpenShot. It will never, under any circumstances, be even close to as small as your original screencast video, though. Sorry, that's just not one of OpenShot's features, though as I said there are other very good tools (like Avidemux) that specialize in _that_ sort of video transfer/conversion.
1 – (Note: Please don't say that. Nobody should ever say that.)
2 – (Turns out that's not true, there are a few with a lower frame rate, like _QVGA 15 fps_. How do you feel about 320x240 pixel resolution? ...Yeah, I wouldn't either. Besides, honestly, reencoding from 12fps to 15fps would look _awful_, the video would be jerky as hell.)
I've met a case like @ fabioschoen . I import a MP3 file about 4MB and a photo about 1MB. When I export MP4, it create a file 7GB in more than 1 hour. So, I think OpenShot is not a suitable tool for this job.
Thank you so much, Mr @ferdnyc! Your explaination is very clearly.
Most helpful comment
Hey @fabioschoen — your video's going to get reencoded no matter what, I'm afraid — OpenShot doesn't currently have "copy"-type features for remuxing videos _without_ reencoding, the way tools like Avidemux can. (If all you're looking to do is mix your existing video with a different audio track, Avidemux is actually an excellent tool for that — just set the video codec to "Copy", import the MP3 as your audio track, set the audio encoding parameters to match your output container, and before you can say1 "transcode the download" you'll have a new file combining the audio track with your completely-untouched original video.
If you _do_ need to work in OpenShot, say because the alignment of the audio and video is crucial, or because you need to make edits to one/both of the source files before they're encoded together, then like I said your video's going to get re-encoded. And it'll probably be encoded less efficiently than before, because encoding a screencast is very different from encoding full-motion live video, and OpenShot is tuned for the latter.
In fact, one of the immediate difficulties that comes to mind is the frame rate of your source video. Because all of OpenShot's presets are based on the standard video formats supported in film, in television, and on the web, none of the built-in profiles have a frame rate lower than 24fps (well, technically, the 23.98fps common in North American TV & film recording).2
So, you have two choices, as I see it:
You could write your own custom video profile definition, to match your source video. OpenShot's profile list is fully extensible, in addition to the built-in set it'll load whatever profile definitions are in
$HOME/.openshot_qt/profiles/(or%USERPROFILE%\.openshot_qt\profiles\on Windows). So you could take one of the existing profile files, say OpenShot's defaulthdv_720_24pprofile, and use that as a template to create one for your input. Then you'd place that in theprofiles/directory of your OpenShot configuration dir, restart OpenShot, and use the "Choose Profile" selector to set your new addition as your project profile.You could say "to heck with it", use a 24fps profile, and just accept that your video's going to grow because the frame rate is doubled (if nothing else).
Honestly, unless there's a _really_ strong reason not to, I would recommend the second option. Even if you go that route, there are things you can do to keep the export file size in check.
My suggestions:
384 kb/swas too rough, try changing it to700 kb/sor800 kb/s. If that's not good enough and you can afford a bigger file, try1 Mb/s, then2 Mb/s, before you move all the way up to Medium (5 Mb/s).With some experimentation, you should be able to get a _reasonably_ sized export video using OpenShot. It will never, under any circumstances, be even close to as small as your original screencast video, though. Sorry, that's just not one of OpenShot's features, though as I said there are other very good tools (like Avidemux) that specialize in _that_ sort of video transfer/conversion.
Notes
1 – (Note: Please don't say that. Nobody should ever say that.)
2 – (Turns out that's not true, there are a few with a lower frame rate, like _QVGA 15 fps_. How do you feel about 320x240 pixel resolution? ...Yeah, I wouldn't either. Besides, honestly, reencoding from 12fps to 15fps would look _awful_, the video would be jerky as hell.)