[Libav-user] Record black video with audio

2016-01-19 Thread Casey Price
Hello, I'm currently trying to record a blank/black video with audio only from a microphone in. The end goal is to have 1 video that's a recording of my desktop with the left channel from a mic in as the audio, and another video that's a black screen with only the right channel of the same mic in.

Re: [Libav-user] Dshow errors when trying to record desktop in Win 10

2015-12-16 Thread Casey Price
to use the tablet with it off. On Tue, Dec 15, 2015 at 7:22 PM, Roger Pack wrote: > What version of ffmpeg are you using here? You should not have to > specify video_size by default it should capture the whole thing. > > On 12/14/15, Casey Price wrote: > > Hello, > > >

[Libav-user] Dshow errors when trying to record desktop in Win 10

2015-12-14 Thread Casey Price
Hello, I'm currently trying to record the desktop of a surface pro 3 running windows 10 using screen-capture-recorder and ffmpeg. The following works in the command line. ffmpeg -f dshow -video_size 1280x853 -i video=screen-capture-recorder output.mpg However when I try to do the same in co

Re: [Libav-user] Using Video Toolbox hardware decoding

2015-10-23 Thread Casey Price
Take a look at the examples that come with ffmpeg, specifically the decoding_encoding.c example: https://www.ffmpeg.org/doxygen/2.4/decoding_encoding_8c-example.html There are also the tutorials by dranger which can be helpful: http://dranger.com/

Re: [Libav-user] Set Webcam Encoder C API

2015-10-22 Thread Casey Price
); ifmt_ctx = avformat_alloc_context(); ifmt_ctx->video_codec_id = AV_CODEC_ID_MJPEG; av_format_set_video_codec(ifmt_ctx, opened_mjpeg_codec); avformat_open_input(&ifmt_ctx, filename, inputFormat, &dictionary); On Wed, Oct 21, 2015 at 5:34 PM, Carl Eugen Hoyos wrote: > Casey Pri

[Libav-user] Set Webcam Encoder C API

2015-10-21 Thread Casey Price
ot;30", 0); if ((ret = avformat_open_input(&ifmt_ctx, filename, inputFormat, &opt)) < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open input file\n"); return ret; } How should I be telling the camera what codec to use as done in my command line example? Casey Price __