#5682(ffmpeg:new): 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -----------------------------------+---------------------------------- Reporter: .bismarck | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: 3.0.2 Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+---------------------------------- The resolution of 3D HOU/HSBS formats is in all kodi builds with ffmpeg > 2.8.6 on my Intel NUC5CPYH broken. All my mkv container have set the [http://matroska.org/technical/specs/index.html#StereoMode StereoMode] flag! * 3D-HOU: vertical compressed movie\\ [[Image(https://abload.de/thumb/3d_hou_vertical_comprd9jen.png, link=http://abload.de/img/3d_hou_vertical_comprd9jen.png)]]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D597FA700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:2 DAR 8:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D597FA700]: Metadata:\\ INFO: ffmpeg[7F7D597FA700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7F7D597FA700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7F7D597FA700]: Side data:\\ INFO: ffmpeg[7F7D597FA700]: stereo3d: top and bottom\\ ...\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode top_bottom is: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_horizontal\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode changed to split_horizontal\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **960**x1080. framerate: 23.98. format: VAAPI\\ }}} * 3D-HSBS: horizontal compressed movie\\ [[Image(https://abload.de/thumb/3d_hsbs_horizontal_coefkq2.png, link=http://abload.de/img/3d_hsbs_horizontal_coefkq2.png)]]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D3AFF5700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 2:1 DAR 32:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D3AFF5700]: Metadata:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo_mode : left_right\\ INFO: ffmpeg[7F7D3AFF5700]: Side data:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo3d: side by side\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **3840**x1080. framerate: 23.98. format: VAAPI\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode left_right is: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_vertical\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode changed to split_vertical\\ }}} * Logfiles 1. OpenELEC (Milhouse) - Version: devel-20160402015807-!#0401-g0026734\\ [http://sprunge.us/SGdi kodi with FFmpeg version: 3.0.1]\\ 2. LibreELEC (Milhouse) - Version: devel-20160619212021-!#0619-gc6c222d\\ [http://sprunge.us/gCVb kodi with FFmpeg version: 3.0.1]\\ Same result with FFmpeg version: 3.0.2 and 3.1.0! ------ Working version: * OpenELEC (Milhouse) - Version: devel-20160320235229-!#0320-g0026734\\ [http://sprunge.us/IXAQ kodi with FFmpeg version: 2.8.6]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 2.8.6\\ ...\\ INFO: ffmpeg[7FC68D7F2700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:1 DAR 16:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7FC68D7F2700]: Metadata:\\ INFO: ffmpeg[7FC68D7F2700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7FC68D7F2700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7FC68D7F2700]: Side data:\\ INFO: ffmpeg[7FC68D7F2700]: stereo3d: top and bottom\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **1920**x1080. framerate: 23.98. format: VAAPI }}} \\ \\ samples:\\ [http://filehorst.de/d/btBqDsoz 3D-HOU sample with StereoMode-Flag]\\ [http://filehorst.de/d/bpjBncqg 3D-HSBS sample with StereoMode-Flag] \\ http://trac.kodi.tv/ticket/16774 \\ revert [https://github.com/FFmpeg/FFmpeg/commit/febfb49a70e82f5ac46dc7ea34dabd4d56b1... matroskadec: Fix sample_aspect_ratio for stereo matroska content] solved that issue. \\ \\ .bismarck -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -------------------------------------+------------------------------------- Reporter: .bismarck | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * version: 3.0.2 => unspecified * component: ffmpeg => undetermined Old description:
The resolution of 3D HOU/HSBS formats is in all kodi builds with ffmpeg > 2.8.6 on my Intel NUC5CPYH broken. All my mkv container have set the [http://matroska.org/technical/specs/index.html#StereoMode StereoMode] flag!
* 3D-HOU: vertical compressed movie\\
[[Image(https://abload.de/thumb/3d_hou_vertical_comprd9jen.png, link=http://abload.de/img/3d_hou_vertical_comprd9jen.png)]]\\
{{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D597FA700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:2 DAR 8:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D597FA700]: Metadata:\\ INFO: ffmpeg[7F7D597FA700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7F7D597FA700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7F7D597FA700]: Side data:\\ INFO: ffmpeg[7F7D597FA700]: stereo3d: top and bottom\\ ...\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode top_bottom is: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_horizontal\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode changed to split_horizontal\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **960**x1080. framerate: 23.98. format: VAAPI\\ }}}
* 3D-HSBS: horizontal compressed movie\\
[[Image(https://abload.de/thumb/3d_hsbs_horizontal_coefkq2.png, link=http://abload.de/img/3d_hsbs_horizontal_coefkq2.png)]]\\
{{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D3AFF5700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 2:1 DAR 32:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D3AFF5700]: Metadata:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo_mode : left_right\\ INFO: ffmpeg[7F7D3AFF5700]: Side data:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo3d: side by side\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **3840**x1080. framerate: 23.98. format: VAAPI\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode left_right is: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_vertical\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode changed to split_vertical\\ }}}
* Logfiles 1. OpenELEC (Milhouse) - Version: devel-20160402015807-!#0401-g0026734\\ [http://sprunge.us/SGdi kodi with FFmpeg version: 3.0.1]\\ 2. LibreELEC (Milhouse) - Version: devel-20160619212021-!#0619-gc6c222d\\ [http://sprunge.us/gCVb kodi with FFmpeg version: 3.0.1]\\
Same result with FFmpeg version: 3.0.2 and 3.1.0!
------
Working version:
* OpenELEC (Milhouse) - Version: devel-20160320235229-!#0320-g0026734\\ [http://sprunge.us/IXAQ kodi with FFmpeg version: 2.8.6]\\
{{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 2.8.6\\ ...\\ INFO: ffmpeg[7FC68D7F2700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:1 DAR 16:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7FC68D7F2700]: Metadata:\\ INFO: ffmpeg[7FC68D7F2700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7FC68D7F2700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7FC68D7F2700]: Side data:\\ INFO: ffmpeg[7FC68D7F2700]: stereo3d: top and bottom\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **1920**x1080. framerate: 23.98. format: VAAPI }}} \\ \\ samples:\\ [http://filehorst.de/d/btBqDsoz 3D-HOU sample with StereoMode-Flag]\\ [http://filehorst.de/d/bpjBncqg 3D-HSBS sample with StereoMode-Flag] \\ http://trac.kodi.tv/ticket/16774 \\ revert [https://github.com/FFmpeg/FFmpeg/commit/febfb49a70e82f5ac46dc7ea34dabd4d56b1... matroskadec: Fix sample_aspect_ratio for stereo matroska content] solved that issue. \\ \\ .bismarck
New description: The resolution of 3D HOU/HSBS formats is in all kodi builds with ffmpeg > 2.8.6 on my Intel NUC5CPYH broken. All my mkv container have set the [http://matroska.org/technical/specs/index.html#StereoMode StereoMode] flag! * 3D-HOU: vertical compressed movie\\ [[Image(https://abload.de/thumb/3d_hou_vertical_comprd9jen.png, link=http://abload.de/img/3d_hou_vertical_comprd9jen.png)]]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D597FA700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:2 DAR 8:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D597FA700]: Metadata:\\ INFO: ffmpeg[7F7D597FA700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7F7D597FA700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7F7D597FA700]: Side data:\\ INFO: ffmpeg[7F7D597FA700]: stereo3d: top and bottom\\ ...\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode top_bottom is: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_horizontal\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_horizontal\\ DEBUG: StereoscopicsManager: stereo mode changed to split_horizontal\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **960**x1080. framerate: 23.98. format: VAAPI\\ }}} * 3D-HSBS: horizontal compressed movie\\ [[Image(https://abload.de/thumb/3d_hsbs_horizontal_coefkq2.png, link=http://abload.de/img/3d_hsbs_horizontal_coefkq2.png)]]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 3.0.1\\ ...\\ INFO: ffmpeg[7F7D3AFF5700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 2:1 DAR 32:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7F7D3AFF5700]: Metadata:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo_mode : left_right\\ INFO: ffmpeg[7F7D3AFF5700]: Side data:\\ INFO: ffmpeg[7F7D3AFF5700]: stereo3d: side by side\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **3840**x1080. framerate: 23.98. format: VAAPI\\ DEBUG: StereoscopicsManager: autodetected stereo mode for movie mode left_right is: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode setting changed to split_vertical\\ DEBUG: StereoscopicsManager::ApplyStereoMode: trying to apply stereo mode. Current: off | Target: split_vertical\\ DEBUG: StereoscopicsManager: stereo mode changed to split_vertical\\ }}} * Logfiles 1. OpenELEC (Milhouse) - Version: devel-20160402015807-!#0401-g0026734\\ [http://sprunge.us/SGdi kodi with FFmpeg version: 3.0.1]\\ 2. LibreELEC (Milhouse) - Version: devel-20160619212021-!#0619-gc6c222d\\ [http://sprunge.us/gCVb kodi with FFmpeg version: 3.0.1]\\ Same result with FFmpeg version: 3.0.2 and 3.1.0! ------ Working version: * OpenELEC (Milhouse) - Version: devel-20160320235229-!#0320-g0026734\\ [http://sprunge.us/IXAQ kodi with FFmpeg version: 2.8.6]\\ {{{ #!div style="font-size: 85%" ...\\ NOTICE: FFmpeg version: 2.8.6\\ ...\\ INFO: ffmpeg[7FC68D7F2700]: Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, **SAR 1:1 DAR 16:9**, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\\ INFO: ffmpeg[7FC68D7F2700]: Metadata:\\ INFO: ffmpeg[7FC68D7F2700]: title : 300.Rise.Of.An.Empire.2014.3D.1080p.Bluray.HOU.X264.DL.GER.DTSD-zman\\ INFO: ffmpeg[7FC68D7F2700]: stereo_mode : top_bottom\\ INFO: ffmpeg[7FC68D7F2700]: Side data:\\ INFO: ffmpeg[7FC68D7F2700]: stereo3d: top and bottom\\ ...\\ DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: **1920**x1080. framerate: 23.98. format: VAAPI }}} \\ \\ samples:\\ [http://filehorst.de/d/btBqDsoz 3D-HOU sample with StereoMode-Flag]\\ [http://filehorst.de/d/bpjBncqg 3D-HSBS sample with StereoMode-Flag] \\ http://trac.kodi.tv/ticket/16774 \\ revert febfb49a70e82f5ac46dc7ea34dabd4d56b19b31 - matroskadec: Fix sample_aspect_ratio for stereo matroska content - solved that issue. \\ \\ .bismarck -- Comment: Is the issue reproducible with ffmpeg (the application)? If yes, please test current FFmpeg git head and provide a simple command line that allows to reproduce the issue together with the complete, uncut console output to make this a valid ticket. From a quick look, reverting the offending commit seems wrong to me. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -------------------------------------+------------------------------------- Reporter: .bismarck | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: regression | Blocked By: mkv | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => regression mkv * component: undetermined => avformat -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -------------------------------------+------------------------------------- Reporter: .bismarck | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: regression | Blocked By: mkv | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by heleppkes): FFmpeg seems to behave correctly. For example: When you have H-SBS 1920x1080, you need to double its width to restore the original aspect ratio, so a SAR of 2:1 and a final output image of 3840x1080 would seem correct to me. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -------------------------------------+------------------------------------- Reporter: .bismarck | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: regression | needs_more_info mkv | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: The command lines you attached do not produce output files, they therefore cannot be used to reproduce an issue. Afaict, ffmpeg would produce incorrect output files if the mentioned commit gets reverted, I therefore don't think there is a bug. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5682: 3D HOU/HSBS resolution issue with ffmpeg > 2.8.6 -------------------------------------+------------------------------------- Reporter: .bismarck | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: regression | needs_more_info mkv stereo3d | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: regression mkv => regression mkv stereo3d -- Ticket URL: <https://trac.ffmpeg.org/ticket/5682#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg