Hello Ronald,
Thanks for your mail.
'-vcodec' is an option at the command line level. I am using the libraries to
manipulate the videos in the memory and then want to save in the form of video.
After manipulation I do not have any Motion Vector knowledge. It is as good as
motion JPEG.
Here is a step by step operation I would like to do
1. Read a video (not raw, only till DCT coefficients of Y Cb and Cr bands) in
to memory.
2. Manipulate the DCTs of Y Cb and Cr bands. At this point, we have modified
DCTs of all the frames without motion vector.
3. Feed the DCTs of the Y Cb and Cr into an api to get final video output. Here
one can specify the bit-rate and quality of the resultant video.
I am looking forward for api(s) to achieve step 3 above.
best
Malay
________________________________
From: Ronald S. Bultje <[email protected]>
To: Malay Nema <[email protected]>; Development with the libav* APIs
<[email protected]>
Sent: Thursday, February 2, 2012 11:15 AM
Subject: Re: [libav-api] Transcoding
Hi,
On Wed, Feb 1, 2012 at 9:42 PM, Malay Nema <[email protected]> wrote:
> Dear Libav-api,
> We are trying to handle videos in YCbCr DCT coefficients. After
> manipulation we want to encode the video directly from the DCT coefficients.
> This amounts to transcoding the video streams.
> Can any of you tell me the relevant subroutine(s)/api(s) and their sequence
> which encodes videos given the DCT coefficients of YCbCr of the frames
> please?
You're looking for -vcodec copy, which just copies the exact encoded
frame into the output file? Otherwise you'll have to be a little bit
more detailed.
Ronald
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api