Zitat von Stefan Lucke <ste...@lucke.in-berlin.de>:

> On Wednesday 18 February 2009, Maik Opitz wrote:
>> Hi,
>>
>> I use softdevice in my VDR with DirectFB.
>> Since some time I have the following problem when I replay an
>> recording. When I fast forward the recording, it runs forward
>> extremely fast for the first minute (of recording time) or so. Then it
>> goes to normal ff-speed. The same if I rewind. Also jumping forward or
>> backward by 1 minute (green and yellow button) is not a minute.
>> Forward it jumps more than 1 minute. Backwards it is less then 1 minute.
>>
>> I found out that this change came on 15. April 2008. After some more
>> investigating I found, it hat to do with the change from
>> av_read_packet to av_read_frame.
>>
>> The following patch changes back from av_read_frame to av_read_packet
>> and so fixes the problem.
>> Could someone confirm this?
>
> Yes, we had a discussion about this in september last year.
>
> 1. http://lists.berlios.de/pipermail/softdevice-devel/2008q3/003125.html
> 2. http://lists.berlios.de/pipermail/softdevice-devel/2008q3/003134.html
>
> On my main viewing system, I switched via that uncommited patch
> back to av_read_packet().
>
>> And why did we change from av_read_packet to av_read_frame?
>
> Hm, there were other problems, starting here:
> http://www.linuxtv.org/pipermail/vdr/2007-March/012473.html
>
> and original fix of Martin:
> http://www.linuxtv.org/pipermail/vdr/2007-March/012476.html
>
> av_read_frame() has a bug in PTS handling of which Martin tried to
> convince ffmpeg developers, but he failed. Have a look at:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-March/025553.html
>
>>
>
>
> --
> Stefan Lucke
> _______________________________________________
> Softdevice-devel mailing list
> Softdevice-devel@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/softdevice-devel
>

OK, as I understand, the av_read_frame is more important for older recordings.
And your patch builds a switch into softdevice's menu.
So shouldnt it be commited? With standard setting to av_read_packet.  
So, for most people it will work. And the ones with older recordings  
which has problems can switch to av_read_frame.

Or maybe there should be a new discussion with the ffmpeg develeopers  
if the bug is realy on ffmpeg's side? But I can not start this.  
Because my lack of the technical background.


_______________________________________________
Softdevice-devel mailing list
Softdevice-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to