#5682 closed defect (needs_more_info)
3D HOU/HSBS resolution issue with ffmpeg > 2.8.6
Reported by: | .bismarck | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | unspecified | Keywords: | regression mkv stereo3d |
Cc: | fritsch@kodi.tv | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
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 StereoMode flag!
- 3D-HOU: vertical compressed movie
...
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: 960x1080. framerate: 23.98. format: VAAPI
- 3D-HSBS: horizontal compressed movie
...
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: 3840x1080. 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
- OpenELEC (Milhouse) - Version: devel-20160402015807-#0401-g0026734
kodi with FFmpeg version: 3.0.1
- LibreELEC (Milhouse) - Version: devel-20160619212021-#0619-gc6c222d
kodi with FFmpeg version: 3.0.1
- OpenELEC (Milhouse) - Version: devel-20160402015807-#0401-g0026734
Same result with FFmpeg version: 3.0.2 and 3.1.0!
Working version:
- OpenELEC (Milhouse) - Version: devel-20160320235229-#0320-g0026734
kodi with FFmpeg version: 2.8.6
...
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: 1920x1080. framerate: 23.98. format: VAAPI
samples:
3D-HOU sample with StereoMode-Flag
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
Attachments (5)
Change History (10)
comment:1 by , 9 years ago
Component: | ffmpeg → undetermined |
---|---|
Description: | modified (diff) |
Version: | 3.0.2 → unspecified |
comment:2 by , 9 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | regression mkv added |
by , 9 years ago
Attachment: | 300_Rise_of_an_Empire_sample_cut.mkv added |
---|
by , 9 years ago
Attachment: | The_Art_of_Flight_sample_cut.mkv added |
---|
comment:3 by , 9 years ago
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, as you need to stretch the H-SBS image to Full-SBS.
Maybe interpretation/handling on Kodis side needs to be updated, now that FFmpeg behaves properly.
by , 9 years ago
Attachment: | ffmpeg-20160701-183122.log added |
---|
ffmpeg head with 3D-HOU sample and revert commit
by , 9 years ago
Attachment: | ffmpeg-20160701-184807.log added |
---|
ffmpeg head with 3D-HOU sample without StereoMode-flag
comment:4 by , 9 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
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.
comment:5 by , 7 years ago
Keywords: | stereo3d added |
---|
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.