[Libav-user] Realtime mov file reading

Nadim El Boustani nadim.boustani at gmail.com
Fri Dec 23 03:51:23 CET 2011


I am new to this mailing list and to ffmpeg/libav.
I successfully - using the sources of ffmpeg.c software - was able to read
a .mov file and send it through rtmp without re-enconding as it's already
in the right encoding (h264/aac).
But my issue is now i would like to read the mov file at the same time it's
written. For that, i write the mov file with fragments intervals of 1s.
But when i try to read it and send it at the same time it's written, ffmpeg
only read it up to the point it's was written once the reading process
started. So basically if i started to read it when only 30s were written,
it sends to the server only 30s of video where as meanwhile, more seconds
were written.
Do you have any clues on how to achieve that. I need to force ffmpeg to
reload the number of fragment or packet available in the file.

I hope you understood my issue and sorry i am quite new to using libav so
there are a lot that i don't understand yet.
Thanks for your help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111223/104fda95/attachment.html>

More information about the Libav-user mailing list