Hi,

i notices subj in logs like:

av_read_frame returned error -541478725 inside get_image

or

av_read_frame returned error -541478725 inside get_audio

first, magic 541478725 is ffmpeg's is AVERROR_EOF:

541478725
     => 0x20464F45
     =>  [0x45, 0x4F, 0x46, 0x20]
     => ['F', 'O', 'E', ' ']
     => " EOF"

that is

libavutil/error.h
[...]
#define AVERROR_EOF                FFERRTAG( 'E','O','F',' ') ///< End 
of file
[...]

this error could occurs in two functions: get_audio or get_video at 
/last frame/.

IMHO that happens if audio and video tracks has a different duration. 
for example, ffprobe output for one of my files:

[...]
streams.stream.0.duration="2631.720000"
[...]
streams.stream.1.duration="2631.984000"
[...]
format.duration="2631.984000"

as you can notice, that track has different duration and as result 
seeking to the /end/ would cause EOF (end of file) and tons of messages 
of subj.

different audio/video tracks duration is very /popular/.

what do you think is proper way for making workaround for this messages 
or handle this or ignore?


-- 
________________________________________
Maksym Veremeyenko

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to