Hi,

I was wondering why are flac files "deframed" using libavformat's raw.c 
format? Is this by design or laziness?

Flac files (not flac wrapped in ogg) are framed nicely using frame 
headers. Each frame includes all necessary data to fill the duration, 
size and some other fields in the the AVPacket object filled by 
av_read_frame(). But instead deframing seems to be performed in the 
codec code (flac.c in libavcodec).

For my application i'd like to avoid decoding flac files but I still 
would like to be able to "deframe" the files for calculate duration, 
bitrate etc and also for streaming.

Let me know if this is a laziness issue, if so i might consider writing 
the deframer on my own.

Thanks,
        Yoav.



_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to