Open 447377 opened 6 years ago
The problem with playback - or in general - any change in the TS-Stream is, that there is only a sort of exit cleanup, but not any within init any more.
To get audio with playback start, you'll need to Re-Sync the decoder, by starting from a different format, e.g. if video is 720p, everything than that works, or reintroduce decoder cleanup:
` --- a/vaapidev.c +++ b/vaapidev.c @@ -2198,10 +2198,10 @@ // tell video parser we get new stream if (MyVideoStream->Decoder && !MyVideoStream->SkipStream) { // clear buffers on close configured always or replay only
However, the hole playback is sort of broken with current git master. To get it right, you may apply this patch and (re-)enable SoftStart-Sync in Plugin-Settings. https://www.vdr-portal.de/index.php?attachment/41989-speedupdown-patch-gz/
Regards, 42 :)
Hello Quantomax,
thanks for the solution. The patch not only provides audio during playback, the "duped frames" are now also past.
Hopefully your patch will be included in the master soon.
Thanks a lot especially the guys for the care of the Vaapidevice-Plugin Stefan
The development has happened lately on ffmpeg demuxer branches and I integrated your patch into my branch. You can take a look at it here: https://github.com/pesintta/vdr-plugin-vaapidevice/pull/122 https://github.com/rofafor/vdr-plugin-vaapidevice/tree/ffpesdemux
Thanks for the udate of your branch. But now I have "dropped frames" on live tv and playback is with audio from the current live channel. Stefan
...and the audio and video is asynchronous - wether live tv or playback or the resolution. Stefan
Thanks for working on my problem. Every few seconds a new picture is displayed, so it is not possible to play. The CPU load is very low. The OSD appears after a few seconds. Operation of the OSD is not possible
In the Log I notice: [17662] VAAPI-ERROR: codec: can't find best stream: Stream not found [17662] VAAPI-ERROR: codec: can't find stream info: End of file [17659] ERROR: driver buffer overflow on device 1
Do you need more informations? Stefan
Audio is ok for live TV, but a recording in the same resolution like live TV is without audio. You have to press exit and immediately press ok. Now the audio is ok. The same when you change the audio track or jumping forward or backward for a minute. The reason is the commit 9b2c17f7bf36107e845c8b99d570de5ccf2b0c85 from Mar4, 2018, "Move VA-API HW device context initialization to video module". I did not manage the change back of this commit - the osd was gone. Please help me...
Thanks a lot Stefan
VAAPIDEVICE SYSTEM INFORMATION REPORT
inxi
vainfo
ffmpeg
gcc
/usr/local/bin/svdrpsend