[Libav-user] Need help on encoding
James Carter
matrixebiz at gmail.com
Thu May 11 16:27:23 EEST 2017
How do I unsubscribe to all email except responses to my post?
On Thu, May 11, 2017 at 9:13 AM Thomas <tfreudi1 at gmx.de> wrote:
> 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.
>
>
>
> I guess you must add your Metadata after encoding to the encoded frame.
> But I do not have a solution how to do it exactly, it may also depend on
> the container format you use.
>
> A long time a go I'd had a ffmpeg project and I must also put some extra
> data to every frame and if I remember correctly, I put it in an extra file
> with some kind of frame identifier, because I did'nt found a way , but this
> is 10 years ago.
>
> Thomas
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170511/0602c6ae/attachment.html>
More information about the Libav-user
mailing list