VideoHelp Forum
+ Reply to Thread
Results 1 to 25 of 25
Thread
  1. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Hi
    I have tried and tested different programs, such as tsmuxer and others to create a Blu Ray Folder for an MKV, however, none of them have worked for me, in fact, some programs lower the framerate to 30

    This is the mediainfo of the MKV

    Format : Matroska
    Format version : Version 4
    File size : 27.8 GiB
    Duration : 2 h 23 min
    Overall bit rate : 27.7 Mb/s
    Frame rate : 59.763 FPS
    Writing application : Lavf60.16.100
    Writing library : Lavf60.16.100
    ErrorDetectionType : Per level 1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.2
    Format settings : CABAC / 1 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference : 1 frame
    Format settings, GOP : M=1, N=60
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 2 h 23 min
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 59.763 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Title : VideoHandle
    Language : English
    Default : No
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709
    VENDOR_ID : [0][0][0][0]

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : A_AAC-2
    Duration : 2 h 23 min
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Title : SoundHandle
    Language : English
    Default : No
    Forced : No
    VENDOR_ID : [0][0][0][0]

    I think the fact that the MKV has a framerate of 59,763 FPS is giving me headaches.

    Anyone can help me to create a Blu ray without transcoding?
    Quote Quote  
  2. Blu-ray does not support 1080p59.94, closest is 1080i29.97.
    Re-encode your footage to use a standard framerate (29.97), make it Blu-ray compliant (vbv, keyint...), and flag it as interlaced.
    Quote Quote  
  3. Originally Posted by cibo View Post
    Blu-ray does not support 1080p59.94, closest is 1080i29.97.
    Just curious. Does Blu-ray support 1080p 25fps, or just 1080i. Googling offers some conflicting answers.

    Cheers
    Quote Quote  
  4. Originally Posted by Sharc View Post
    No. But you could use "fake interlaced" mode to fool the player.
    So Blu-ray is not the same as AVCHD burnt to DVD-R media. I do this with 1080p 25fps using multiAVCHD (no reencoding) and playback is fine with my Sony Blu-ray player.
    Quote Quote  
  5. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Secoast View Post
    Originally Posted by Sharc View Post
    No. But you could use "fake interlaced" mode to fool the player.
    So Blu-ray is not the same as AVCHD burnt to DVD-R media. I do this with 1080p 25fps using multiAVCHD (no reencoding) and playback is fine with my Sony Blu-ray player.
    Might you help me the options that I need to set in multiAVCHD for 1080p and 25fps?
    Quote Quote  
  6. Burned media does not have to abide specifically to the Blu-ray standard. There is always some leeway but this is on a player/brand basis.

    tsMuxer does not follow strictly the H.222 specifications, yet most players will support what it outputs, to some extent.
    Quote Quote  
  7. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    I disagree with @cibo. The further you stray from the standard, the less compatible and supported you become. It's not possible to make a 4k UHD Blu-ray be fully compatible, because there isn't a standard yet for burnables, but there IS a standard for HD Blu-ray and there is available consumer software to create it. Would be a shame to ignore the possibility of compatibility.


    Scott
    Quote Quote  
  8. Originally Posted by javieracdc View Post
    Originally Posted by Secoast View Post
    Originally Posted by Sharc View Post
    No. But you could use "fake interlaced" mode to fool the player.
    So Blu-ray is not the same as AVCHD burnt to DVD-R media. I do this with 1080p 25fps using multiAVCHD (no reencoding) and playback is fine with my Sony Blu-ray player.
    Might you help me the options that I need to set in multiAVCHD for 1080p and 25fps?
    multiAVCHD is too complex a program to explain here how to use its miriad of functions.
    However, assuming you have all the required tools installed, the following should get you started.

    Note: The following is for 1080p 25fps (no re-encoding so, h264 video, AC3 audio), AVCHD to DVD-R media. You will only get about 30 minutes on a disc. Works for my Sony player, but no guarantees for other players.

    Via Settings tab "Reset all to defaults"
    Select "Use Imgburn with DVD/BDR output"
    Navigate to Image burn when requested

    Via Media tab "Add video files"

    Via Author tab select "Create top menu" and check "XMB" menu. Uncheck everything else
    Set "TV system" to "PAL 24p" (for menu creation)
    Set "Transparency" slider to zero

    Via Menu (General) tab set "Default menu type" to "Static", (Motion should also work)
    Via Menu (Advanced) tab check "Do not apply background tweaks"
    Via Menu (Extended) tab set "Menu encoding quality" to "Very High"

    Click (Start) button (bottom of right hand pane)
    Select (AVCHD Disc) from options
    Click ImgBurn write button when requested
    Quote Quote  
  9. Originally Posted by Cornucopia View Post
    I disagree with @cibo. The further you stray from the standard, the less compatible and supported you become. It's not possible to make a 4k UHD Blu-ray be fully compatible, because there isn't a standard yet for burnables, but there IS a standard for HD Blu-ray and there is available consumer software to create it. Would be a shame to ignore the possibility of compatibility.
    My wording was not the best but I was not supporting his take either. I was just explaining that players tend to offer some margin rather than just catastrophically fail. People should not willingly exploit that edge.
    Quote Quote  
  10. Another note on the compatibility: AAC is not accepted audio codec by Blu-ray and AVCHD. Audio must be encoded in PCM or Dolby.
    Quote Quote  
  11. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Secoast View Post
    Originally Posted by javieracdc View Post
    Originally Posted by Secoast View Post
    Originally Posted by Sharc View Post
    No. But you could use "fake interlaced" mode to fool the player.
    So Blu-ray is not the same as AVCHD burnt to DVD-R media. I do this with 1080p 25fps using multiAVCHD (no reencoding) and playback is fine with my Sony Blu-ray player.
    Might you help me the options that I need to set in multiAVCHD for 1080p and 25fps?
    multiAVCHD is too complex a program to explain here how to use its miriad of functions.
    However, assuming you have all the required tools installed, the following should get you started.

    Note: The following is for 1080p 25fps (no re-encoding so, h264 video, AC3 audio), AVCHD to DVD-R media. You will only get about 30 minutes on a disc. Works for my Sony player, but no guarantees for other players.

    Via Settings tab "Reset all to defaults"
    Select "Use Imgburn with DVD/BDR output"
    Navigate to Image burn when requested

    Via Media tab "Add video files"

    Via Author tab select "Create top menu" and check "XMB" menu. Uncheck everything else
    Set "TV system" to "PAL 24p" (for menu creation)
    Set "Transparency" slider to zero

    Via Menu (General) tab set "Default menu type" to "Static", (Motion should also work)
    Via Menu (Advanced) tab check "Do not apply background tweaks"
    Via Menu (Extended) tab set "Menu encoding quality" to "Very High"

    Click (Start) button (bottom of right hand pane)
    Select (AVCHD Disc) from options
    Click ImgBurn write button when requested
    Thanks for this one

    Exist another way to convert it to 29.970fps instead 25 fps?
    Quote Quote  
  12. Originally Posted by javieracdc View Post
    Exist another way to convert it to 29.970fps instead 25 fps?
    Conversion 59.94p -> 29.97i in Avisynth:
    Code:
    separatefields().selectevery(4,0,3).weave()
    or using ffmpeg, try:
    Code:
    ffmpeg -i "%~1" -vf setfield=tff,tinterlace=4 -c:a ac3 -c:v libx264 -preset slow -crf 20 -flags +ilme+ildct "%~1_interlaced.mkv"
    Last edited by Sharc; 6th Apr 2024 at 05:42.
    Quote Quote  
  13. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    Exist another way to convert it to 29.970fps instead 25 fps?
    Conversion 59.94p -> 29.97i in Avisynth:
    Code:
    separatefields().selectevery(4,0,3).weave()
    or using ffmpeg, try:
    Code:
    ffmpeg -i "%~1" -vf setfield=tff,tinterlace=4 -c:a ac3 -c:v libx264 -preset slow -crf 20 -flags +ilme+ildct "%~1_interlaced.mkv"
    Thanks so much!

    The original video has fps 30.386 which cannot be converted to Blu Ray structure so I needed to convert to 29.970
    Quote Quote  
  14. Originally Posted by javieracdc View Post
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    Exist another way to convert it to 29.970fps instead 25 fps?
    Conversion 59.94p -> 29.97i in Avisynth:
    Code:
    separatefields().selectevery(4,0,3).weave()
    or using ffmpeg, try:
    Code:
    ffmpeg -i "%~1" -vf setfield=tff,tinterlace=4 -c:a ac3 -c:v libx264 -preset slow -crf 20 -flags +ilme+ildct "%~1_interlaced.mkv"
    Thanks so much!

    The original video has fps 30.386 which cannot be converted to Blu Ray structure so I needed to convert to 29.970
    In this case a simple Avisynth script may do
    Code:
    AssumeFPS(29.97,true)
    But still, a true Blu-ray has many more restrictions as has been said before.
    Quote Quote  
  15. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    Exist another way to convert it to 29.970fps instead 25 fps?
    Conversion 59.94p -> 29.97i in Avisynth:
    Code:
    separatefields().selectevery(4,0,3).weave()
    or using ffmpeg, try:
    Code:
    ffmpeg -i "%~1" -vf setfield=tff,tinterlace=4 -c:a ac3 -c:v libx264 -preset slow -crf 20 -flags +ilme+ildct "%~1_interlaced.mkv"
    Thanks so much!

    The original video has fps 30.386 which cannot be converted to Blu Ray structure so I needed to convert to 29.970
    In this case a simple Avisynth script may do
    Code:
    AssumeFPS(29.97,true)
    But still, a true Blu-ray has many more restrictions as has been said before.
    But what about the audio sync?
    i've tried to convert to 29.97o or 25 fps but the audio is out of sync
    Quote Quote  
  16. Originally Posted by javieracdc View Post
    But what about the audio sync?
    The "true" should keep it in sync
    https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/fps.html
    Quote Quote  
  17. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    But what about the audio sync?
    The "true" should keep it in sync
    https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/fps.html
    Thanks, although I believe that I have to use a software to re encode the video, I dont know how to use avisynth
    Quote Quote  
  18. Originally Posted by javieracdc View Post
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    But what about the audio sync?
    The "true" should keep it in sync
    https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/fps.html
    Thanks, although I believe that I have to use a software to re encode the video, I dont know how to use avisynth
    If you are not familiar with avisynth or ffmpeg, maybe try BD Rebuilder. It outputs Blu-ray compliant files or discs for many source formats, including basic menus. Most support you would find in the doom9 forum I think.
    Quote Quote  
  19. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    Originally Posted by Sharc View Post
    Originally Posted by javieracdc View Post
    But what about the audio sync?
    The "true" should keep it in sync
    https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/fps.html
    Thanks, although I believe that I have to use a software to re encode the video, I dont know how to use avisynth
    If you are not familiar with avisynth or ffmpeg, maybe try BD Rebuilder. It outputs Blu-ray compliant files or discs for many source formats, including basic menus. Most support you would find in the doom9 forum I think.
    Thanks so much for your help
    Yes, the big problem of this video that this video was recorded using a Samsung with some strange framerate in MP4, which has been a headache trying to get this video to have a framerate to create a simple BD format, every time I reduce the framerate the audio gets out of sync.

    At the moment I have the video running with TMPEnc authoring works to convert it to MKV at 29.970 and supposedly with synced audio, but this can easily take 20 hours :/

    Using BD Rebuilder got this error:

    [12:04:46] Importing MP4: PARTE1
    - Preparing MP4 for processing...
    - Scanning for Variable Frame Rate...
    - Collecting audio/video streams from source...
    - Converting source to compliant format...
    [12:10:15]ERROR: Failed VFR conversion. Aborted.
    Last edited by javieracdc; 7th Apr 2024 at 11:10.
    Quote Quote  
  20. Originally Posted by javieracdc View Post
    At the moment I have the video running with TMPEnc authoring works to convert it to MKV at 29.970 and supposedly with synced audio, but this can easily take 20 hours
    You cold try converting with Avidemux.

    https://www.avidemux.org/nightly/win64/

    Latest, last in list.

    Settings:

    Video output: Mpeg4 AVC (x264)

    Audio output: AC3 (AAC not supported in BD)

    Video output/Filters/Transform/Resample FPS
    Mode: 29.97 (NTSC)
    Interpolation: None

    I would make a 5-10 minute selection first, to test sync. Total encoding time will of course depend very much on your system
    Quote Quote  
  21. Originally Posted by javieracdc View Post
    Using BD Rebuilder got this error:

    [12:04:46] Importing MP4: PARTE1
    - Preparing MP4 for processing...
    - Scanning for Variable Frame Rate...
    - Collecting audio/video streams from source...
    - Converting source to compliant format...
    [12:10:15]ERROR: Failed VFR conversion. Aborted.
    That's a hint at least. Fixing may be not so easy, otherwise BD RB would probably have done it, I guess.

    2 possible approaches
    - One could convert VFR to CFR by remuxing the video into a container which doesn't support VFR, like .avi for example. It may require resampling of the audio though. Here a proposal using ffmpeg. It will be very fast as no reencoding is done, no quality loss, just adjusting timestamps.
    Code:
    ffmpeg -r 30000.0/1001.0 -i "your VFR source" -c:v copy -c:a copy CFR.avi
    ffmpeg -i CFR.avi -i "your VFR source" -map 0:v -map 0:a -map_metadata:s:v 1:s:v -c:v copy -c:a copy -fflags +genpts  "new_CFR.mp4"
    del CFR.avi
    You could try similar using some GUI, maybe?

    - Or if you re-pack your .mkv into an .mp4 container - or better use the original .mp4 from the Samsung capture - you could try mp4fpsmod from here:
    https://github.com/nu774/mp4fpsmod

    Resampling of the audio (and converting to ac3 for Blu-Ray) may be required, you have to try.

    Good luck.
    Last edited by Sharc; 7th Apr 2024 at 12:44.
    Quote Quote  
  22. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Thanks for all

    I've tried using Avidemux but it keeps out of sync the audio :/

    Finally TMPEnc authoring works finished the video and it worked, audio is sync.

    Later I had to import the new MKV file to BD_rebuilder and it worked, no error appears
    Quote Quote  
  23. Member
    Join Date
    Nov 2023
    Location
    Santiago
    Search PM
    Hello, I now have the following case

    I have a MKV that I recorded from the Iphone 15 and I have these HDR parameters:

    HDR format : Dolby Vision, Version 1.0, Profile 8.4, dvhe.08.05, BL+RPU, no metadata compression, HLG compatible.

    Transfer characteristics : HLG
    Matrix coefficients : BT.2020 non-constant

    It also has a variable frame rate but I can't transform it to Blu Ray with tsmuxer because the audio is out of sync, since I have to set a fixed framerate in tsmuxer.

    In fact the video framerate is approx 59fps but I would like to set it to 59.95 to match the BD frame.


    How can I convert from 59 to 59.95 fps constant without losing audio sync and losing HDR and keep the same video quality, (keeping the bitrates)?
    Quote Quote  
  24. You need to convert HLG HDR to SDR, otherwise you will lose the color.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!