Luca,

On Fri, Mar 27, 2015 at 5:22 PM, Luca Barbato <[email protected]> wrote:
[...]
> avformat_open_input might be enough, but yes, you got the gist of it =)

Thanks much !

However adding those simple lines:

extern AVInputFormat ff_mov_demuxer;
[...]
    sub_demuxer = &ff_mov_demuxer;
    ret = avformat_open_input(&ctx, "", sub_demuxer, NULL);
    av_assert0( ret == 0);
[...]

Make everything (almost) working. I can run `avconv -i MPEG4_720.dcm
-codec copy out.mp4` just fine (returns 0), however the generated file
contains just garbage. Please note that I did not implement
AVInputFormat->read_header. So something else is called instead of my
own read_header implementation.

Comments very welcome,
-- 
Mathieu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to