Open main menu

Changes

3,556 bytes added ,  15:56, 17 June 2017
m
formatting
describes how to take your home movies off your digital camcorder (miniDV format), put them on your computer, edit them, convert them to a compressed format or other format suitable for posting on the web, or burning them to DVD and CD for sharing with family and friends.== Applications ==
== Intro ==
I have a video camera and several tapes with movies on them. I have always intended to take the movies off the tapes as they were recorded, and transfer them to my PC. Once on the PC, I want to edit the movies (delete scenes, add transitions, etc.) I also want to use the PC for either permanent archival (since disk is relatively cheap), or transfer the movies to CD / DVD for permanent storage. Actually, this is the biggest goal of all: turning my home movies into something on CD or DVD that I can easily watch and share. Starting the New Year off right, I decided I would take the plunge and finally do it. Here then is my tale.
Let's face it, watching home movies using your video camera and a collection of tapes is not too easy, nor too fun. It should be a lot easier, like popping in a CD or DVD into the DVD player, then sitting back on the sofa with the remote control.
The equipment:*Panasonic MiniDV camcorder with 1394 (firewire) port*IEEE 1394 (firewire) card for PC*IEEE 1394 cable*PC There are several fully professional "Non-Linear Video Editing" applications in the free software realm. I've only briefly toyed with over 68 GB of free space and 756MB of RAM (On my Debian system running the KDE desktop, them so I can get this information through the KDE Info Center)'t tell you from personal experience how easy it might be to do a quick project. But Blender, OpenShot and KDENLiVE are amazing free software applications.
==Debian packages added==
=== Editing ===These are some of the free editing tools. More can be found at https://directory.fsf.org/wiki/Category/Video; [https://www.blender.org/ Blender] : {{#coriander (version 1ev:youtube|https://www.youtube.0com/watch?v=pznQweUD9x0|300|right|Basic Video Editing in Blender|frame}}: is simply an awesome program.0 : It is used mostly for 3-pre3-2)d design and modelling, but it also is quite capable at video editing. #dvgrab : Blender works on both Windows and Linux. Lots of tutorials on YouTube (version 1.6deb-1see right for example) #ftplib3 (version 3; [http://www.openshot.1-1-5)org/features/ OpenShot]: {{#gscanbus (version ev:youtube|https://www.youtube.com/watch?v=_0nEHxtTjk4|300|right|OpenShot 2.0reaches beta|frame}}: is another Linux only NLVE, and might be more 'beginner friendly' ; [http://ffmpeg.7org/ FFmpeg] [[wp:FFmpeg]] : One of, if not ''the'' most useful tool in the land of multimedia is FFMPEG.1-5)#libdc1394-10 (version 0; [http://www.9transcoding.5org/cgi-1bin/transcode Transcode] [[wp:Transcode_(software)]] #bootcd (version 2: tool is built using the libavcodec library of FFmpeg.45)#bootcd-dvdplus ; [http://www.avidemux.org/ Avidemux] [[wp:Avidemux]] (version 2[http://www.avidemux.org/admWiki/index.45php?title=Main_Page wiki])#bootcd-i386 : Available in three user interfaces (version 2GTK+, QT4 and cli) for all major operating systems.45) #dvdauthor (version 0: Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks.6It's graphical user interface looks pretty similar to VirtualDub and most features known from VirtualDub are available too.10-4)#dvdbackup (version 0.1: Avidemux natively supports a great number of file types, such as AVI, MPEG, VOB, TS, MP4, ASF, OGM, MKV and FLV.At the same time Avidemux natively supports a wide range of Video/Audio formats, including MPEG-1, MPEG-2)#gstreamer0, MPEG-4 ASP, H.8264/AVC, DV, HuffYUV, MP3, AAC, AC-dvd (version 03 and Vorbis.8Tasks can be automated using projects, job queue and powerful scripting capabilities.6Video-1DVD or (S)#liba52VCD compliant streams can be created with easy-to-0use "Auto" wizards.7Multi-threading is supported! See also: [http://forum.4 (version 0doom9.7org/showthread.4-1)php?t=126164 FAQ] at doom9#libdvdnav4 (version 0; [http://www.1pitivi.9org/ PiTiVi] : is a video editor designed to be user-3)friendly and powerful#libdvdread3 (version 0; [http://www.9gopchop.4org GOPchop] : is a "Graphical MPEG Clipper" - a Linux-5based GUI program for removing sections from a video file with the minimum amount of disturbance to the stream. It does this by writing specific "Group of Pictures" (GOP)sections to a new video file. The GOPs will decode correctly and the gaps won't be noticed.; [http://handbrake.fr/ HandBrake] [[mw:HandBrake]] #syslinux : is a software application that can convert MPEG video (version 2including DVD-Video) into a MPEG-4 video file in .mp4, .avi, .ogm, or .mkv containers.11-0; [http://kinodv.1org/ kino] [[wp:Kino_(software)]] #vdr : Kino is great for working with the DV format and IEEE 1394 (version 1.2firewire) interfaces; [http://kdenlive.6-5)org/ kdenlive] [[wp:Kdenlive]] #vdr: A nice "pro-kbd sumer" (version 1hobbyist, close to professional needs) tool. Kdenlive has instructions on how to make and add a tutorial to their site, including how to create and upload desktop recordings onto vimeo.2com http://kdenlive.6org/contribution-5)#vdrmanual/how-make-pluginvideo-dvd tutorial {{#ev:youtube|https://www.youtube.com/watch?v=9kkaUd7nBKo|300|right|KDENLiVE|frame}} Currently only runs on Linux (version 0but there are efforts to port it to Mac and Windows). ; [http://www.heroinewarrior.3com/cinelerra.4php cinelerra] [[wp:Cinelerra]] https://cinelerra-rc10-1cv.org/: is a significant project, aimed at the professional user. It's both a NLVE and a compositing application. There is a friendly fork called the Community Version (CV) as compared to the original Heroine Warrior (HW)version.
=== Video Slideshows ===; [http://ffdiaporama.tuxfamily.org/ ffDiaporama] : for making a slideshow video, and it's not bad. However, it simply refused to render my project with a 'encode error'Coriander. It is also outdated (last release in 2014) and doesn't install properly on newer Ubuntu. The project itself is a fork of the even less maintained Diaporama; [http://imagination.sourceforge.net/ Imagination] : is a simple tool. Last released in 2011, there is at least a note in 2017 that contributions are welcome. The results weren'' control IEEE1394 digital camerat bad either. But, I still like the power of OpenShot.
Coriander is a GUI that lets you control all the features of anIEEE-1394 Digital Camera complying with the DC Specifications v1.04 or=== Players ===later (see ; [http://www.1394tamplayerhq.hu/design7/info.html MPlayer] [[wp:MPlayer]] : is one of the most essential players in the Free Software world. The project works in tandem with FFmpeg. MPlayer software includes the '''Mencoder''' commandline tool; VLC : vlc is cross-platform and wonderful.org) It even works on your phone.
'''dvgrab''' Grab digital video data via IEEE1394 links
dvgrab receives audio and video data from a digital camcorder via an=== Transcoding ===IEEE1394 (widely known as FireWire) link and stores them into one ofseveral file formats. It features autosplit of long video sequences,and supports saving the data as raw frames, AVI type 1, AVI type 2,Quicktime DV, or a series of JPEG stillshttp://programmer-art.org/projects/arista-transcoder
'''gscanbus''' scan IEEE1394 (firewire/i.link) bus== Mencoder and ffmpeg examples ==
gscanbus is If you only want a little bus scanning5-minute clip, testing and topology visualizingtool for the Linux IEEE1394 subsystem, with some AV/C support,especially for controlling Camcorders and VCRs. It is intended as afirst thing to do would probablydebugging tool for IEEE1394 development, but can also be used tothrow away the other 55 minutes of video. That should make allsimply check your IEEE1394 setup on Linuxfiles load much faster. (see [http://gscanbus.berlios.de/])
'''libdc1394''' high level programming interface for IEEE1394 digital cameraYou can extract the part you want with mplayer like this:<source lang="bash">$ mencoder -ovc copy -oac copy infile -ss 00:10:09.5 -endpos 00:05:00 -o outfile</source>"-ovc" means "output video codec", "-oac" means "output audio codec",the "-ss" argument skips ahead to 10 minutes 9.5 seconds into thevideo, and "-endpos" tells mencoder to transcode exactly 5 minutes."copy" is a special codec name that tells mplayer to just streamcopythe audio and video streams to output... essentially cutting out the5-minute segment that you want.
libdc1394 is a library that is intended to provide a high levelThis can also be done with ffmpeg:<source lang="bash">$ ffmpeg -acodec copy -vcodec copy -itsoffset -00:10:09.5 -i infile -ss 00:10:09.5 -t 00:05:00 outfileprogramming interface for application developers who wish to control</source>IEEE 1394 based cameras Note that conform to the 1394"-based Digital Cameraitsoffset" option must be specified to make sure thatSpecification (found at [http:A//www.1394ta.org/]). This package contains shared librariesV timestamps synchronize, and that its value must be the negative ofthe "-ss" argument.
Note that, for BOTH mencoder and ffmpeg, the order of command-lineoptions and arguments is not just significant, it'''libraw1394''' library for direct access to IEEE 1394 bus (aka FireWire)s HIGHLY significant.
libraw1394 is To transcode the only supported interface video, specify the output codecs as the "vcodec" and"acodec" sub-options to the kernel side raw1394libavcodec option (-lavcopts):<source lang="bash">$ mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=ac3 infile -o outfile</source>Here, "lavc" means to use one of the Linux IEEE-1394 subsystemlibavcodec codecs, which provides direct access specified bythe "vcodec" and "acodec" suboptions to the"-lavcopts" option (whichconnected 1394 buses to user spacespecifies options for libavcodec). Through libraw1394/raw1394mencoder has about a bazillion^2command line options, sub options, sub sub options,and can get quiteapplications confusing. ffmpeg can directly send to also transcode audio and receive video streams from other nodes withoutonerequiring a kernel driver for the protocol in questioncodec to another.
'''libavc1394''' control IEEE1394 audioIf you want to change the framerate of the video, you can usesomething like this:<source lang="bash">$ mencoder -ofps 25 -oac copy -ovc copy -o outfile infile</video devicessource>Note that, whenever you use "copy" as the codec, mplayer will copy thecorresponding stream to the output unmodified. That means it will ignoreany filters set up to modify the copied stream. This is a BIG gotcha.
libavc1394 is a programming interface for the 1394 Trade Association AVFor example:<source lang="bash">$ mencoder -oac copy -ovc copy -af volume=10 -o outfile infile</Csource>(Audio/Video Control) Digital Interface Command Set. It allows WILL NOT DO what you toremote control camcorders and similar devices connected to your computerprobably want, because with "-oac copy" thevia an IEEE1394 "volume" audio filters (aka Firewirespecified with "-af") link. This package includes will be ignored, and the libraries needed to run executables usinglibavc1394audio in outfile will be at the SAME volume as the audio in infile.
When capturing video in the US, you may also run into problems with
video interlacing. Fortunately, mencoder has deinterlacing video
filters, for example "-vf pp=lb".
 
 
== See Also ==
[[Video Editing/My Story]]
 
[[Category:Video]]
[[Category:Multimedia]]
[[Category:Howto]]
[[Category:Applications]]
4,558

edits