Jump to content

3d Movie Aspect Ratio Wrong


kmed27

Recommended Posts

kmed27

Already tried that, lots of times, plus it creates new ones wrong as well, which is how I found the problem

and what probably caused the old ones to be reset incorrectly.

Link to comment
Share on other sites

Are all the 3D movies that have aspect ratio issues full-SBS or are some of the half-SBS?

Link to comment
Share on other sites

Could you please show me the output like this for a file with the flag set, and also the same file with the 3D flag cleared.  I believe the server is taking the aspect ratio directly from the file

 

 

 


Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
MultiView_Count : 2
MultiView_Layout : Side by Side (left eye first)
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 34 min
Bit rate : 11.5 Mb/s
Width : 1 920 pixels
Height : 1 008 pixels
Display aspect ratio : 1.905
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.248
Stream size : 12.4 GiB (95%)
Writing library : x264 core 152 r2851 ba24899
Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=11504 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / frame-packing=3 / ip_ratio=1.40 / aq=3:0.80
Default : Yes
Forced : No
Color range : Limited
Matrix coefficients : BT.709
Edited by SamES
Link to comment
Share on other sites

Hi,

No problem, here's the same movie with the flag cleared:

 

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 34 min
Bit rate : 11.5 Mb/s
Width : 1 920 pixels
Height : 1 008 pixels
Display aspect ratio : 1.905
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.248
Stream size : 12.4 GiB (95%)
Writing library : x264 core 152 r2851 ba24899
Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=11504 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / frame-packing=3 / ip_ratio=1.40 / aq=3:0.80
Default : Yes
Forced : No
Color range : Limited
Matrix coefficients : BT.709

This is Emby Media Info:

 

Media Info
Video Title1080p H264
CodecH264
AVCYes
ProfileHigh
Level41
Resolution1920x1008
Aspect ratio40:21
AnamorphicNo
InterlacedNo
Framerate23.976
Bitrate12,143 kbps
Colour spacebt709
Bit depth8 bit
Pixel formatyuv420p
Ref frames1
NAL4

Hope this helps.

Edited by kmed27
Link to comment
Share on other sites

Is the 3D flag set when you receive the files, or are you adding this flag?

 

None of my 3D files have this flag, and when it's set ffprobe is reporting the aspect ratio incorrectly.

 

If you remove this flag does the file still work correctly in 3D?  I'm not convinced the flag should be set.

Link to comment
Share on other sites

Yes it is, I have not added the flag manually, as I say some of my older 3D that worked when I first watched them, stopped working when I tested them whilst looking into this, so I assumed something changed recently-ish?

 

Yes they do as I said before, if I remove the flag then emby shows the aspect ratio correctly and it plays as expected.
 

 

I still don't understand why Plex works with them all correctly with or without the flag and auto switches into the correct 3D mode.

Link to comment
Share on other sites

It's possible that Plex is calculating the aspect ratio instead of using the ratio reported by ffprobe as Emby does.

 

Tonight I'll add some sample output and get Luke to review it for options

  • Like 1
Link to comment
Share on other sites

@@Luke, when the Stereo 3D flag is set in the mkv video stream header, the display_aspect_ratio gets bumped from 16:9 to 32:9, but the sample_aspect_ratio also goes from 1:1 to 2:1.  When the server determines the aspect ratio it's only looking at display_aspect_ratio and results in images being stretched.  To be honest, I'm not certain that the file is correct as none of my 3D movies have the Stereo 3D flag set, but that doesn't mean this is incorrect.  Should the server (or client) be trying to handle this?

    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], SAR 2:1 DAR 32:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      stereo_mode     : left_right
    Side data:
      stereo3d: side by side
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1001/48000",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1088,
            "has_b_frames": 1,
            "sample_aspect_ratio": "2:1",
            "display_aspect_ratio": "32:9",
            "pix_fmt": "yuv420p",
            "level": 41,
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "24000/1001",
            "avg_frame_rate": "24000/1001",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "bits_per_raw_sample": "8",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0
            },
            "tags": {
                "stereo_mode": "left_right"
            },
            "side_data_list": [
                {
                    "side_data_type": "Stereo 3D",
                    "type": "side by side",
                    "inverted": 0
                }
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Hi,

Have you been able to fix this?

 

I am finding that nearly all my older 3D movies (which I have watched in the past on Emby with no problem) are in the same situation.

 

Also, I notice that there is a 1.0.70 and 71 tizen talked about but Samsung still shows the .69 version.

Edited by kmed27
Link to comment
Share on other sites

Hi,

Have you been able to fix this?

 

I am finding that nearly all my older 3D movies (which I have watched in the past on Emby with no problem) are in the same situation.

 

Also, I notice that there is a 1.0.70 and 71 tizen talked about but Samsung still shows the .69 version.

 

 

Not yet.

 

Latest beta release can be loaded here via USB 

https://emby.media/community/index.php?/topic/74969-samsung-tizen-smarttv-2015-present-beta-app-install-from-usb/

Link to comment
Share on other sites

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