Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] RE : Re: transfer vs record, hardware mpeg2 decoder trouble
>
> The data sent to the playing device during Transfer Mode shouldn't be any
> different than the data sent during replay of a recording.
>
> Klaus
>
Well, It seems that my decoder doesn't like the data sent.
Let me explain :
First test) replay (001.vdr, with index.vdr)
the replay is perfect
Second test) LiveTV
only IFRAMES
Third test) replay (001.vdr, without index.vdr)
only IFRAMES + some trashy frames
I think there are trashy frames because the dvbplayer feeds the decoder
quicker than transfer mode.
If I understand how works dvbplayer.[hc],
Dvbplayer reads the recording frame by frame and send one frame at a time to
the PlayVideo function
If I'm right, during transfer mode, I have to catch each frame to send it to
the decoder.
-- code to parse data --
While <Data>
{
find_frame_start
find_frame_length
write frame in cFrameBuffer
}
-- code to play data --
get_frame_from_buffer
write_frame_in_decoder
del frame_in_buffer
My problem is I don't know how to catch each frame.
Perhaps someone can help me.
Thank you
Philippe
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index