Playback problems with HD records

Hi
User experience just know. The file was recorded (french TNT HD) by TVheadend.
When we play the record, screen freeze , and when the record continue the sound
was no more synchronized.
A first time stop and restart the file works, but a little later the sound was another time desynchronized. Stop and restart not work more.
Lo
18:59:00 T:3031236608 NOTICE: DVDPlayer: Opening: nfs://192.168.1.86/volume1/TV_series/Fais pas ci, fais $
18:59:00 T:3031236608 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:59:00 T:2403333104 NOTICE: Creating InputStream
18:59:00 T:2403333104 NOTICE: Creating Demuxer
18:59:02 T:2403333104 NOTICE: Opening stream: 0 source: 256
18:59:02 T:2403333104 NOTICE: Creating video codec with codec id: 28
18:59:02 T:2403333104 ERROR: Unable to load libamplayer.so, reason: libamplayer.so: cannot open shared o$
18:59:02 T:2403333104 WARNING: CAMLCodec::CAMLCodec libamplayer.so not found, trying libamcodec.so instead
18:59:02 T:2403333104 NOTICE: Creating video thread
18:59:02 T:2429547504 NOTICE: running thread: video_thread
18:59:02 T:2403333104 NOTICE: Opening stream: 1 source: 256
18:59:02 T:2403333104 NOTICE: Finding audio codec for: 86057
18:59:02 T:2403333104 NOTICE: Creating audio thread
18:59:02 T:2378167280 NOTICE: running thread: CDVDPlayerAudio::Process()
18:59:02 T:2403333104 NOTICE: Opening stream: 4 source: 256
18:59:02 T:2403333104 NOTICE: Opening stream: 0 source: 256
18:59:02 T:2403333104 NOTICE: Creating video codec with codec id: 28
18:59:02 T:2403333104 ERROR: Unable to load libamplayer.so, reason: libamplayer.so: cannot open shared o$
18:59:02 T:2403333104 WARNING: CAMLCodec::CAMLCodec libamplayer.so not found, trying libamcodec.so instead
18:59:02 T:2378167280 NOTICE: Creating audio stream (codec id: 86057, channels: 6, sample rate: 48000, no$
18:59:02 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
18:59:03 T:2429547504 NOTICE: fps: 25.000000, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
18:59:03 T:2429547504 NOTICE: Display resolution DESKTOP : 1280x720 @ 60.00 - Full Screen (16)
18:59:03 T:3031236608 NOTICE: Using GL_TEXTURE_2D
18:59:03 T:3031236608 NOTICE: GL: Using BYPASS render method
18:59:03 T:3031236608 NOTICE: GL: NPOT texture support detected
18:59:03 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:00:43 T:2378167280 NOTICE: Previous line repeats 27 times.
19:00:43 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:10:51 T:2378167280 ERROR: Previous line repeats 16 times.
19:10:51 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:11:07 T:2378167280 NOTICE: Previous line repeats 7 times.
19:11:07 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:11:17 T:2378167280 ERROR: Previous line repeats 11 times.
19:11:17 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:11:31 T:2378167280 NOTICE: Previous line repeats 2 times.
19:11:31 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:14 T:2378167280 ERROR: Previous line repeats 5 times.
19:13:14 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:13:16 T:2378167280 NOTICE: Previous line repeats 5 times.
19:13:16 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:17 T:2403333104 ERROR: Previous line repeats 1 times.
19:13:17 T:2403333104 NOTICE: Opening stream: 1 source: 256
19:13:17 T:2403333104 NOTICE: Finding audio codec for: 86057
19:13:17 T:2403333104 NOTICE: Opening stream: 1 source: 256
19:13:17 T:2403333104 NOTICE: Finding audio codec for: 86057
19:13:18 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:13:20 T:2378167280 NOTICE: Previous line repeats 8 times.
19:13:20 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:20 T:2378167280 ERROR: Previous line repeats 1 times.
19:13:20 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:13:20 T:2378167280 NOTICE: Creating audio stream (codec id: 86057, channels: 3, sample rate: 44100, no$
19:13:20 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 11
19:13:20 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:20 T:2378167280 NOTICE: Creating audio stream (codec id: 86057, channels: 2, sample rate: 48000, no$
19:13:20 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:13:20 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:21 T:2378167280 NOTICE: Creating audio stream (codec id: 86057, channels: 6, sample rate: 48000, no$
19:13:21 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
19:13:21 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:21 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
19:13:21 T:2378167280 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-109499$
19:13:21 T:2378167280 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32

Perhaps it’s help.

Michael

Is your TVHeadend up to date?

Sometimes older versions can produce files with incorrect headers.

Can you produce a small sample

Thanks

Sam

TVheadend server from app store.
And another record works fine this afternoon.
The file is 3GO, a smaller sample i Try tomorrow morning.

Fais pas ci, fais pas ça_S1.e1.ts

I try also the same file tomorrow another time
Merci
Michael

You are right. Basically it’s seem to be a record issue, tvheadend or weather conditions.

I try to read the file with VLC, and MPV, VLC can repair the file for 99 %, MPV also but 90 %.
Kodi 16 can’t do it perhaps Kodi 17 can more.

The work around for not lose the record, use HandBrake to copy the file. Handbrake also repair for 99 %. And Kodi can read the new file.

Sam, I understand that you don’t will use the TVheadend testing 4.1xx serie, but perhaps it’s possible to update the store from TVheadend 4.07 -> 4.09.
Perhaps it’s help a little bit.
Thanks
Michael

Not sure how an upgrade of the tvheadend server would improve signal quality. Would be great if you can show the respective section in changelog

The issue is not always signal quality, but headers or muxing. For some reason TVHeadend is notorious for doing strange things that can cause some slight playback issues

I will update TVH to 4.0.9 in the next update, however I would like someone to test it first. I will send you a link when it is ready for testing

ok

I’m also interested in testing TVH 4.0.9 as I’m using a single RPi 3 as both a backend and frontend for live TV.

Hi

Thanks for your patience. I have built a new version of TVHeadend (4.0.9) for you.

Sam

Thanks for your work.
I try it tomorrow morning.
Michael

Great, let me know how it goes.

Sam

Hi Sam
I begin the test.
The first time it’s works fine
Test TV Headend 4.09

Install wst8 (vero-dev) → OK

WEB page http://wst8.rosy.pri:9981/extjs.html? → OK

General settings
Language settings English —> for better communication

Enable NTP driver

Acces entries
osmc default

DVB Inputs

found mes 2 HDhomeruns immediately

Networks
create Network xxxx-devel

switch on Network discovery
Service Ids
Ignore Provider

pre-defined muxes France: fr-all

advanced settings
Network ID 1
Caracter set UTF-8

TVheadend found 40 muxes, that it’s ok.
But the
scan status stay to “pend”
scan result stay to “non”

and no services are mapped
I try to enable debug and I found

2016-04-21 08:27:56.430 [ ERROR]:AVAHI: Client failure: Daemon connection failed

I try to found more informations

Michael

I don’t know much about TVHeadend, but believe it scans passively, so may take a bit of time for Services to appear.

Sometimes perhaps yes, but now 5 -6 hours ??
And the Avahi message ?
I have take a look to Google, some hits, but it’s not for me …
With GUI debug setting no more informations.

Perhaps SpaceCoyote have some more informations.
Tell me, if I can make another test.
Michael