www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Any video editing folks n da house?

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Would be great to have a video intro of D featuring a mix of testimonies 
from a few folks, fragments from the existing DConf materials, etc. Some 
of that cool ukulele upbeat music, too. Anyone would enjoy taking up 
such a project? -- Andrei
May 23
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 23/05/2017 9:23 PM, Andrei Alexandrescu wrote:
 Would be great to have a video intro of D featuring a mix of testimonies
 from a few folks, fragments from the existing DConf materials, etc. Some
 of that cool ukulele upbeat music, too. Anyone would enjoy taking up
 such a project? -- Andrei
If you can provide the raw footage, I'm sure a few of us will give it a go (I have licenses for music which I can use for this stuff).
May 23
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
rikki cattermole <rikki cattermole.co.nz> wrote:
 On 23/05/2017 9:23 PM, Andrei Alexandrescu wrote:
 Would be great to have a video intro of D featuring a mix of testimonies
 from a few folks, fragments from the existing DConf materials, etc. Some
 of that cool ukulele upbeat music, too. Anyone would enjoy taking up
 such a project? -- Andrei
If you can provide the raw footage, I'm sure a few of us will give it a go (I have licenses for music which I can use for this stuff).
I'm thinking publicly available videos so the footage is already out there.
May 24
next sibling parent reply Wulfklaue <wulfklaue wulfklaue.com> writes:
On Wednesday, 24 May 2017 at 09:27:59 UTC, Andrei Alexandrescu 
wrote:
 I'm thinking publicly available videos so the footage is 
 already out there.
Public available videos are already compressed. Rikki needs the original source video and audio. Working on a compressed video to create another compressed video, simply result in lower quality video ( and less professional looking ).
May 24
parent reply Era Scarecrow <rtcvb32 yahoo.com> writes:
On Wednesday, 24 May 2017 at 10:04:03 UTC, Wulfklaue wrote:
 Working on a compressed video to create another compressed 
 video, simply result in lower quality video ( and less 
 professional looking ).
Only if you have to recompress it. Some tools like VirutalDub allow you to chop and copy without altering the data stream (it's good for taking out commercials or shortening clips). Although I wouldn't be surprised if you wanted to add a logo, do some fading or some fancy stuff, at which point direct stream copying won't work.
May 27
next sibling parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 05/27/2017 06:19 PM, Era Scarecrow wrote:
 On Wednesday, 24 May 2017 at 10:04:03 UTC, Wulfklaue wrote:
 Working on a compressed video to create another compressed video, 
 simply result in lower quality video ( and less professional looking ).
Only if you have to recompress it. Some tools like VirutalDub allow you to chop and copy without altering the data stream
Good point. Although, AIUI, that does leave you limited to cutting only on full frames, not on the delta frames. Sometimes that's an issue, sometimes it isn't.
May 27
next sibling parent Mike B Johnson <Mikey Ikes.com> writes:
On Saturday, 27 May 2017 at 22:28:13 UTC, Nick Sabalausky 
(Abscissa) wrote:
 On 05/27/2017 06:19 PM, Era Scarecrow wrote:
 On Wednesday, 24 May 2017 at 10:04:03 UTC, Wulfklaue wrote:
 Working on a compressed video to create another compressed 
 video, simply result in lower quality video ( and less 
 professional looking ).
Only if you have to recompress it. Some tools like VirutalDub allow you to chop and copy without altering the data stream
Good point. Although, AIUI, that does leave you limited to cutting only on full frames, not on the delta frames. Sometimes that's an issue, sometimes it isn't.
Right, that's why we need 60kfps so these types of issues do not cause major life threatening problems.
May 27
prev sibling parent Era Scarecrow <rtcvb32 yahoo.com> writes:
On Saturday, 27 May 2017 at 22:28:13 UTC, Nick Sabalausky 
(Abscissa) wrote:
 Good point. Although, AIUI, that does leave you limited to 
 cutting only on full frames, not on the delta frames. Sometimes 
 that's an issue, sometimes it isn't.
Well you can cut anywhere (on the tail end anyways), while the starts have to be on full frames, which you can expect to be probably within ever 40 frames. I've noted large changing scenes (like dropping to black or changing camera angles) it will often goes to full frames. Then there's the disadvantage that if you're working with multiple videos/samples, they have to be at the same data rate, same resolution, and the same encoding, I've seen VirtualDub barf and refuse to join two videos regarding a 0.01 difference in framerate (otherwise they were both 24fps). But I'll let someone more proficient and practiced in video editing than me to take this up. My editing skills (and software I've used) is like that of a butcher with a meat cleaver: It's messy but does the [simple] job.
May 27
prev sibling parent reply Marco Leise <Marco.Leise gmx.de> writes:
Am Sat, 27 May 2017 22:19:11 +0000
schrieb Era Scarecrow <rtcvb32 yahoo.com>:

   Only if you have to recompress it. Some tools like VirutalDub 
 allow you to chop and copy without altering the data stream (it's 
 good for taking out commercials or shortening clips). Although I 
 wouldn't be surprised if you wanted to add a logo, do some fading 
 or some fancy stuff, at which point direct stream copying won't 
 work.
