VideoHelp Forum




+ Reply to Thread
Results 1 to 23 of 23
  1. I have made a remux of a tvshow with MakeMKV and the aspect ratio should be 4:3.
    When opening the file it plays the content at 16:9.
    Mediainfo shows this info:
    Code:
    Width                                    : 720 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    I would like to remove the Original Display Aspect Ratio from the .mkv and keep the MPEG2 Video.
    If tried
    *DVDPatcher
    *MKVToolnix - Set aspect ratio to 4:3
    *FFMPEG - Set aspect ratio
    *IfoEdit
    *CleverFFMpeg-GUI


    I have the VIDEO_TS folder, how can i edit the files before using MakeMKV to rip the DVD and only keep the DAR?
    Thanks!
    Quote Quote  
  2. Use PGCEdit on the original DVD.
    Quote Quote  
  3. DVDPatcher can change the MPEG AR flags. But you'll have to demux the MPEG 2 stream to an M2V container, patch that new file, then remux to MKV.

    ffmpeg can do it directly with the MKV file using the mpeg2 bitstream filter:

    Code:
    ffmpeg -i input.mkv -c copy -bsf:v mpeg2_metadata=display_aspect_ratio=4/3 -aspect 4:3 output.mkv
    That also sets the container level AR to 4:3.

    A drag/drop batch file:

    Code:
    ffmpeg -i "%~dpnx1" -map 0 -c copy -bsf:v mpeg2_metadata=display_aspect_ratio=4/3 -aspect 4:3 "%~dpn1_AR4.3.mvk"
    pause
    Last edited by jagabo; 7th Jun 2025 at 16:39.
    Quote Quote  
  4. Thanks jagabo for the script.
    It display correctly now but the Original display aspect ratio is still 16:9 when opening with Mediainfo.
    Is it possible to remove that line from the .mkv maybe even hexedit?
    Quote Quote  
  5. Originally Posted by Desz5 View Post
    I have made a remux of a tvshow with MakeMKV and the aspect ratio should be 4:3.
    When opening the file it plays the content at 16:9.
    Mediainfo shows this info:
    Code:
    Width                                    : 720 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    I would like to remove the Original Display Aspect Ratio from the .mkv and keep the MPEG2 Video.
    If tried
    *DVDPatcher
    *MKVToolnix - Set aspect ratio to 4:3
    *FFMPEG - Set aspect ratio
    *IfoEdit
    *CleverFFMpeg-GUI
    Can be done with clever FFmpeg-GUI.
    Load your mkv, click main page, click extract streams.
    Click extract, answer the question for the videostream with raw.
    Click multiplex, deselect the source streams (the blue one) on the left and click multiplex.
    Done.
    Quote Quote  
  6. It works great using your steps and clever FFmpeg-GUI.
    When i leave everything and don't edit the DAR to 1.33 i only get:

    Code:
    Display aspect ratio                     : 16:9
    Removing the Original DAR line like i want.

    Changing the DAR to 1.33 gives back

    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    Using clever FFmpeg-GUI and then using jagabo script to change the aspect ratio to 4:3 leaves me with the same result.
    Both lines are back.
    How can i change the DAR with clever FFmpeg-GUI and keep that 1 line?
    Quote Quote  
  7. Change the DAR with clever Ffmpeg-GUI (main page, various).
    Then repeat the steps from my post above with the new file.
    Quote Quote  
  8. When changing the DAR with clever Ffmpeg-GUI (main page, various) it shows Current DAR: 1.33 reading the DAR from the file source not the Original DAR.
    So when selecting Container & stream (or Stream or Container) the file doesn't output a different file.
    Still:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    So:
    main page, various, Change DAR: Shows DAR (1.33)
    main page, extract streams, raw, multiplex: Shows Source DAR: (1.78)
    Last edited by Desz5; 8th Jun 2025 at 07:49.
    Quote Quote  
  9. Originally Posted by Desz5 View Post
    When changing the DAR with clever Ffmpeg-GUI (main page, various) it shows Current DAR: 1.33 reading the DAR from the file source not the Original DAR.
    So when selecting Container & stream (or Stream or Container) the file doesn't output a different file.
    Still:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    I don't understand what you want.
    Is your mkv, where you want to get rid of the original tag, now 4:3 or 16:9?
    Quote Quote  
  10. It should only show the line: Display aspect ratio : 4:3
    and remove the line Original display aspect ratio : 16:9

    the original tag shows : 16:9
    Quote Quote  
  11. Originally Posted by Desz5 View Post
    It should only show the line: Display aspect ratio : 4:3
    and remove the line Original display aspect ratio : 16:9

    the original tag shows : 16:9
    Then do the steps from my post#5 with this file.
    Quote Quote  
  12. My original file shows:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    I would like to remove the Original display aspect ratio : 16:9 and keep the Display aspect ratio : 4:3.
    Like this:
    Code:
    Display aspect ratio                     : 4:3

    When using your steps from post #5 my new file shows:
    Code:
    Display aspect ratio : 16:9
    Which is wrong because it must be 4:3.
    Changing the DAR AFTER that causes the both lines to reappear:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    Changing the DAR BEFORE the steps from post#5 gives me the same results.
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    What am i doing wrong?
    Am i selecting the sources wrong in the Multiplex screen?
    I'm sorry if i'm not explaining it right.
    Quote Quote  
  13. Originally Posted by Desz5 View Post
    My original file shows:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    What am i doing wrong?
    Load this file (with the two values above) in clever FFmpeg-GUI.
    Click main page, click various, click change DAR.
    The field "New DAR" should show you 1.33.
    Click change.
    Check the new created file with mediainfo.
    It should show you now:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 4:3
    Load this new file in clever FFmpeg-GUI.
    Click main page, click extract streams, click extract, answer the question for the videostream with raw stream.

    Click multiplex, deselect the source streams (the blue one) on the left, leave the green streams selected, set mkv as container, click multiplex.
    Done.

    This new file should show you:
    Code:
    Display aspect ratio                     : 4:3
    Quote Quote  
  14. Load this file (with the two values above) in clever FFmpeg-GUI. - Done
    Click main page, click various, click change DAR. - Done
    The field "New DAR" should show you 1.33. - Correct
    Click change. - Done
    Check the new created file with mediainfo. = filename_DAR_1.33.mkv
    It should show you now:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 4:3
    No i get:

    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    Quote Quote  
  15. Originally Posted by Desz5 View Post
    No i get:

    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    I have no idea why we get different results.
    What is your ffmpeg version?

    Test this sample file with the steps from post #14.
    It should have the same two aspect ratio values as your video.
    Image Attached Files
    Last edited by ProWo; 8th Jun 2025 at 15:32.
    Quote Quote  
  16. The sample file indeed changes it to:
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 4:3
    ffmpeg version: 7.1.1-full_build.

    I don't know why it doesn't work with my file...it's extracted from the DVD with MakeMKV without errors.
    Quote Quote  
  17. Repost a mediainfo report (text mode) from your file.
    Quote Quote  
  18. Code:
    General
    Unique ID                                : 325803599282427629056782191202976623856 (0xF51B7DA41133A76E2B421776B7DB6CF0)
    Complete name                            : C:\Users\user\Downloads\clever_ffmpeg_gui_342\1.mkv
    Format                                   : Matroska
    Format version                           : Version 2
    File size                                : 1.30 GiB
    Duration                                 : 23 min 0 s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 8 072 kb/s
    Frame rate                               : 25.000 FPS
    Encoded date                             : 2025-04-14 20:09:38 UTC
    Writing application                      : MakeMKV v1.18.1 win(x64-release)
    Writing library                          : libmakemkv v1.18.1 (1.3.10/1.5.2) win(x64-release)
    
    Video
    ID                                       : 1
    ID in the original source medium         : 224 (0xE0)
    Format                                   : MPEG Video
    Format version                           : Version 2
    Format profile                           : Main@Main
    Format settings                          : CustomMatrix / BVOP
    Format settings, BVOP                    : Yes
    Format settings, Matrix                  : Custom
    Format settings, GOP                     : Variable
    Format settings, picture structure       : Frame
    Codec ID                                 : V_MPEG2
    Codec ID/Info                            : MPEG 1 or 2 Video
    Duration                                 : 23 min 0 s
    Bit rate mode                            : Variable
    Bit rate                                 : 7 843 kb/s
    Maximum bit rate                         : 8 000 kb/s
    Width                                    : 720 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 FPS
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Top Field First
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.756
    Time code of first frame                 : 00:02:30:00
    Time code source                         : Group of pictures header
    GOP, Open/Closed                         : Open
    Stream size                              : 1.26 GiB (97%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    Original source medium                   : DVD-Video
    
    Audio
    ID                                       : 2
    ID in the original source medium         : 189 (0xBD)128 (0x80)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 23 min 0 s
    Bit rate mode                            : Constant
    Bit rate                                 : 224 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Compression mode                         : Lossy
    Stream size                              : 36.8 MiB (3%)
    Title                                    : Stereo
    Language                                 : English
    Service kind                             : Complete Main
    Default                                  : Yes
    Forced                                   : No
    Original source medium                   : DVD-Video
    Dialog Normalization                     : -31 dB
    compr                                    : 1.49 dB
    dialnorm_Average                         : -31 dB
    dialnorm_Minimum                         : -31 dB
    dialnorm_Maximum                         : -31 dB
    
    Menu
    00:00:00.000                             : en:Chapter 01
    00:01:27.920                             : en:Chapter 02
    00:05:00.200                             : en:Chapter 03
    00:10:00.200                             : en:Chapter 04
    00:15:00.320                             : en:Chapter 05
    00:20:00.440                             : en:Chapter 06
    00:22:58.880                             : en:Chapter 07
    Quote Quote  
  19. If you use your 1.mkv with the steps in post #14 you get
    Code:
    Display aspect ratio                     : 4:3
    Original display aspect ratio            : 16:9
    ?
    Quote Quote  
  20. Originally Posted by Desz5 View Post
    Right.
    Then I'm out, sorry. I have no further ideas.
    Quote Quote  
  21. Can i upload a sample for you to check?
    Quote Quote  
  22. Originally Posted by Desz5 View Post
    Can i upload a sample for you to check?
    Yes, of course.
    Quote Quote  



Similar Threads

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