[Libav-user] Need help on encoding
Pierre Delmas
pierre.delmas at centrale-marseille.fr
Thu May 11 15:44:26 EEST 2017
Hi,
I need a little help on video. What I want to do is to modify a motion
vector to embed some datas (I do steganography in research) and to write
a new video with out loss of datas.
Currently I can write a video (just with I-frames and P-frames no
B-frames) but it seems that at a moment a filter came and erase my
datas. So is there any options to deactivate filters ?
I find a me_method to do that but it seems it doesn't work. I use it
like that :
AVDictionary *opts = NULL;
av_dict_set(&opts, "crf", "0", 0);
av_dict_set(&opts, "preset", "placebo", 0);
av_dict_set(&opts,"me_method","zero",0);
av_dict_set(&opts,"flags","nomc",0);
if (avcodec_open2(m_stream->codec, m_codec, &opts) < 0)
{
throw -108;
}
Thank you for your help,
Best regards,
Delmas P.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170511/f1be87f8/attachment.sig>
More information about the Libav-user
mailing list