INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Recorded TV shows being tagged as audio  (Read 1457 times)

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Recorded TV shows being tagged as audio
« on: December 03, 2018, 06:29:44 pm »

Why is this happening?  Sometimes it will be the same show for weeks, then all of a sudden it is fine.  Media type is being set to Audio instead of Video on recorded TV.  It has happened about 8 times in the last 2 months.  Not a ton, but certainly annoying!
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Recorded TV shows being tagged as audio
« Reply #1 on: December 03, 2018, 10:19:46 pm »

I suspect the only way to answer that would be to catch it in a log.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

ErikN

  • Junior Woodchuck
  • **
  • Posts: 68
Re: Recorded TV shows being tagged as audio
« Reply #2 on: December 04, 2018, 11:03:58 am »


I've had this occur and can explain the cause in my situation in case it helps. For me it occurs when there is corruption very early in the recording (i.e. weak or bad signal resulted in corrupted m2ts transport). The channel might be generally ok but JRiver seems very sensitive to errors early in the transport.

The over-the-air m2ts transport is extremely robust. Without getting too detailed, each element (audio, video, metadata, etc.) is given an ID and sent in small packets carrying the ID. There are mapping tables for the IDs which are repeated periodically. In case of corruption, there are sync words, continuity markers, and repeated opportunities to get the correct information.

It seems like MC looks only at the first (or at least only the very early) instances of ID tables and stream config when classifying a recording. When this has happened to me (going all the way back to MC21),
  - Forcing the media type of the recording usually fixes playback
  - ffmpeg transcodes audio/video to mp4 perfectly but warns of some corruption early on

Logged

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Recorded TV shows being tagged as audio
« Reply #3 on: December 04, 2018, 11:56:00 am »

Thanks.  that makes sense.  Early on, I discovered that when I transcode a video using FFMPEG, or whatever, I have to start a few seconds in, otherwise the AV sync will be off.  Sounds like it could be the same issue.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Recorded TV shows being tagged as audio
« Reply #4 on: December 04, 2018, 04:26:32 pm »

It seems like MC looks only at the first (or at least only the very early) instances of ID tables and stream config when classifying a recording.

MC actually sets nearly all tags for a recording at the start of the recording. So if there is a problem early on, that would be reflected in the tags, regardless of whether MC reads the correct information later.

Not that that information changes the outcome. But it may help with the understanding.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Recorded TV shows being tagged as audio
« Reply #5 on: December 04, 2018, 04:30:45 pm »

You would think though, that MC should be smart enough to know that recorded TV is video.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Recorded TV shows being tagged as audio
« Reply #6 on: December 04, 2018, 04:37:58 pm »

You would. But I guess MC could record an audio stream if that is what a channel played?

Australia used to have some "TV Channels" that just played audio and displayed a static image. I don't think there was any video involved, but maybe the static image was video under the covers?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Recorded TV shows being tagged as audio
« Reply #7 on: December 07, 2018, 04:28:37 pm »

You would think though, that MC should be smart enough to know that recorded TV is video.

Yes, as soon as the recording is started, we import the recording and set its media type to Video.

Do you have MC watching the TV recording folder for import?  It is not necessary to do it.  It is conceivable that if you let MC import it again when the file is created, the process may override the media type setting for some reason.
Logged
Yaobing Deng, JRiver Media Center

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Recorded TV shows being tagged as audio
« Reply #8 on: December 07, 2018, 04:32:36 pm »

It doesn't seem to.  I am recording off site in .ts format, and transferring the files via OneDrive to my home server.  It is marked as audio on both PC's (the recording server, and the home server that imports it overnight).
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Recorded TV shows being tagged as audio
« Reply #9 on: December 07, 2018, 05:07:18 pm »

It doesn't seem to.  I am recording off site in .ts format, and transferring the files via OneDrive to my home server.  It is marked as audio on both PC's (the recording server, and the home server that imports it overnight).

When a .ts file is imported, it may be imported as audio if whatever tool we use to analyze it does not find video packets from the beginning of the file.  When the recorded just starts on the recording machine, we know it is TV recording, so we set media type to video and media subtype to "TV Show".  When it is imported as a file (.ts), there is no way to tell it is a TV recording anymore.
Logged
Yaobing Deng, JRiver Media Center
Pages: [1]   Go Up