1 / 38

Video Tales and Fails: Recording your conference and sharing it with the community

Video Tales and Fails: Recording your conference and sharing it with the community. SkyDog & IronGeek. Who are we?. I run Irongeek.com I have an interest in InfoSec education I don’t know everything - I’m just a geek with time on my hands

herbst
Download Presentation

Video Tales and Fails: Recording your conference and sharing it with the community

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Video Tales and Fails: Recording your conference and sharing it with the community SkyDog & IronGeek

  2. Who are we? • I run Irongeek.com • I have an interest in InfoSec education • I don’t know everything - I’m just a geek with time on my hands • Sr. Information Security Engineer at a Fortune 1000 • Co-Founder of Derbyconhttp://www.derbycon.com • Runs Skydogcon, Outerz0ne and is a volunteer/goon at Defcon, Shmoocon and many other cons • Got a real purdy mouth

  3. Why we may know what we are talking about (take with a grain of salt and a shot of tequila) Together Trevor and Adrian have had experience doing video at the following conferences: • Skydogcon • Derbycon • Hack3rcon • Outerz0ne • Phreaknic • BSidesLas Vegas • BSides Cleveland • Notacon • Louisville Infosec • ShmooconFiresides • …and others we forget.

  4. Why we got into recording hacker cons • We love sharing content • We run our own • Great advertisement for future cons • Professional houses are expensive • Faster turn around

  5. History of our rigs

  6. Single Camera • Simple • Sucks for slides • MiniDV used to suck forgetting off the tape, but at least you could do direct capture on them

  7. Scan converter, slides and a video switch. Presenter’s Laptop Live Capture VGA to S-Video USB Video Capture Composite & S-Video Switch Capture Laptop

  8. Enter AVISynth • Composite Picture-In-Picture in post • Avisynthhttp://avisynth.org • AVISynth Virtual File Systemhttp://www.turtlewar.org/avfs/ • BeHappy Pluginshttp://behappy.codeplex.com/

  9. Setups Irongeek’s Old Rig Skydog’s Old Rig Live Capture Live Capture Presenter’s Laptop Presenter’s Laptop Slide Capture Laptop VGA to Composite VGA to S-Video USB Video Capture V-Mate V-Mate

  10. Video Connectors In Descending Levels of Quality • HDMI or DVI • Both are digital, and electricallysimilar. SDI is also digital, but more for pro gear. • VGA and Component • Can look almost as good as HDMI • S-Video • Better than composite • Composite • Looks like crap Images from Wikipedia by Evan-Amos

  11. Audio • Martin does most of this at Derbycon, but here are a few recommendations • Make sure you have testing time • Small cons may work with ambient audio, but for large ones it sucks • Avoid long cable runs • Don’t have one cable on top of another, it may induce a current • Have devices plugged into same wall outlet (up to a limit) • Have converter cables for XLR to 3.5mm stereo • Audacity can work wonders

  12. So, how did I make these?

  13. Hardware • Laptop • Video CameraUSB Video Capture Devicehttp://www.dealextreme.com/p/usb-2-0-video-audio-grabber-capture-49146 • VGA to S-Video converterhttp://www.dealextreme.com/p/usb-powered-vga-to-composite-s-video-converter-box-1280-1024px-max-26804 • SanDisk V-Mate

  14. Windows Media Encoder x64 Edition • Google for it. It’s been replaced on Microsoft’s site with Expression Encoder.

  15. AVIDemux • http://fixounet.free.fr/avidemux/

  16. VirtualDub • http://www.virtualdub.org/

  17. Audacity • http://audacity.sourceforge.net/Also download LAME and FFMpeg while at the site

  18. Clock, Clock, Clock-in on Heaven’s Door • Frames since Midnight • Makes timing videos easier • Still used to check sync

  19. FFMPEG(Mostly for OSB method) • Recombine Audioffmpeg -iinput.flv -c copy -copyts output.mp4 • Recombine & Resample Audioffmpeg-iinput.flv -ar 22050 output.mp4 • Loop through the aboveFOR /F "usebackqdelims==" %i IN (`dir *.flv /b`) DO ffmpeg -i %i -c copy -copyts fixed\%~ni.mp4FOR /F "usebackqdelims==" %i IN (`dir *.flv /b`) DO ffmpeg -i %i -ar 22050 fixed\%~ni.mp4

  20. FFMPEG for putting vids together • Christopher Hawkins gave me something like this:ffmpeg-loop 1 -i sponsors.png -i slides.mp4 -i 00000.MTS -i corner.mp4 -filter_complex "amix=inputs=2; [0:v] fade=t=out:st=1:d=2 [sponfad]; [1:v] fade=t=in:d=3, pad=iw+480 [fadpadslide]; [2:v] scale=480:360, fade=t=in:d=2 [fadspeak]; [3:v] fade=t=in:d=2 [fadcorn]; [fadpadslide][fadspeak] overlay=x=main_w-overlay_w [tmp1]; [tmp1][fadcorn] overlay=x=main_w-overlay_w:y=main_h-overlay_h [tmp2]; [tmp2][sponfad] overlay=x=main_w/2-overlay_w/2:y=main_h/2-overlay_h/2" -c:v libx264 -crf 20 -preset veryslow -shortest test.mkv

  21. Codecs and Filters(Install order and version to use is confusing as hell) • Ffdshowhttp://ffdshow-tryout.sourceforge.net/http://x264.nl/ • Video for Windows x264http://sourceforge.net/projects/x264vfw/ • XVIDhttp://www.xvid.org/Downloads.15.0.html • Haali Media Splitter (for working with MP4s)http://haali.su/mkv/ • DSFMgr (remove filters)http://www.softella.com/dsfm/index.en.htm • Lamehttp://lame.buanzo.com.ar/ • K-lite should be avoided

  22. Stop! Demo Time! SetMemoryMax(256) #SetMTMode(3) a =DirectShowSource("00000.MTS", fps=25,convertfps=true) b =DirectShowSource("00001.MTS", fps=25,convertfps=true) rawslides=DirectShowSource("slides.mp4", fps=15,convertfps=true, audio=false) splicedvideo=AlignedSplice(a,b).ConvertToMono #splicedvideo=a.ConvertToMono #cleandub = DirectShowSource("clean.wav") #Just a for a logo for the corner, I use it to give info about the presentation. corner =ImageSource("corner.png",pixel_type="RGB24").LanczosResize(480,360).Subtitle("\nTitle\nSpeaker",size=30,align=8,lsp=10,halo_color=$00aa00,text_color=$aaffaa) sponsors =ImageReader("sponsors.png",pixel_type="RGB32").LanczosResize(1440,720) #SetMTMode(3) #The line tells the script what to use for the large section of the video where I put the slide show/what was being projected slides = rawslides.ConvertToRGB24().ConvertFPS(25).Trim(0,0,false).LanczosResize(960,720) livevid= splicedvideo.ConvertToRGB24().Trim(0,0,false).crop(250,0,1080,1080).LanczosResize(480,360) #Now to add all the file together livepluscorner=StackVertical(livevid,corner) StackHorizontal(slides,livepluscorner).AudioDub(livevid).insertsign(sponsors,1,150) #SetMTMode(6) #insertsign(sponsors, 1, 150) #I think I got this function from TheFluff here: http://forum.aegisub.org/viewtopic.php?t=363 function insertsign(clip mainclip, clip overlayclip,intstartframe,int"endframe"){ endframe=default(endframe,startframe+overlayclip.framecount()-1) endframe=(endframe==0)?startframe+overlayclip.framecount()-1:endframe endframe=(endframe>=mainclip.framecount()-1)?mainclip.framecount()-1:endframe begin =(startframe==1)?mainclip.trim(0,-1):mainclip.trim(0,startframe-1) middle =mainclip.trim(startframe,endframe) end =(endframe==mainclip.framecount()-1)?blankclip(mainclip,length=0):mainclip.trim(endframe+1,0) middleoverlay= Overlay(middle,overlayclip, mask=overlayclip.showalpha()) final =(startframe==0)?middleoverlay++ end : begin ++middleoverlay++ end return final }

  23. How to get them out fast! • Recording the conference is the middle part • Prep • Art needs to be ready before the con • Skelton web pages and bios • Pre-generated directories • Files with titles and file names • Training Volunteers • Get reliable video staff • Handout and video training • People will flake

  24. New System! • Live picture in picture rendering! • Open Broadcaster Software (OBS)http://obsproject.com • Faster and gives options to stream! • HDMI Capture on USB 2.0 devices is a few seconds behind so we had to add a delay

  25. Derbycon3.0 Hardware • Canon Consumer Camcorder (VIXIA $300 to $400) • ElgatoGame Capture HD ($157.99)http://www.bhphotovideo.com/c/product/879363-REG/Elgato_Systems_10025010_Game_Capture_HD_High.html • 2X2 SVGA VGA MATRIX Switcher ($28.05)http://www.monoprice.com/products/product.asp?p_id=4083 • STC-250N for composite out of cameras ($14.95)http://www.bhphotovideo.com/c/product/184982-REG/Canon_3067A002_STV_250N_Mini_A_V_Angled.htmlbe careful what you get! • VGA to HDMI Scaler $31.79 • Video Capture Dongle S-Video/Composite http://www.monoprice.com/products/product.asp?p_id=5616 • Tripods

  26. Problems • VGA to HDMI scaler failed to convert a lot of laptops’ signals • EDID of projector vs. scaler may have been the issue • 4x3 matted with black bars, which got compressed again because we expected to skew something 16x9 to 4x3 • Long cable runs and lack of testing time may have caused the audio/ground noise we got • If the scaler failed with a given laptop, we went full screen with the camera, but composite capture sucked! • Fixing in post with raw capture would have been easier, but getting the whole con up would have taken longer

  27. Hardware Changes for Hack3rcon • AverMedia Live Gamer Portable ($157.99)http://www.bhphotovideo.com/c/product/983193-REG/avermedia_c875_live_gamer_portable.html • LKV351PRO VGA to HDMI Scaler($51.99)(Having a problem getting the above scaler to work with AverMedia LGP) • Now I can ditch the composite capture device, take HDMI out of the camera into the Elgato and use LGP for capturing the presenter’s laptop Evan at Skydogcon is using: • GefenEXT-VGAAUD-2-HDMIS VGA to HDMI Scaler($187.76) • Blackmagic Design UltraStudio Mini Recorder Capture Device ($137.75)

  28. Problems & Other Options • Elgato was slower to start, but lag was a more or less fixed amount • AverMedia LGP varied lag as time went on in OBS Other option to record speaker? • Logitech HD Webcam C615 1080P ($36.99) • Fast • Small (just one device) • Use sound card in laptop if you do not want ambient • Very compressed “1080p” • Limited zoom options

  29. New Live Capture Setup Irongeek’s OBS Rig Presenter’s Laptop VGA Switch USB Video Capture VGA to HDMI Scaler HDMI USB Video Capture Slide Capture Laptop

  30. OBS Demo

  31. Hardware Extras • MiniDisplay to VGA/HDMI adapters • So many forget their own • HDMI to VGA adaptershttp://www.meritline.com/hdmi-to-vga-adapter-audio-vga-to-hdmi-converter---p-113124.aspx • USB Active Cableshttp://www.monoprice.com/products/product.asp?p_id=8489 • Cables, Cables, Cables (Monoprice)

  32. Scott’s Rig? • Epiphan all in one boxhttp://www.epiphan.com/products/recording/lecture-recorder-x2/ • Expensive, $1600+ • Hopefully as more “Game”recorder systems come outthis will be cheaper to do Skiboy.org: Failing since 1995.ONE Little Scooty Moulton shirt available at the HFC auction.

  33. Hosting the videos • Youtube • Get a director account • Archive.org • Borrow university bandwidth • Others • Blip TV • Vimeo

  34. Tips to speakers. How not to drive the recording guy crazy • Moving around a lot (We have to live with it) • Bring your dongles • Have you hooked your laptop to a projector before? • Rock the MIC (or at least speak into it) • Repeat audience questions • Please don’t show/say stuff that needs to be redacted • Client info • Doc on desktop

  35. Future plans • Hacker con recording gear loaner program • We want to make a traveling box that we can send from con to con to record their talks • Adrian is planning to donate some old gear just to get it out of the house

  36. More Useful Sites • AVISynthWikihttp://avisynth.org/mediawiki/ • Video Help (great for tools and forums)http://www.videohelp.com/ • Doom 9 Forumshttp://forum.doom9.org/ • Nice overview of AV connectorshttp://www.ramelectronics.net/howto-av.aspx

  37. Events DerbyconSept 24th-28th, 2014http://www.derbycon.com Others Photo Credits to KC (devauto) Derbycon Art Credits to DigiP http://www.louisvilleinfosec.comhttp://skydogcon.comhttp://hack3rcon.org http://outerz0ne.orghttp://phreaknic.infohttp://notacon.org

  38. Questions? 42 Twitter: @Irongeek_ADC

More Related