[Libav-user] MOV/MP4 format not playing in Windows Media Player (but does play in ffplay, vlc, ...)

Robin Stevens rdstevens at gmail.com
Wed Jul 23 13:30:01 CEST 2014


On Wednesday, 23 July 2014, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Robin Stevens <rdstevens at ...> writes:
>
> > I used ffmpeg.exe to remux the file (as described
> > in previous email). Does that count as a test?
>
> Of course, sorry for missing that part of your mail.
>
> You may be missing setting the global headers.
>
> Carl Eugen
>
>
You were absolutely correct! I *was* setting the global headers flag, but I
was doing so *after* calling avcodec_open2.

Moving the flag assignment to before the call to avcodec_open2 has solved
it.

Thank you! This has cost me *weeks* of time!

Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140723/9b64a4e4/attachment.html>


More information about the Libav-user mailing list