Hi Baptiste,

> > I am trying to transcode a .WMV video file to .MP4 using libavcodec.  I
> have
> > used the exporter.c code as a basis for my work.  The code works and I
> get a
> > .MP4 file, but the problem is that when I try to play it back in VLC I
> get:
> > "MP4 plugin discarded (no moov box)".
> >
>
> Did you call av_write_trailer ?
>
>
No.  I now have the code producing valid .MP4 files, thanks.

Another question related to the same file.  I would like to stream this
video over network from memory rather than writing the frames to file first
and the streaming over a network.  Is there an API in ffmpeg which works
with memory instead of writing out to files?  How would the av_write_trailer
be handled in a stream?

Thanks

-- 
Andy Bell
J2K Video Limited

T: +44 (0)20 8133 2473
M: +34 685 130097
E: [email protected]
W: www.j2kvideo.com
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to