flashback group 22
DESCRIPTION
Flashback Group 22. Marlon De La Cruz (EE) Rene Martinez ( CpE /EE) Trenton Reed (EE) Marlon Smith ( CpE ). What is Flashback (Patent Pending). Goals and Motivation. Patent Pending DVRs are costly Gain Experience ARM / Linux Development Qt / C++ GUI PCB Design Graduation. - PowerPoint PPT PresentationTRANSCRIPT
Slide 1
Marlon De La Cruz (EE)Rene Martinez (CpE/EE)Trenton Reed (EE)Marlon Smith (CpE)FlashbackGroup 221What is Flashback (Patent Pending)
2Goals and MotivationPatent PendingDVRs are costlyGain ExperienceARM / Linux DevelopmentQt / C++ GUIPCB DesignGraduation3RequirementsProcess videos of at least 30 frames/secAccurate video and audio syncingMPEG-2 supportH.264 supportIR remote control Non-Invasive user interfaceMemory Management Unit (MMU)Two channel video captureProcess OTA Transmitted Channels4Software SpecificationsCommercial Detection < 0.5sGUI Responses < 0.5sChannel Tuning < 3sLive TV lag < 5s5Hardware Specifications512 MB of Ram1 GHz clock16 GB storage deviceTV Tuners function between 42 866 MHz38.6 Mbps Data throughputStandard Definition Video Filter Gain > 6 dBAudio SNR > 72 dB
6Hardware Peripherals10/100 EthernetUSB 2.0 and upMicroSDHDMIComponent Video/Audio
7Processor ImplementationOMAP4470TMS320DM8168 (DaVinci)ARM1176/BCM2835AM335xDM37308MicroprocessorNameCostSpecsGPIOs AvailableSufficient DocumentationTMS320DM8168$149.00-ARM Cortex A8-up to 1.35 GHz-2 GB RAM1031YesARM1176JZF-SBCM2835N/A-up to 1 GHz-JTAG debug support21NoAM355x$34.00-up to 1 GHz-Linux, Android and Windows Embedded CE-2 USB OTG ports-ARM Cortex A867YesDM3730
$46.00-ARM Cortex A8-up to 1 GHz140Yes9Dev Board Considerations Raspberry Pi
BeagleBone Black
Gumstix OVERO
10TV Tuner
11
TV TunersPCB
TV Antenna12IR ReceiverReceiver: TSOP38238
13Schematic Overview
14HDMI
15HDMITexas Instruments: TFP410IC InterfaceEnhanced PLL Noise ImmunityNo HYSYNC Jitter AnomalyNegligible Data-Dependent Jitter24-bit True Color Pixel Format11 mm x 11 mm 64-Pin PackageFree Samples
11mm11mm16SD Video Filter
17SD Video FilterTexas Instruments: THS7315Butterworth 5th Order LPF 8.5 MHz (-3dB)14.3 dB GainSupports Composite and S-Video Output3 Channels5 mm x 6.2 mm 8-Pin PackageFree Samples
5 mm6.2 mm18Audio
19AudioTexas Instruments: DRV601SNR 105 dBLow Noise and Total Harmonic DistortionPop Reduction Circuitry4 mm x 4 mm 20-Pin PackageFree Samples
4 mm4 mm20Operating Systems ConsiderationsUbuntu
ArchLinux
Angstrom
21Ubuntu 12.04 LTSLinux Kernel v3.2+Desktop EnvironmentQt SupportCommunity SupportFamiliarity
22Software Development (IDE)Qt CreatorMicrosoft Visual Studio
23QtCreatorCross Platform CompatibleProgramming Language: C++GUI development formsOpenCV and FFMPEG compatible
24Visual StudioProgramming Language: C, C++, C#, .NETTarget Platform: WindowsQt Plug Ins and Qt SDK for Cross CompilationOpenCV and FFMPEG compatible25
GUI Design
26Qt Media Encoding LibraryThird party media encoding library specifically for Qt.Library wraps OpenCV and LibAV from FFMPEG.Target Platform: Windows27OpenCVOpen Source Computer Vision cross platform library.Available on multiple languages and development environments.Streamlined fashion of accessing pixels in a given video frame.Only supports processing on images.28FFMPEGCross platform audio and video streaming, decoding, encoding, and recording library.Available on multiple languages and development environments.Used in many video streaming applications.29QtMEL Vs OpenCV and FFMPEGWe elected to use OpenCV and FFMPEG.More documentation on OpenCV and FFMPEG than QtMEL.Easier to create our implementation of a media player with more control over the audio and video streams.Above all QtMEL is only available on Windows devices30
31Software Class Diagram
32Detection AlgorithmsSilence and Black ScreenLogo absence detectionHigh Cut Rate detection
33Silence and Black Screen34
Logo Absence DetectionA database of known station logos with their coordinates will be stored in memory.Each logo will be accessed by key value.Using OpenCV, the difference of the images will be taken.If a zero is produced the current stream isnt on commercial35High Cut Rate DetectionCut Rate - difference in pixel density between two or more framesHigh cut rates indicate rapid change in pixel densities between frames.Using the standard deviation between the pixel densities we can determine commercial breaks.36Recording
37PowerCUI PJ1-022 Power JackTIs TPS62111 Step-Down ConverterTIs REG711 Converter
2.75 mm0.65 mm
4.8 mm4 mm4.8 mm6 mm38Work DistributionMarlon De La CruzPCB Layout and DesignIR Design and ImplementationPower Management
Trenton ReedPCB Layout and DesignHardware Peripheral DesignProcessor Implementation
39Work DistributionRene MartinezMedia StreamingGUI DevelopmentCommercial Detection Algorithm/Analysis
Marlon SmithSystems IntegrationEagle Library ModificationQt Environment Execution40BudgetProductDescriptionQuantityPrice (per unit)Total PriceOvero TidalStormDM3730 Development Board1$139.00$139.00SummitPrototype Board1$49.00$49.00AVerTV H826TV Tuner2$44.99$89.9874AHC1G126DBVRE4Buffer and Line Driver4$0.28$1.12DRV601Audio Line Driver1FREEFREEUSBLC6-2P6High Speed Interface Protection2$0.92$1.84DLP0NSN900HL2LCommon Mode Filters12$0.44$5.28DVIULC6-4SC6ESD Protection4$1.26$5.04MC1411B7 Segment LCD2$0.35$0.70REG711DC-DC Converter2FREEFREEConnectorsVarious8$50$50PCA9306IC Bus1FREEFREETPS2051BPower Distribution Switch1FREEFREETHS7315Video Amplifier1FREEFREETFP410DVI Transmitter1FREEFREETPS62111Step-Down Converter1FREEFREERLCVariousTBD$20$20ShippingTBD$100$100PCB6 Layers1$220.50$220.50Total$682.46Budget$100041Progress42Current StrugglesPCB Routing Constraints
Eagle Libraries
TV Tuner driver API
Potential A/V SyncingQuestions44tv tunerSI LabsSi2177CrestaTechCTC703HauppaugeWinTV-HVR 950QAVerMediaH826TV TransmissionStandardNTSCATSC/QAMPAL/SECAMDVBT2/T/C2/CISDB-T/CDTMBNTSCATSC/QAMPAL/SECAMDVB-T2/T/C2/CISDB-TNTSCATSC/QAMNTSCATSC/QAMDemodulatorHybridAnalogHybridHybridEncoderN/AN/AMPEG-2MPEG-2H.264InterfaceICICUSB 2.0USB 2.0Remote ControlIncludedN/AN/AYesNoCost$1.93FREE$71.99$49.99
Sheet2
Sheet3