TS-Doctor 3.0 www.cypheros.de
Werbung
Amazon

Autor Thema: Fixing HEVC based TS file  (Gelesen 6702 mal)

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #15 am: September 18, 2015, 07:45:41 »
Thank you so much, Cypheros. It's been working great for several large recording files.

But I have additional questions about TS-Doctor before buying it.

1. Can I skip audio detail scan? It takes very long time to scan PCR switching position and audio scan adds additional time to get the final fix if the recording is very long? It would be best if another option to on/off the audio detail scan is added so I can save some time fixing the recordings.

2. Auto cut does not work? We have some midprogram advertisings in the UHD channel but TS-Doctor doesn't ask if I'd like to cut them automatically or not. I think the problematic TS sample I shared had also the commercial for your test.

Thanks!
« Letzte Änderung: September 18, 2015, 08:55:04 von freebits »

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7930
    • Profil anzeigen
    • Cypheros Software Seite
Re: Fixing HEVC based TS file
« Antwort #16 am: September 18, 2015, 21:00:28 »
Hi, audio scan is needed to find changes in the format to detect commercials.

Commercials are detected with different methodes like audio or video format changes. Not every channel has such format changes. But we are working on a new version using video analysis to detect video changes and channel logos to distinguish movies from commercials.

Djfe

  • Hero Member
  • *****
  • Beiträge: 2315
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #17 am: September 18, 2015, 22:12:15 »
is it desired behaviour, that a dialogue is shown, that has to be ignored?

or is this case unlikely in comparison and there is no other way to show the right dialogue first?

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7930
    • Profil anzeigen
    • Cypheros Software Seite
Re: Fixing HEVC based TS file
« Antwort #18 am: September 18, 2015, 22:23:37 »
That would break other fixes. Sometimes streams are so scrambled or damaged, it's better to stop processing such files in an early stage.

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #19 am: September 19, 2015, 13:56:41 »
Thank you.

Understood your point.

Btw, I see some recordings fixed by TS-Doctor have slight audio sync issue (Audio is slightly faster than video) and some are good in sync.

This fix does not touch anything regarding to Audio sync stuff and is it purely because of recording error or signal strength when audio is out of sync?
« Letzte Änderung: September 19, 2015, 14:10:00 von freebits »

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7930
    • Profil anzeigen
    • Cypheros Software Seite
Re: Fixing HEVC based TS file
« Antwort #20 am: September 19, 2015, 19:15:39 »
The fix doesn't change the synch because all timers (audio, video, subtitles, etc. ) are changed with the same value. Most sync problems are caused by errors during remuxing to other container formats like MKV, MP4, ...
If you have a transport stream with lost packets due to reception problems, remuxers tend to ignore missing audio parts and you'll get an audio stream that is shorter that the video stream. That causes the sync problems. As you stay with transport stream format, any part of the stream has it's own timers to keep audio and video in sync, even if some audio or video packets get lost during transmission.

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #21 am: September 19, 2015, 19:23:43 »
The fix doesn't change the synch because all timers (audio, video, subtitles, etc. ) are changed with the same value. Most sync problems are caused by errors during remuxing to other container formats like MKV, MP4, ...
If you have a transport stream with lost packets due to reception problems, remuxers tend to ignore missing audio parts and you'll get an audio stream that is shorter that the video stream. That causes the sync problems. As you stay with transport stream format, any part of the stream has it's own timers to keep audio and video in sync, even if some audio or video packets get lost during transmission.

Thank you.

I meant the fixed TS stream not the remuxed mkv or mp4.
I thought the attached log is from the relative very clean TS recording and I saw audio is slight ahead of video during the whole play.

Can the delay below found in the log affect the audio/video sync?

Video PCR to PTS difference -912 ms
$01A1: Delay to video stream = -494ms

Can I add audio delay in millisecond when cutting/fixing the file to have better sync?

Mam

  • Hero Member
  • *****
  • Beiträge: 3651
  • ich hab keine Macken - das sind Special Effects!
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #22 am: September 19, 2015, 19:28:27 »
any part of the stream has it's own timers to keep audio and video in sync, even if some audio or video packets get lost during transmission.
It would not a too bad idea for the Doctor to insert dummy (silence) audio packets as fillers during the "repair run"... Many many reported problems would have been vaporized instantly. This is not too complicated for MPEG and Dolby tracks, AAC and MP3 are not so easy to handle because they are compressed.
But for the people it would be enough to be able to keep an MPEG track in synch whiles losing an AAC one. Better ANY working track than NONE...
Lächle! Du kannst sie nicht alle töten!

Derrick

  • Hero Member
  • *****
  • Beiträge: 636
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #23 am: September 20, 2015, 00:10:52 »
Zitat
This is not too complicated for MPEG and Dolby tracks, AAC and MP3 are not so easy to handle because they are compressed.
All types you've enumerated are compressed  8)

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #24 am: September 20, 2015, 04:36:43 »
Cypheros,

Another observation is I don't get message like 'PCR error is detected and you can "Virtually cut and reopen' in a larger recordings.

The only files that I got such message was rather smaller recordings like 1gb or so.

When I get the message?

Mam

  • Hero Member
  • *****
  • Beiträge: 3651
  • ich hab keine Macken - das sind Special Effects!
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #25 am: September 20, 2015, 06:48:32 »
All types you've enumerated are compressed  8)
Sometimes people mix up "multiplexed" or "encoded" with "compressed"...

Lächle! Du kannst sie nicht alle töten!

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7930
    • Profil anzeigen
    • Cypheros Software Seite
Re: Fixing HEVC based TS file
« Antwort #26 am: September 20, 2015, 14:38:11 »
Another observation is I don't get message like 'PCR error is detected and you can "Virtually cut and reopen' in a larger recordings.
When I get the message?

At the beginning of the analysis the start an the end of the file is checked for PCR erratic fluctuations. I guess the problem file has commercials at the start or end, where many PCR jumps are detected.

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #27 am: September 21, 2015, 13:38:50 »
Okay. Then can I adjust the audio delay from the fixed recording?

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7930
    • Profil anzeigen
    • Cypheros Software Seite
Re: Fixing HEVC based TS file
« Antwort #28 am: September 21, 2015, 14:27:40 »
The delay between audio and video you can find in the log is no error, that's OK for transport streams. It will be automatically corrected during playback.

I checked your samples and audio video sync is OK. Please be aware that playback of UHD will bring your computer to the limits. If CPU usage is at maximum, the system is not able to keep audio and video in perfect sync.
Try to playback with a H.265 capable hardware decoder like Samsung UHD TV and you'll see that audio and video is in sync.

freebits

  • Newbie
  • *
  • Beiträge: 24
  • DVB User
    • Profil anzeigen
Re: Fixing HEVC based TS file
« Antwort #29 am: September 21, 2015, 15:24:42 »
The delay between audio and video you can find in the log is no error, that's OK for transport streams. It will be automatically corrected during playback.

I checked your samples and audio video sync is OK. Please be aware that playback of UHD will bring your computer to the limits. If CPU usage is at maximum, the system is not able to keep audio and video in perfect sync.
Try to playback with a H.265 capable hardware decoder like Samsung UHD TV and you'll see that audio and video is in sync.

I test those clips via 4K UHD media player supporting hw acceleration of HEVC stream and saw the audio sync issue from it. Anyway, will test it again after remuxing it with some delay using ffmpeg or so..

 


www.cypheros.de