video production using open source tools

Download Video Production Using Open Source Tools

If you can't read please download the document

Upload: crazed-mule

Post on 17-May-2015

3.488 views

Category:

Self Improvement


1 download

DESCRIPTION

Abstract: Over the last decade, farms of Linux servers have powered the production of major motion pictures. Today, individuals can use Linux to produce and distribute video in numerous formats; for example, YouTube, iTunes, DVD, and Blu Ray. Linux is no longer a hobbyists' tool, but a powerful production system that can be custom tailored. However, setting up a system like this is not for the faint of heart. Video and audio encoding and compression schemes can drive one to drink. Editing software in Linux is not polished, but difficulties can be overcome with perseverance. I will attempt to show how to create a working production workflow using Fedora, Cinelerra and various open source tools to produce a video ready for YouTube, iTunes, DVD and Vimeo.

TRANSCRIPT

  • 1. Video Production Using Open Source Tools
    • Scott C. Frase
    • webmaster
  • 2. blogger, musician, video enthusiast

3. travails of video editing on linux

  • crazedmuleproductions.blogspot.com

You

  • Video editors in the crowd?
  • Preferred OS?Any Linux users?

Total beginners? 4. Video Production Using Open Source Tools

  • Agenda
  • Why use Open Source to work with video?

5. Video production in Linux

  • Take some video

6. Edit it 7. Output it to common formats 8. Automate repetitive tasks Examples Feel free to interrupt and ask questions! 9. Why You Shouldn't Use Linux for Video

  • Steep learning curve
  • Not for novice computer users

Be ready to deal with unexpected problems

  • If you don't mind troubleshooting, you'll like editing with Linux

New version -> new problems

  • Ubuntu, Gentoo, Fedora, Debian, SUSE

10. Why You Should Use Linux for Video

  • Software wants to be free
  • The tools cost nothing but your time and effort

Open source

  • Change it if you want

Script repetitive tasks, like exporting video 11. Open ended and powerful

  • Can create most any effect you want through a variety of tools

12. Why do I choose to edit in Linux?

  • Cost

13. Feeling of satisfaction 14. High quality results 15. Creative freedom 16. Giving back to the community 17. But sometimes I ask..

  • Lord, why do I put myself through this torture?

18. ..for the results! 19. Cinelerra example

  • Oil painting effect
  • http://www.youtube.com/watch?v=46C-HJUlOyY

20. Cinelerra example

  • Chroma keying
  • http://www.youtube.com/watch?v=-baOOOAgneE

21. Cinelerra example

  • Camera automation and chroma key
  • http://www.youtube.com/watch?v=bsL2lFpzduA

22. Cinelerra example

  • Rotate and Perspective
  • http://www.youtube.com/watch?v=rlbJc8q-LxA

23. Editing results

  • Motion stabilization .. before
  • http://www.youtube.com/watch?v=gAQnboWCxEU

24. Editing results

  • Motion stabilization .. after
  • http://www.youtube.com/watch?v=LuQ-pa46OZc

25. Cinelerra example

  • And you can make a neat animated map
  • http://www.youtube.com/watch?v=nYzqicH1g3g

26. The Work of Video Production

  • Take some video with a camera

27. Bring it into your PC 28. Edit it with specialized software 29. Burn a DVD of the video 30. Share with others 31. Video Production, 2009

  • Take some video with a camera

32. Bring it into your PC 33. Edit it with specialized software 34. Export the video to different formats

  • DVD, also HDTV, Internet, iPod

35. Test to make sure they work Have the world view your creations

  • Distribute it via online services

36. Get the word out by syndication (RSS) 37. Video Production with Linux

  • Take some video with a camera

38. Bring it into your PCwith DVGRAB 39. Edit itwith Cinelerra 40. Export the videousing mplex and FFmpeg

  • DVD, also HDTV, Internet, iPod

41. Test to make sure they work Have the world view your creations

  • Distribute it via online services

42. Get the word out by syndication (RSS) 43. Capturing Video from Tape/Live

  • Use DVGRAB
  • Comes standard with most distributions

44. If not, download it

  • yum install dvgrab*

45. apt-get install dvgrab Let's grab some video

  • Turn on camera

46. Verify it is working (dmesg, plugreport) 47. dvgrab 48. DVGRAB

  • Once grabbed, let's import the video into our editing software, Cinelerra
  • Import video

