Hi, I wonder if anyone on the list can shed any light on something I'm
trying to do.
I'm writing a cloud-based video rendering engine that uses libavcodec to
create h264 .mp4 files for output.
I'd really like if it were possible for the user to /view the files
while they are render/ing. At present, if I attempt to open a file that
is rendering in mplayer, I get a message:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f37328ce8c0]moov atom not found
I have read up on the faststart mechanism, and the qt-faststart tool. It
appears that it's possible in the spec, but ffmpeg/ libav don't support
it without a 2-pass process.
I've looked at empty moov/ fragmented file options according to
http://ffmpeg.org/ffmpeg-formats.html#MOV_002fMP4_002fISMV
by writing options into the stream header like this:
av_dict_set(&opts, "movflags", "empty_moov", 0);
// Write the stream header, if any. //
int ret = avformat_write_header(oc, &opts);
However all I have succeeded in doing is making files that don't play
properly.
Does anyone have any insight on the practicality/ possibility of
achieving playback while rendering?
Thanks in advance,
Tim Redfern
<http://ffmpeg.org/ffmpeg-formats.html#MOV_002fMP4_002fISMV>
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api