Record video streams as MPEG file

Hi all,  
I am writing a Kinect WPF application,
Can anyone recommend a best method of how to record video streams (color/depth/IR) as MPEG file?
Is there any microsoft library that can enable that?
Preferably I would like to control compression ratio.
Thanks!

the only Microsoft media libraries that support recording video is DirectShow/Media Foundation. Both of which are only supported in c++. You will be able to find sample code for these on the MSDN website and Windows 8 SDK.
https://code.msdn.microsoft.com/windowsdesktop/Media-Foundation-Capture-78504c83
Carmine Sirignano - MSFT

Similar Messages

  • How to publish and record video stream in h.264 format

    I'm a fresher. I want to publish and record video stream in h.264 and audio stream in AAC format .
    Does flash player support to publish video stream in h.264 format ?
    And which version of flash player and FMS could implement this function ?
    Thank you very much.

    The Flashplayer does not support h264 or AAC publishing. The Flashplayer supports only h.263 (sorenson spark) video, and Nellymoser Asao and Speex audio.
    If you want to publish h.264 you'll need to use Flash Media Live Encoder, or a third party encoder.

  • Does Premier Elements allow me to record video streaming from the internet?

    Does Premier Elements allow me to record video streaming from the internet?  If so which version and how?

    kc42k
    Although Premiere Elements is not going to record streaming video from the Internet but there are other programs that can, you should consider the terms of service for the web site that is the source for the streaming video.
    Online, there are very comprehensive articles on numerous programs that will do the recording.
    But, even those articles point out that many of the Internet web sites that you target for their videos have terms of service that would legally prohibit the recording of streaming video from the named web sites, one example, YouTube, if no download button and depending on the terms of service.
    Please consider. Any questions about the above, I can point you to the appropriate documentation on the matter.
    Thank you.
    ATR

  • How can I publish and record video stream in h.264 format

    I'm a fresher. I want to publish and record video stream in h.264 and audio stream in AAC format .
    Does flash player support to publish video stream in h.264 format ?
    And which version of flash player and FMS could implement this function ?
    Thank you very much.

    The Flashplayer does not support h264 or AAC publishing. The Flashplayer supports only h.263 (sorenson spark) video, and Nellymoser Asao and Speex audio.
    If you want to publish h.264 you'll need to use Flash Media Live Encoder, or a third party encoder.

  • Recorded video stream with h264 video codec is Blocky/Blurry

    In my application I am using H.264 with setting h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_1); and  record stream in f4v format
    publish("mp4:"+streamName+".f4v", "record");
    Now In the live session stream in fine at receiver end but When I watch recorded file Its quality was very poor. It looks very Blocky and blurry. I am using Flash Media Server 3.5.7
    Anyone having solution  then please let me know.

    Hello,
         When  I play recorded video file through RTMP connection then it playing good and no Blurry and blocky streaming. Can anyone solve this issue.

  • Bilder einer GigE-Kamera mit LabWindowsCVI grabben, auswerten und als Video-Stream in AVI-File speichern

    Ich möchte in einer LabWindowsCVI-Anwendung Bilder einer GigE-Kamera mit IMAQdx grabben und mit dem NI Vision Devolpment Modul auswerten und als Videostream mit 30 fps in einem AVI-File speichern. Mit "imaqCreateAVI" und "imaqWriteAVIFrame" kriege ich das avi-File zwar geschrieben, erzeuge aber wahlweise sehr große Datenmengen oder zu gering aufgelöste Videos mit den zur Verfügung stehenden Kompressionsfiltern  Ein H.264 Video Encoder ist im aktuellen Vision Development Module wohl nicht enthalten, oder? Kann ich den auf anderem Wege bekommen oder kommt der demnächst im VDM2013?

    Thank's, GuentherMueller, I think ist is a  good idea to carry on in English. Hopefully I'm not the only CVI user who wants to create AVI-Files to archive the images from a IMAQdx driven camera. Perhaps and I can get some advice from others already concerned with my question. I also used "imaqGetFilterNames()" to get the list of available compression filters on my PC. In fact I've got two different development machines, and I put a screenshot of the one with the newest VisionDevelopmentModul Version 2012SP1, a windows7prof64Bit system, as an attachment to this reply to show the installed NI software components and the compression filters found on it by my CVI-Program. When I start my program on an older XP-System still used to compile older CVI2010SP1 applications, I get some different compression filters displayed, how and when they were installed on my PC... I don't know. Which compression filters are really delivered with Vision Development Module 2012 SP1? How can I install and use different ones like xvid or x264?
    Thanks for your help!
    Attachments:
    NIcomponentsAndCodecsOnWin7prof64Bit(NewstVersions).jpg ‏163 KB

  • Which tool can convert DVD(MPEG-2) video stream to MPEG-4?

    And how about sound? Any free format comparable to Xdiv?

    yeh - xvid is an open-source fork of divx, and the quality is meant to better than divx4 at least, although I can't tell the difference.
    mencoder is an excellent tool for doing almost anything with video - and the docs are great too...
    http://www.mplayerhq.hu/DOCS/HTML-singl … -dvd-mpeg4

  • No audio video streams upon import of .mov files?

    Hi... recently upgraded OS onto Intel 240 GB SSD. Running Widows 7 64 bit, clean re-install, 24 GB RAM, NIVIDIA Quadro FX 4800. I have been trying to optimize the system for maximum GPU accelerated effects while also taking advantage of the high speed read and write of my disk. OS runs on SSD, Adobe media cache on separate 2 TB eSATA connection, Media stored on external drive USB 3.0. Without getting into the fine details this is a snapshot of my workflow.
    The few problems I am encountering are some .mov files cannot be imported to PP. Error reads no audio or video stream in the files. I suspected metadata issues so tried to import with media browser and still no luck. These files worked perfectly before I began surgery 2 days ago on my computer. I have installed the latest version of quicktime and yet to no avail. Any recommendations here regarding my issue with imports or suggestions to benefit from my hardware would be appreciated.

    MOV is a wrapper, what is inside YOUR wrapper - Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    https://forums.adobe.com/thread/1070933 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • 'File has no audio or video streaming' error -- I have codecs!

    Hi!
    I really hope someone can help me!
    I am trying to import MOV files into Premiere CS5 (latest version, just downloaded last week) and I get the error message "file has no audio or video streaming.'
    I can open these files just fine in Final Cut Pro X (which I hate, so hence why I am back on Premiere).
    I already downloaded Quicktime 7, and the Quicktime Pro Codecs here (http://support.apple.com/kb/DL1396). When I tried to install those codecs, I got an error saying there is a newer version of the codecs installed on my machine.
    My info:
    Mac OS 10.6.8
    Quicktime 10
    (I read you also needed to download Quicktime 7 for some codecs. I did that, but it didn't help.)
    Premiere CS5.5 (Trial)*
    *I read the old trial did not allow you to import MOVs, but that the new trial does not have an issue -- so I'm at a loss as to what to do.

    Here's the info of the original source files:
    * * * Media Inspector 0.7.443 file analysis report.
    * * * Media Inspector is ©2011 by Diego Massanti - http://mediainfo.massanti.com
    * * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
    Created on: Feb 1, 2012 2:32:58 PM CST
    Report for file: 0002QZ.MXF
    General / Container Stream #1
              Total Video Streams for this File.................1
              Total Audio Streams for this File.................4
              Video Codecs Used.................................DV
              Audio Codecs Used.................................PCM / PCM / PCM / PCM
              File Format.......................................MXF
              Play Time.........................................4mn 55s
              Total File Size...................................3.96 GiB
              Total Stream BitRate..............................115 Mbps
              Encoded with......................................Panasonic P2 2.0
    Video Stream #1
              Codec (Human Name)................................DV
              Frame Width.......................................960 pixels
              Frame Height......................................720 pixels
              Frame Rate........................................29.970 fps
              Total Frames......................................8850
              Display Aspect Ratio..............................16:9
              Video Standard....................................NTSC
              Scan Type.........................................Progressive
              Color Space.......................................YUV
              QF (like Gordian Knot)............................5.187
              Video Stream Length...............................4mn 55s 295ms
              Video Stream BitRate..............................107 Mbps
              Video Stream BitRate Mode.........................VBR
              Bit Depth.........................................10 bits
              Video Stream Size.................................3.69 GiB (93%)
    Audio Stream #1
              Codec.............................................PCM
              Audio Stream Length...............................4mn 55s 295ms
              Audio Stream BitRate..............................768 Kbps
              Audio Stream BitRate Mode.........................CBR
              Number of Audio Channels..........................1
              Sampling Rate.....................................48.0 KHz
              Bit Depth.........................................16 bits
              Audio Stream Delay................................21h 58mn
              Audio Stream Size.................................0.00 Byte (0%)
    Audio Stream #2
              Codec.............................................PCM
              Audio Stream Length...............................4mn 55s 295ms
              Audio Stream BitRate..............................768 Kbps
              Audio Stream BitRate Mode.........................CBR
              Number of Audio Channels..........................1
              Sampling Rate.....................................48.0 KHz
              Bit Depth.........................................16 bits
              Audio Stream Delay................................21h 58mn
              Audio Stream Size.................................0.00 Byte (0%)
    Audio Stream #3
              Codec.............................................PCM
              Audio Stream Length...............................4mn 55s 295ms
              Audio Stream BitRate..............................768 Kbps
              Audio Stream BitRate Mode.........................CBR
              Number of Audio Channels..........................1
              Sampling Rate.....................................48.0 KHz
              Bit Depth.........................................16 bits
              Audio Stream Delay................................21h 58mn
              Audio Stream Size.................................0.00 Byte (0%)
    Audio Stream #4
              Codec.............................................PCM
              Audio Stream Length...............................4mn 55s 295ms
              Audio Stream BitRate..............................768 Kbps
              Audio Stream BitRate Mode.........................CBR
              Number of Audio Channels..........................1
              Sampling Rate.....................................48.0 KHz
              Bit Depth.........................................16 bits
              Audio Stream Delay................................21h 58mn
              Audio Stream Size.................................0.00 Byte (0%)

  • Can quicktime pro capture video stream?

    Can QT pro record video streams off the internet? I thought it was only able to capture embedded video files. Video streams aren't donwloaded into cache, so they have to be saved as they're received. Could someone clarify? Thank you.

    Pro can't save true streaming media.

  • Video streaming capture software?

    I saw an interesting story over at CNET on software that allows video capture when watching a streaming video. They mentioned there is such software for the Mac. However I'm not able to find anything. Does anyone know of any good software for the Mac to allow you to save a Video stream. I see that Firefox has a pluggin that will do this but it doesn't work with every site.

    Snapz Pro has always been able to do that (and MPlayer maybe does) but I know the newer thing you mean, it's a browser Plug-In ?**
    This isn't it but might be worth a look:
    http://all-streaming-media.com/record-video-stream/all-streaming-video-recording -software.htm#recmp
    http://emoney.al.ru/capture-streaming-video-and-audio/
    ** Found it, this latest Firefox extension captures video streams from most common sites.
    https://addons.mozilla.org/firefox/2390/
    "Download videos from Youtube, Google, Metacafe, iFilm, Dailymotion... and other 60+ video sites ! And all embedded objects on a webpage (movies, mp3s, flash, quicktime, etc) ! Directly !"

  • No sound when playing mpeg files

    I can't get quicktime to play sound when I try to play videos that are mpeg files. I already downloaded mpeg-2 playback as well as Perian 1.0 but it still won't play sound. Any suggestions?

    To Apple Discussions!
    Solution
    1. Open Audio MIDI Setup (/Applications/Utilities/), then check the Audio Output setting.
    2. Change the Audio Output setting to 44100.0 Hz.
    3. Quit Audio MIDI Setup.
    KB article - No sound from some applications, but system alert sounds play (Mac OS X 10.3, 10.4)
    Another trick: If you have GarageBand installed, open it (maybe open a GarageBand document) and then quit out of the application.

  • .Mov files in CC : The File Has no Audio or Video Streams

    I recently updated premier to CC , since i have issues iimporting any .mov files at all.
    The specific ones Im trying for my current project are exports from AE , rendered lossless animation .mov , worked fine in CS6 , will play in quicktime and other generic's but always getting the The FIle Has no Audio or Video Streams message when trying to import into a project.
    Quicktime is updated so I can't understand why the won't play, is this a CC bug ?
    i go back to cs6 on my other comp they open fine...
    Ive seen a few topics on this none with a resolution and most of those where from cam's, this is an export from AE, anyone able to help this is stopping me from working atm ......
    troy

    I can verify that Apple screen recordings without audio do not import into any Adobe premeier.
    Details on screen recording from Gspot v2.70a:
    H.264
    qt  : Apple QuickTime (.MOV/QT)
    File Type: QuickTime (.MOV)
    Mime Type: video/quicktime
    Len: 1:03.083
    Frms: 1,521
    Qf: 0.153
    Frames/s: 20.000
    wx: 1280 x 800
    sar: 1.600 (8:5)
    However Apple (MAC OSX) screen recordings WITH audio will import.
    I would think this should be fixable with hotfixes...
    If you (adobe staff) have access to macbook pros 2012 or 2013 models, open quick time pro, do a screen recording, make sure no audio is recording, just your screen movements.. then export to 1080p video (mov is only option).. then on a windows PC try to import that file into adobe premiere. The file will play perfectly fine natively in windows with any player so long as a H264 decoder is available on that system... the problem here is Adobe Premiere. Not the users system.
    Edit:
    To help those with this issue.. just make sure when you render your mov that you have ANY kind of audio in it.. and just remove the audio track once imported into premiere. I know it's frustrating and you would think something as simple as not having an audio track wouldn't break premiere but alas... we have to work around the shortcomings until they decide to fix it.. just like the VFR issue in premiere.

  • Premiere Pro CS6 importing .mp4 = "The file has no audio or video streams."

    Hi,
    When I import an MP4 clip into Adobe Premiere Pro CS6, I get the following message:
    "File Import Failure
    151_0010_01.mp4
    Error Message
    The file has no audio or video streams."
    I have the latest Quicktime, and I have reinstalled Premiere Pro CS6 a few times already.  If anyone knows a fix for this, I would greatly appreciate it.  My system and clip info are found below.  Thank you, Robert.
    OPERATING SYSTEM
    Win 7 Ultimate 64bit
    CLIP INFO
    Complete name                         \BPAV\CLPR\151_0009_01\151_0009_01.MP4
    Format                                   : MPEG-4
    Commercial name                    : XDCAM EX 35
    Format profile                         : Base Media / Version 2
    Codec ID                                : mp42
    File size                                : 1.76 GiB
    Duration                                 : 7mn 5s
    Overall bit rate mode                 : Variable
    Overall bit rate                         : 35.6 Mbps
    Encoded date                             : UTC 2009-07-19 04:22:10
    Tagged date                              : UTC 2009-07-19 04:22:10
    Video
    ID                                       : 1
    Format                                   : MPEG Video
    Commercial name                          : XDCAM EX 35
    Format version                           : Version 2
    Format profile                           : Main@High
    Format settings, BVOP                    : Yes
    Format settings, Matrix                  : Custom
    Format settings, GOP                     : M=3, N=15
    Codec ID                                 : 61
    Duration                                 : 7mn 5s
    Bit rate mode                            : Variable
    Bit rate                                 : 34.0 Mbps
    Maximum bit rate                         : 35.0 Mbps
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 29.970 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 1.231
    Stream size                              : 1.68 GiB (96%)
    Language                                 : English
    Encoded date                             : UTC 2009-07-19 04:22:10
    Tagged date                              : UTC 2009-07-19 04:22:10
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    Audio
    ID                                       : 2
    Format                                   : PCM
    Format settings, Endianness              : Big
    Format settings, Sign                    : Signed
    Codec ID                                 : twos
    Duration                                 : 7mn 5s
    Bit rate mode                            : Constant
    Bit rate                                 : 1 536 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 77.9 MiB (4%)
    Language                                 : English
    Encoded date                             : UTC 2009-07-19 04:22:10
    Tagged date                              : UTC 2009-07-19 04:22:10

    I encountered a similar problem.  I had quicktime files that would play in the quicktime player from the desktop, but wouldn't import the files "the file has no audio or video streams".  I had just reinstalled quicktime, and Premier with no change.  Finally realized that we had Barracuda protection that was at fault.  It was preventing communication to the quicktime codec and thus Premier could not interpret the footage.  Another symptom, I would also launch After Effects and it would tell me that quicktime wasn't installed.
    I solved this by uninstalling Barracuda.  We reported the fault to Barracuda, and have not seen any change in the software. 

  • Recording video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http.

    As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?
    What I am trying to do, is to record a user's microphone's input and save it to the server. Afterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
    How can I redirect the http request to the files I was recorded into my applications/appName folder? Or I need to somehow moved the recorded files to the /webroot folder?
    Thanks!

    I probably have asked a stupid question.
    My recorded streams are still saved in the applications/appName/streams folder.
    And I redirect the www.mydomain.com/streams to point to the applications/appName/streams folder.
    And the rmtp recorded streams are abled to connect through http now.

Maybe you are looking for

  • Why won't my FireWire HD partitions stay mounted on my desktop?

    Why won't my FireWire HD partitions stay mounted on my desktop? I recenly purchased a quad interface 500GB external HD from OWC (which is connected via FW800). I then partitioned it for TIME MACHINE, some room for a backup of my primary HD, and parti

  • Macbook Pro Retina "broken" screen loose

    My MBP Retina screen i loose in the left corner, when i'm opening the computer its not like a flow but just like when you are changing gear on your cycle. I don't know what i shall do?

  • How can i get firefox to reconize my norton id safe

    Reinstalled my Norton's Protection suite and now my Identity Safe is not working.

  • JCO call to RFC returns incorrect value

    Hello Experts, I am using JCO to call an RFC from java. One of the returned fields is a timestamp. When I invoke the RFC from within the SAP system, I get a correct timestamp value. But, when I invoke the RFC using JCO, the timestamp value returned h

  • Windows 7 Laptop as headset with hotsync via Bluetooth.

    No device Has anybody tried using thier Windows 7 computer as a headset for the phone operations on thier Treo? I am wondering why this doesn't work. Does anybody have any idea. I have finally got my Treo 755p Hotsyncing using bluetooth with my new W