Ok, but even then your source material would ideally have to be encoded with the same codec and parameters. A different resolution would not work, while a change in frame rate is tolerable. H.264 also makes cutting on I-frames more difficult than previous codecs as they don't clear the reference frame buffer. So following frames could still reference frames before the cut, resulting in artifacts. An actual keyframe for the start of the video, jumping to chapters or seeking is now called IDR (Instantaneous Decoder Refresh), which is also an I-frame, hence why old cutting tools like VirtualDub don't see the difference. Another low cost video editor that offers "smart rendering" without re-encoding is PowerDirector. They provide an option to use only IDR-frames or any I-frame for cuts (as you would do in VirtualDub), for cases where in your source material they are _actually_ proper keyframes with no cross-references. I tried the latter on footage shot with a Sony digicam and it resulted in a broken video stream. So unless you know that every I-frame is an IDR in your sources it is not advisable to use them as cut points. -- Marco
May 30
next sibling parent Guillaume Piolat <first.last gmail.com> writes:
On Tuesday, 30 May 2017 at 11:32:21 UTC, Marco Leise wrote:
 So unless you know that every I-frame is an IDR in your sources 
 it is not advisable to use them as cut points.
I'll assume that Sociomantic doesn't have the original video source. Pretty much what Marco Leise said. While video packaged for internet streaming will have IDR very regularly (between every 2 to 10 sec for example), there are a lot of technical hurdles. Anyway, multiple video reencodings aren't as bad as it sounds. You are basically capped to the lowest bitrate it was encoded with, but subsequent higher encodings. The typical football match being broadcast has been encoded sometimes thrice over the full chain, albeit with high bitrates. Youtube has low bitrates but manages to do well with it, which means one can upload a higher bitrate to Youtube which means on total For this reason cutting fragments of H.264 would not really achieve anything against the following solution: keep the same resolution, same chroma subsampling than the source you have, no framerate change, and upload to Youtube a remixed video _with a higher bitrate_. Youtube will reencode anything you upload it to anyway. Multiple encodings are much more objectionable with sound.
May 30
prev sibling parent Era Scarecrow <rtcvb32 yahoo.com> writes:
On Tuesday, 30 May 2017 at 11:32:21 UTC, Marco Leise wrote:
 Ok, but even then your source material would ideally have to be 
 encoded with the same codec and parameters. A different 
 resolution would not work, while a change in frame rate is 
 tolerable.
I agree, however when VirtualDub barfs, it then goes down to hacking and hex editing the container to trick it into working, this is something i haven't done yet, so i don't know how well it works, if there's sync issues, etc.
May 30
prev sibling parent Ethan Watson <gooberman gmail.com> writes:
On Wednesday, 24 May 2017 at 09:27:59 UTC, Andrei Alexandrescu 
wrote:
 I'm thinking publicly available videos so the footage is 
 already out there.
One question I'd want to ask is: What is the legal status of the resulting video? This is purely because of software licensing. My nonlinear editing of choice is Davinci Resolve, but I've only ever done it for hobby projects that make no money. In the case of providing a video authored with the software to the D Foundation, I'm not entirely sure the "free" license covers such usage. (I also doubt I'd have the time to devote to cutting a video at this stage, but it's the first question I thought of when viewing this thread.)
May 29