Search found 8 matches

by malcolmb
Mon Feb 11, 2013 9:26 pm
Forum: Developement with FFmpeg
Topic: libav and the Nvidia CUDA H.264 encoder
Replies: 4
Views: 7049

Re: libav and the Nvidia CUDA H.264 encoder

The code isn't really sharable (It's intertwined with a lot of other code, I'm adding the encoder to ffmpeg at runtime using avcodec_register() from my app) but I'd be happy to help you with any questions you have. To give more info what I had to do in the end, I also had to fill in the 'extradata' ...
by malcolmb
Tue Nov 13, 2012 7:28 pm
Forum: Developement with FFmpeg
Topic: using custom thread pool
Replies: 3
Views: 2263

Re: using custom thread pool

I'm looking for something finer grained than the 'choose the number of threads on file open' that -threads offers (also I'm not using ffmpeg.exe, this in my own application). I can have any number of movies open at a time and some of them may be playing forward, others may be paused, even others may...
by malcolmb
Tue Nov 13, 2012 5:34 pm
Forum: Developement with FFmpeg
Topic: using custom thread pool
Replies: 3
Views: 2263

using custom thread pool

Hey, I link with the FFmpeg libs in my application. I'd like to have FFmpeg use threads that I've created for it's multithreaded decoding, instead of creating it's own threads. The reason for this is to avoid oversubscription as I start decoding more movies at the same time. The application can have...
by malcolmb
Fri Apr 13, 2012 5:57 pm
Forum: Developement with FFmpeg
Topic: frame-level threaded decoding
Replies: 1
Views: 2568

frame-level threaded decoding

Hey, should I change my usage pattern for how I decode frames since frame-level threading is now supported with some codecs? I ask this because since I'm only giving the decoder one frame at a time, and (at least in the old code) waiting until it's done that frame before moving on, I don't see how i...
by malcolmb
Thu Jan 12, 2012 11:07 pm
Forum: Developement with FFmpeg
Topic: Working with network streams
Replies: 1
Views: 8232

Working with network streams

Hey, does anyone have any insight with what ffmpeg does and doesn't do when reading from a network stream. I'm not using ffmpeg.exe, but rather in my own application using libavcodec/format etc. For example say I open a http stream using av_open_input_file and then read packets with av_read_frame()....
by malcolmb
Mon Jan 09, 2012 4:54 pm
Forum: Developement with FFmpeg
Topic: libav and the Nvidia CUDA H.264 encoder
Replies: 4
Views: 7049

Re: libav and the Nvidia CUDA H.264 encoder

Update on my progress: I was able to get it working by using the CODEC_ID_H264 instead of defining my own CodecId, which makes sense in the end. However only VLC/my code can play the resulting file. Quicktime/Windows media player can't do it, so I think I'm missing some sort of header data. I guess ...
by malcolmb
Fri Jan 06, 2012 6:21 pm
Forum: Developement with FFmpeg
Topic: libav and the Nvidia CUDA H.264 encoder
Replies: 4
Views: 7049

libav and the Nvidia CUDA H.264 encoder

Hey, has anyone has any luck combining the Nvidia GPU accelerated H.264 encoder that comes with CUDA with libav? In particular I'm trying to use libav as the container creator and audio encoder, while leaving the H264 encoding to the Nvidia library. I'm registering it as a custom codec (which I've d...
by malcolmb
Fri Dec 23, 2011 5:19 pm
Forum: Developement with FFmpeg
Topic: deployment question...
Replies: 2
Views: 1876

Re: deployment question...

Codecs are included in the ffmpeg .dlls. It doesn't rely on external installed files.
'