02-02-2019, 03:47 AM | #1 |
Human being with feelings
Join Date: Jul 2011
Posts: 850
|
Video editing noob question
Long story (not too) short:
I've never payed attention to Reaper's video editing capabilities (since they were introduced a long time ago)... Until today. Just dropped a clip in, chopped it here and there, rendered it, played it back and... purged Blender right away, LOL. I don't need a lot from a video editor, I don't shot videos. From time to time I just crop/chop parts/cruft to trim down to the only parts I want from videos I got sent or download. Blender, Shotcut or Kdenlive feel like overkills for my minimal needs. Also Reaper is way smaller and have no ugly dependencies like the other ones. So, yes, Reaper it is. It took me years to realize it! Silly me Now, the question: For basic and simple video chopping I used to use ffmpeg shell scripts. Normally using the "-codec copy" option to avoid resampling and reencoding keeping the quality and everything else as is. Is there a way in Reaper to pass the video properties of the current video for rendering a la "codec copy" without needing to manually setting them all every time? Thanks in advance. |
02-05-2019, 01:45 AM | #2 |
Human being with feelings
Join Date: Jul 2011
Posts: 850
|
That's what I expected... no easy OOTB way for now.
I'm wondering if a lua script would be the way. Yet one more reason to learn lua... I'll have to bump it to the topmost part in my endless todo list for once. |
02-05-2019, 06:25 AM | #3 |
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
I have no idea what you mean with this command line method, but Reaper is definitely not capable of changing video parameters without re-encoding.
As I created a VLC extension for splitting videos with mkvMerge I also had a discussion about if this would be possible from inside Reaper. You also mentioned cutting. And there are some aspects you have to think about. Reapers preview shows every frame as solid image what isn't actually the case. Some codecs use keyframes and interpolate in between. And cutting videos without re-encoding can only be done exactly at a keyframe. There is the conflict. If you send a timestamp from inside Reaper to a tool like mkvMerge, it can't cut/split exactly at the same frame if it isn't a keyframe. What you get will be a cut at the nearest keyframe which then wouldn't fit exactly back into Reaper or into the time range you had in mind. Maybe there are lua functions in Reaper which give out the next keyframe. But I have no idea. If yes, this could be used to pre-determine and compute where mkvMerge would split the video. It would be of course a great addition for Reaper to get the ability to cut and crop videos without re-encoding. Many people asked for that. Some prefer to import a big movie and want to split it down to short sequences. But this needs to be started from someone with coding skills ...
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
|
02-05-2019, 09:08 PM | #4 |
Human being with feelings
Join Date: Jul 2011
Posts: 850
|
I think we're talking about different things. I meant just keeping the original video item properties
into the rendering options Instead of manually setting them every single time. The same `ffmpeg -codec copy` would do. |
02-05-2019, 11:19 PM | #5 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,595
|
try the > button beside fps
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
02-06-2019, 12:54 AM | #6 | |
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Quote:
As ReaperBlog's Jon mentioned: Just click on the tiny [ > ] next to fps!
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
|
|
02-06-2019, 10:52 PM | #7 |
Human being with feelings
Join Date: Jul 2011
Posts: 850
|
Thanks for your replies, guys.
That's exactly what I'm doing. Trying to match the properties manually and precisely the step I'd like to skip; trying to match the so-called ffmpeg's stream copy feature instead of re-encoding. Stream copy is fast and lossless, but it's limited to certain conditions that this basic editing fulfills. I have no idea if this is possible at all from Reaper, but would be great just for this kind of basic on-the-fly editing scenario; merely cutting parts out from a video clip while leaving everything else as is. I guess there would be a way to grab the Code:
ffmpeg -hide_banner -i myvideofile Last edited by Snap; 02-06-2019 at 11:33 PM. |
Thread Tools | |
Display Modes | |
|
|