49. See it on the timeline

  • Video stream

50. Audio stream 51. Video File Formats

  • Container
  • contains both video & audio streams

52. Quicktime, MPEG-PS, MPEG-TS, AVI Video stream

  • Compressed formats (smaller size, artifacts)
  • MPEG1/2/4, H.264, JPEG, MJPEG

Uncompressed formats (huge, best quality)

  • RGB/RGBA/YUV

Audio stream

  • MPEG2, MP3, MPEG4/AAC, PCM, Twos

53. Video File Format

  • Output from my cam: MPEG2-TS
  • Container: transport stream

54. Video Stream: 720P video 55. Audio Stream: MPEG, Layer II 56. Cinelerra Editing

  • Set Your Preferences (shift-P)
  • ALSA sound driver, Stop Playback Lockups

Set Project Format (shift-F) 57. Timeline

  • CTRL-click on it to cycle timeline scale

58. Playback, video fader, audio fader 59. Video fade, audio fade Viewer 60. Cinelerra Editing

  • Compositor
  • Camera

61. Projector

  • Patchbay
  • Play, record, tab, shift-tab

Masking

  • Shift-alt to move entire mask

Automation via keyframes 62. Cinelerra Effects

  • Fun

63. Video effects take a LOT of CPU power 64. Render overnight

  • Confirm effect by rendering small sections at a time

65. Use a renderfarm for more power 66. Cinelerra Output

  • Rendering
  • Where will the video be seen?
  • DVD, YouTube, iPod, HDTV

DVD

  • MPEG-PS: MPEG2 video, MPEG layer II audio

YouTube

  • Quicktime: most video/audio formats

iPod/iPhone

  • Quicktime: H.264 video, AAC audio

67. Cinelerra Output

  • Rendering
  • Shift-R

68. Cin's rendering engine is a GUI front end to a command line interface 69. Output

      • Video stream
    • 70. Audio stream
      • Combined into a container in the next step

71. Test, Test, Test

  • Render small sections (< 30 sec)

72. Test the output in multiple apps

  • mplayer

73. totem 74. ffplay 75. vlc 76. xine 77. Automate the File Conversions

  • Here is where Linux is your friend!

78. Automate via scripts wherever possible

  • convert our source file to other formats
  • DVD

79. HDTV 80. iPod/iPhone via iTunes 81. Internet

  • YouTube, Vimeo

82. iTunes

  • Copy iPod file to USB flash drive

83. Reboot to Mac 84. Load to iTunes 85. Load up to Vimeo 86. Open Source Video Production

  • That's all folks.. I'm available for questions after the presentation Scott C. Frase http://crazedmuleproductions.blogspot.com

87. Cinelerra

  • Requirements
  • HD editing
  • Dual core, 2.4Ghz, 2GB minimum

88. Use 64-bit OS best 89. Recommended: dual core, fast Ghz, 4GB min

  • My main system: dual quad core, 1.6Ghz, 10GB

DV editing

  • Single core, 2.4Ghz, 1GB

Always go 64-bit 90. CinelerraInstallation, easy

  • Fedora 10, x86_64
  • Add Kwizart repository
  • http://rpms.kwizart.net/kwizart-release-10.rpm

sudo yum install cinelerra-cv*Ubuntu Gutsy

  • sudo gedit /etc/apt/sources.list

91. deb http://giss.tv/~vale/ubuntu64 ./ 92. sudo apt-get update 93. sudo aptitude install cinelerra 94. CinelerraInstallation from Source

  • Anyone done this before?

95. install the dependencies for Cinelerra 96. get the Cinelerra source

  • git clone git://git.cinelerra.org/j6t/cinelerra.git cinelerra_source

run ./autogen.sh 97. run ./configure 98. run "make" 99. run "make install" 100. Cinelerra

  • Optimizations
  • Stripe set working drive (RAID0)

101. Mirror your assets directory (RAID1)

  • You don't want to lose your work!!

102. Hardware RAID usually faster 103. Linux doesn't like hardware RAID 104. Software RAID fine Create large ramdisk for temp files

  • Background rendering

105. Index files (.bcast directory) 106. Cinelerra Problem

  • Knowing which container and compression schemes work!

107. Cinelerra Problem

  • Audio, video synchronization
  • Solved via audio or video delay effects

108. Also, the nudge feature in the patchbay