Jump to content

Interlaced videos not detected as interlaced videos


Recommended Posts

Posted (edited)

I have some movies in 1080i format but Emby doesn't detect them as interlaced videos.

This means that in devices that do not support interlaced video, such as Apple TV, they cannot play the content since instead of transcoding direct play is attempted.

57595863_Capturadepantalla2020-09-21alas22_28_24.thumb.png.7e1ccb37eea086a962609d1cd49f1426.png

 

MediaInfo.txt

Edited by vdatanet
Posted

Hi, What's the source of the file?

Posted
4 minutes ago, cayars said:

Hi, What's the source of the file?

Blu-ray rips, this particular example has been re-encoded, but I have some (well very few) blu-ray remux, using MakeMKV that are 1080i, but Emby does not detect them as interlaced. I don't know if they are strange blu-rays or are a result of wrong rips.

Posted

That's what I was getting to.  It was likely encoded poorly.  If you're going to re-encode something and it's interlaced, well, de-interlace it. :)

Have you tried to edit the file and mark it as interlaced?  I can't read that mediainfo output so I don't know what it says.

Happy2Play
Posted
4 minutes ago, cayars said:

I can't read that mediainfo output so I don't know what it says.

🙂 Would assume a translation issue as it shows Sweep type instead of Scan type.

Video
ID: 1
Format: AVC
Format / Info: Advanced Video Codec
Profile format: High @ L4
Format settings: CABAC / 2 Ref Frames
Format settings, CABAC: Yes
Format settings, RefFrames: 2 frames
Codec ID: V_MPEG4 / ISO / AVC
Duration: 1 h 59 min
Bit rate type: Variable
Bit rate: 4 862 kb / s
Maximum bit rate: 15.0 Mb / s
Width: 1 920 pixels
Height: 1,080 pixels
Aspect Ratio: 16: 9
Frame rate mode: Constant
Frame rate: 25,000 FPS
Color space: YUV
Chroma subsampling: 4: 2: 0
Bit depth: 8 bit
Sweep Type: Interlaced
Sweep type, storage method: Separate fields
Sweep order: Top field first
Bits / (pixel * frame): 0.094
Stream size: 4.05 GiB (67%)
Title: www.descargaya.es
Spanish Language
Default: Yes
Forced: Yes

 

Posted

Well that clearly shows it being interlaced.

vdatanet can you drop to the command line and run a "ffmpeg -i filename" and see if it say's it's interlaced or not?

 

Posted
6 minutes ago, cayars said:

Well that clearly shows it being interlaced.

vdatanet can you drop to the command line and run a "ffmpeg -i filename" and see if it say's it's interlaced or not?

 

joan@embysrv:/media/movies/Saga Rocky [MicroHD][1080 px][-DTS-AC3 5.1-Castellano-Ingles+Subs]$ ffmpeg -i rocky\ 2.mkv
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from 'rocky 2.mkv':
  Metadata:
    title           : www.descargaya.es
    encoder         : libebml v1.2.3 + libmatroska v1.3.0
    creation_time   : 2012-12-19T13:57:29.000000Z
  Duration: 01:59:10.99, start: 0.000000, bitrate: 7283 kb/s
    Stream #0:0(spa): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:1(spa): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : www.descargaya.es
    Stream #0:3(spa): Subtitle: subrip (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:4(spa): Subtitle: subrip
    Metadata:
      title           : www.descargaya.es
    Stream #0:5(eng): Subtitle: subrip
    Metadata:
      title           : www.descargaya.es

 

Posted

No headers in the file to indicate it's interlaced.

Posted
Just now, cayars said:

No headers in the file to indicate it's interlaced.

Plex detects that content as interlaced and if device does not support interlaced video is transcoded as expected.

Posted

Using idet filter, it seems to be progressive, but there are a lot undetermined frames, the better solution is to rip again.

joan@embysrv:/media/movies/Saga Rocky [MicroHD][1080 px][-DTS-AC3 5.1-Castellano-Ingles+Subs]$ ffmpeg -filter:v idet -frames:v 360 -an -f rawvideo -y /dev/null -i rocky\ 2.mkv
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from 'rocky 2.mkv':
  Metadata:
    title           : www.descargaya.es
    encoder         : libebml v1.2.3 + libmatroska v1.3.0
    creation_time   : 2012-12-19T13:57:29.000000Z
  Duration: 01:59:10.99, start: 0.000000, bitrate: 7283 kb/s
    Stream #0:0(spa): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:1(spa): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : www.descargaya.es
    Stream #0:3(spa): Subtitle: subrip (default) (forced)
    Metadata:
      title           : www.descargaya.es
    Stream #0:4(spa): Subtitle: subrip
    Metadata:
      title           : www.descargaya.es
    Stream #0:5(eng): Subtitle: subrip
    Metadata:
      title           : www.descargaya.es
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, rawvideo, to '/dev/null':
  Metadata:
    title           : www.descargaya.es
    encoder         : Lavf58.29.100
    Stream #0:0(spa): Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 622080 kb/s, 25 fps, 25 tbn, 25 tbc (default) (forced)
    Metadata:
      title           : www.descargaya.es
      encoder         : Lavc58.54.100 rawvideo
frame=  360 fps=342 q=-0.0 Lsize= 1093500kB time=00:00:14.40 bitrate=622080.0kbits/s speed=13.7x
video:1093500kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
[Parsed_idet_0 @ 0x55d525ac1840] Repeated Fields: Neither:   345 Top:     9 Bottom:     7
[Parsed_idet_0 @ 0x55d525ac1840] Single frame detection: TFF:     2 BFF:    21 Progressive:   200 Undetermined:   138
[Parsed_idet_0 @ 0x55d525ac1840] Multi frame detection: TFF:     0 BFF:    91 Progressive:   266 Undetermined:     4

 

Posted

With more frames, it seems progressive, the odd thing is that item is not playable on devices that does not support interlaced video:

[Parsed_idet_0 @ 0x559ed4101840] Repeated Fields: Neither: 19035 Top:   445 Bottom:   521
[Parsed_idet_0 @ 0x559ed4101840] Single frame detection: TFF:   280 BFF:  1227 Progressive: 17303 Undetermined:  1191
[Parsed_idet_0 @ 0x559ed4101840] Multi frame detection: TFF:    42 BFF:   368 Progressive: 19587 Undetermined:     4

 

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...