Jump to content

Recommended Posts

looking111
Posted (edited)

Hello all,

this is a topic I've been meaning to tackle for quite a while. Before Emby, I used XBMC and Linux-VDR for a long time. Recordings were in TS format. The same goes for TVH now with Emby.

Emby Version 4.10.2.0

I used to just cut the videos with ffmpeg in the CMD and generate a new TS file from them without re-encoding. This played back normally with XBMC on a mini-computer. Emby itself also plays these back smoothly on regular desktop computers. I can fast-forward and rewind; no issues at all. But on the LG TV itself, this is a problem.

What works on the LG TV (LG 4K OLED evo TV C3):

  • Play
  • Press pause, then resume playback

 

What doesn’t work:

  • Fast-forward
  • Rewind
  • Resume a movie after pausing it at a certain point

My solution is to use Emby to convert movies that are still in TS format directly to MP4. That way, everything works perfectly again. If I convert a video in Emby now, will there be a loss in quality? I don't think so, right? Because the mpegTS is also a h264.

Sourcevideo:

Input #0, mpegts, from 'video1.ts':
  Duration: 00:13:20.84, start: 1.400000, bitrate: 4895 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, start 2.757400
  Stream #0:1[0x101](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s, start 1.400000

 

After convert with Emby:

For the converting I use the "TV" Profile an "Original quality"

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.27.100
  Duration: 00:13:20.84, start: 0.000000, bitrate: 4494 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 4111 kb/s, 25 fps, 25 tbr, 90k tbn, start 1.357000 (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](ger): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]

 

I see that the video bitrate has dropped slightly in the converted file. But the source was already in H.264.

And here's a comparison from the Emby WebUI attached: 

 

 

after.png

before.png

So, if I understand this correctly, I really have to convert all videos in TS format to MP4, because apparently TS has an index or metadata.

 

 

Edited by looking111
Posted
Quote

So, if I understand this correctly, I really have to convert all videos in TS format to MP4, because apparently TS has an index or metadata.

Hi, if you truly can't play any of your ts files on LG, then there is an option in the app to force transcoding on all mpegts.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...