Supported video codec for Gstreamer Opencv backend

Hi,
I am just starting with opencv. In one of the text book examples involving writing a video file, I have the following line:
    CvVideoWriter *writer = cvCreateVideoWriter("cam_cap", CV_FOURCC('x','v','i','d'), fps, size, 1);
When running the program,  I get the following error:
HIGHGUI ERROR: V4L2: Unable to get property <unknown property string>(5) - Invalid argument
OpenCV Error: Unsupported format or combination of formats (Gstreamer Opencv backend doesn't support this codec acutally.) in CvVideoWriter_GStreamer::open, file /build/src/OpenCV-2.4.2/modules/highgui/src/cap_gstreamer.cpp, line 479
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/src/OpenCV-2.4.2/modules/highgui/src/cap_gstreamer.cpp:479: error: (-210) Gstreamer Opencv backend doesn't support this codec acutally. in function CvVideoWriter_GStreamer::open
Changing the video codec to other formats does not seem to help and I continue getting this error.
Can anyone help?
Thanks.

I'm having the same problem. Please provide some feedback.
I'm suspecting that there's a problem with the gstreamer code.
OpenCV seems to be compiled with Xine support, but not FFMPEG. I don't understand why, since FFMPEG was perfectly working before.

Similar Messages

  • HT202884 How can I update video codecs for iOS using code ?

    In reference to : OS X Mavericks: Some files may be converted when opened in QuickTime Player - Apple Support
    Is there a way to update video codecs for iOS, using code ?

    You could try finding somewhere with free WiFi like a coffee shop, shopping mall or fast-food places & downloading on their connection.

  • Need license for using H.264 Video codec for live stream with FMS 3.5 series

    Hi,
        I am creating a live audio-Video chat application  in which I use H264 video codec for live streaming.  I am using Flash Media Server version 3.5.7. I read some where that H.264 Video streaming using FMS required seperate licencse. So I want to confirm , It is true that H264 video streaming required seperate license? If yes then what is the procedure to get license.
    Please let me know its urgent.
    Regrads,

    Hi Again,
    Thanks for your reply.
    Here are some articles/posts which says about Royalties to use h264:
    http://www.mpegla.com/Lists/MPEG%20LA%20News%20List/Attachments/226/n-10-02-02.pdf 15:27
    http://www.mpegla.com/main/programs/AVC/Documents/AVC_TermsSummary.pdf
    http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=65403&PageNum=3
    http://www.mpegla.com/main/programs/avc/Documents/AVC_TermsSummary.pdf
    According to these, any  product/service provider, need to pay one time fee based on # of subscribers if we are using h264 for encoding and is charging fee from its users.
    About our business: We are web-conferencing solution tool provider and are using Flash Media Server version 3.5.7. I for audio/video. Please help me out if h264 is really free for us or we need to buy license to use that.
    Looking forward to hear from you soon.
    Regards,

  • Changing video codec for recording

    Hi,
    I am using FMS 3.5 and Flash CS3 (though using action script 2 at the mo)
    What I  have is a simple program that records a webcam and saves the result as an FLV. - Note, I am doing all this locally, NOT over the internet or a local server. FMS is on the same PC as the program.
    OK, all works pretty much ok, apart from 2 things....
    1) The frames per second does not seem to be fixing to 25fps, but instead seems to be around 15fps depending upon which pc I use. I'm using: cam.setMode( 320, 240, 25 ); to set the size and frame rate in flash.
    2) When I get the properties for the resulting flv, it says it is using h.263 codec. Is there a way to change the codec that is used (to say h.264)? Or is this dependent on the version of flash used? ie. would creating it in flash 9 using AS3 give a better quality result?
    Thanks for any help - I'm pretty new at all this so bear with me!
    Tim

    1) For the FPS issue - make sure the camera actually supports 25 fps.  Many webcams only support up to 15 fps.
    2) The encoding in this scenario actually takes place in the Flash Player - the only video codec included in the Flash Player for encode is the Sorenson codec regardless of version of the Flash Player.  You can get higher quality encoding using the Flash Media Live Encoder, but this is a stand-alone application.

  • Whats the best video codec for adding movies to iwev

    I want to add movies but need codec and video size for optimization

    iWeb uses QuickTime formats.
    H.264 video and AAC audio are probably best choices.

  • Where can i find a list of supported video files for iPad Air

    I have updated from an iPad 3rd Gen to the new Air.
    Can someone please direct me to where I can find a list of supported video files (bitrate etc.) that the Air will support so that I can rip my own collection at the highest possible quality.
    Thanks,
    Shane

    TV and Video
    http://i1224.photobucket.com/albums/ee374/Diavonex/0204ca1acd88da43c14ac17f21592 0c1_zpsaf9b197c.jpg

  • What is the best video codec for use in Keynote?

    I need to play some videos in a Keynote presentation. They can be 320x480 if necessary. Is there a recommended codec to use that minimizes playback stutter, dropped frames, bad audio sync and crashing the program?

    David,
    I also am having trouble with video in Keynote. I tried MPEG-4 and H.264 at 640 x 480 x 29.97fps (the "Web Download - LAN" setting in Compressor), but I always get pretty bad stuttering on playback. Is there any magic compression setting I'm missing here?
    I'm playing it back on various machines with the same results - 1Ghz G4 iMac / 1.3 Ghz iBook / Dual 1.42 Ghz PowerMac. None of them have super beefy memory (512 - 768MB) but I'd think the stuttering issue would be with the processor not being able to keep up, no? Or is this task handed over to the video card?
    The luck I've currently had as been with the Motion JPEG video codec. IIRC, it is supposed to be very light on the processor during playback so the overhead of Keynote doesn't seem to affect it as much. The trade off is the video files are huge.
    Thoughts?

  • Does jabber support video chat for ios

    i want to develop chat application for ios which support text.voice,video,file transfer and screen sharing .Does jabber support all these feature for implementation ?

    Is that camera on this list?
    http://logitech-en-amr.custhelp.com/app/answers/detail/a_id/6471/kw//session/L3N pZC9hZVNjTXlkaw%3D%3D
    I also found these instructions:
    http://logitech-en-amr.custhelp.com/app/answers/detail/a_id/8571
    Message was edited by: DaddyPaycheck

  • Custom Client-Side Video Codec for Standard Linux Flash Player

    I'm new to Flash development, so please excuse my naivete. I'd like to have the standard Linux Adobe Flash player use an experimental client-side H.264 codec I am working on when playing FLV media (even if embedded within an SWF file) instead of the standard one bundled with the player. Is there any way to accomplish that?
    Thanks,
    Brian McGann

    The problem, at least in my case, was QtCurve's opacity. If I have opacity set to less than 100%, flash would not display for sites like Youtube and Vimeo, but worked elsewhere.
    The solution for me was to go into qtcurve's settings, and put npviewer.bin in the application exceptions section for window and menu opacity. Doing that, I was able to keep my transparent menus, and also use flash everywhere.
    You can find out what the application name is by launching your browser of choice in a terminal with qtcurve debug turned on, like so:
    QTCURVE_DEBUG=1 firefox
    If you watch through the lines that start with "QtCurve" you'll see "Application name". Look for the one that shows up when you try to load a video. In my case it was npviewer.bin. In yours, it might be nspluginviewer or something else. If you add an exception for that specific application, you'll fix your problem without having to compromise on your theme.

  • Video Codec for 6120

    Hi,
    I have some videos on my computer that i want to put on my phone.
    But i cannot find what the best quality codecs are for this phone.
    By the way it has Realplayer so i know it has to be MP4 but i don't know the frame rate and the other codecs.
    Advice is appreciated.
    Nokia N95
    V 20.0.015
    0546553

    Go to: http://www.forum.nokia.com/main/resources/technologies/audiovideo/
    There choose the link "Audio & Video Feature Tables".
    Look up the S60 3rd Edition FP1 row in the first table.

  • Video codec for 6120c

    I have a 6120c mobile and I am using ubuntu. I want to know which is the best video and audio codecs to transcode videos and see them on my phone.
    I supose I will have to adjust codecs, resolution and maybe bitrate.
    thanks

    ref pertib
    Go to: http://www.forum.nokia.com/main/resources/technologies/audiovideo/
    There choose the link "Audio & Video Feature Tables".
    Look up the S60 3rd Edition FP1 row in the first table.
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Video codecs for animation

    I have rendered out my animation project @ 1920 x 1080 as .tga files
    I am trying to assemble the files in Final Cut pro but keep encountering banding effects , even when using uncompressed files ( 3 sec = 508mb )
    Can anyone please advise as to the best codec and settings to use to get the highest quality result ?
    I am hoping to submit the final piece to animation festivals around the world so need it to be as good as I can get it.
    You may have guessed I am new to FCP having upgraded in the past week.
    Sincere regards
    simon Edmondson

    Edit in a ProRes Sequence.
    You might also need to render if there is a colored line above the images on the Timeline.
    Note that the Canvas should not be used to judge image quality or color fidelity. It is a lo-res proxy designed to show you what you are doing with respect to timing and the flow of the story.
    To see the image quality, connect a suitable calibrated external monitor.
    You can also use QuickTime Player 7 (not QuickTime X) to assemble an image sequence into video.

  • How do i add a subtitle file to a supported video file for ipad without converting the video.  (.mp4)??

    I have a downloaded movie in .mp4 format an i success fully added it to itunes.
    But before adding it to my ipad i have an .srt file subtitles which i would like to add it to the movie.
    I want to add it to movie without converting the movie.
    Can i copy the content of the subtitle file to the lyrics tab in get info option to make it work?

    Nevermind. In the iTunes Area I can drag and drop tunes onto the iTunes playlist I made, but NO I can't drag and drop to a synced list in the iPhone area of iTunes. Reason is that it only represents the list I sync to in iTunes.
    I did download a Doug Script where I can add files from one play list to another which is neat. Donated some cash for it.

  • Supported Video Cards

    Hi Gang!
    Does anyone know where i might be able to find a list of supported video cards for the Apple Cinema 23" HD display.
    Our company finally upgraded our standard from the 20" ACD, and today we received our first 23" HD display. Woo Hoo!
    I connected it to a Mac Pro 2 x 2.66 GHz Dual-Core Intel Xeon with an nVidia GeForce 7300 GT 256 vram card (what the Mac was shipped with), and for some reason it's not responding as smoothly as the 20" did.
    Figured i'd start with the card first.
    Thoughts?

    Hi-
    Form mid way through the G4 PowerMac lne, all OEM graphics cards support the 20" and 23" Cinema Display's.
    Simply, a DVI port equipped card capable of supporting 1920 x 1200 digital resolution.
    All G5's, and of course, all MacPro machines have the ability to run the monitors.
    Your 7300 GT is more than enough card to run the display.
    No real "list", but.......
    See System Requirements on the linked page.

  • Video Reviews for Corporate Clients

    I'm a 3D animator and I need to be able to post QuickTime video reviews that corporate clients can view reliably. The reason I mention that they are corporate clients is because they often times don't have the ability to install software, including upgrades, which means I have to assume that they aren't using the latest version of QuickTime.
    I see embedded videos all the time on apple.com/trailers that look great and stream smoothly. I believe most of those videos are using the h264 codec, but I think I'm better off not using h264 since you need QT7 to decode it. Let's assume my clients are using QT6 and cannot upgrade due to IT department restrictions on their end.
    That being the case, I'm probably better off using something like MPEG-4 Video as my compressor. The point being I want to use something that will give me the most bang for my bandwidth buck, quality-wise, while at the same time sticking with something legacy that older versions of QT can view.
    My videos in Premiere are almost always D1 NTSC Widescreen 720x486, pixel aspect ratio (PAR) 1.2, and when I export them as an MOV, I export as 640x360 PAR 1.0 so I can keep it in a widescreen format and avoid PAR-related distortion. I save them out as MOV with PNG compression at 100% quality, so I can quickly convert them to anything the client needs via QT Pro, without having to re-render the Premiere project multiple times. It's a real time saver. Up till now, I've been putting FLV videos on the web, but I'd like to start using embedded QuickTime videos instead, because you get finer control out of the scrub bar in the QT player than you do with a Flash video.
    So my question is this. What are the magic settings (don't laugh) I should use when I'm exporting an MOV that I intend on embedding into a web page? I've already read Apple's tutorial on this, found here:
    http://www.apple.com/quicktime/tutorials/embed.html
    ...but that really just glosses over the topic, without giving you any recommended settings. I fully realize that the settings you use are extremely dependent on each individuals needs, due to video size, the type of content in the video, etc. However, we know the size I'm working with (640x360) and we know I'm showing complex animations with gradations of tone and hue.
    Currently I'm setting my compressor as MPEG-4 Video, and I'm choosing "Hinted Streaming" for my streaming preset. I'm using all of the Hinted Streaming default settings.
    Thanks,
    Dustin

    Last part answered first. No need for "hint" tracks unless your files are served via streaming server software. Just use "Fast Start". File size is smaller (no hint tracks) so you'll get a faster download.
    Compression is an art form and there is no "magic" setting. You are correct in choosing MPEG-4 Video codec for backward compatibility.
    Export is about two goals when working with Web based files. Quality is subjective and your viewers want "fast" and care less about quality than you think.
    The best method is multiple exports. Use lower data rates and work your way up. Start with a ten second test export at various data rate keeping all of the other settings the same. You can compare these files side by side in QuickTime Pro by using the "Play all Movies" (View menu).
    Since all of your files are going to bit a bit different what works for one may need "tweaking" in another export.

Maybe you are looking for