Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to change AR, do I have to re-encode? If so, how can I keep original settings?
Let’s say I have one m2ts file (AR 1.78:1) and all I want to do is change the AR to 1.85:1 (black bars on the top and bottom 22px each). Is there any software that allows me to do this without re-encoding? I suppose not.

Therefore, I want to see all the video properties of the m2ts file. What software can I use to view all the original parameters? I mean, all the parameters I must keep to obtain a new m2ts file identical to the original file.

What software can I use to preserve all of them? I normally use Adobe Premiere.
Thanks given by:
Black bars are usually part of the video in BD compliant streams. You can always change aspect ratio in mkvmerge or some such but that doesn’t add “true” black bars. In order to get them there permanent you have to re-encode as far as I know. You should be able to do that in AP by adding crop at the top and bottom or changing the project’s aspect ratio

I use mediainfo for viewing video files properties.
Thanks given by: Onti
Easy and fastest way to do that is to use a player that will overlay black bars for you. Wink

Second easy way: feed it to VirtualDub2 and use an internal filter to crop and then add black bars.
Thanks given by: Onti
I have used Mediainfo. Are these all the parameters I need for the new copy to be identical?:


ID                                      : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                  : AVC
Format/Info                              : Advanced Video Codec
Format profile                          : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                  : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                : 27
Duration                                : 1 h 26 min
Bit rate mode                            : Variable
Bit rate                                : 19.1 Mb/s
Maximum bit rate                        : 30.0 Mb/s
Width                                    : 1 920 pixels
Height                                  : 1 080 pixels
Display aspect ratio                    : 16:9
Frame rate                              : 23.976 (24000/1001) FPS
Standard                                : NTSC
Color space                              : YUV
Chroma subsampling                      : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                      : 0.383
Stream size                              : 11.5 GiB (83%)
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                : BT.709
Matrix coefficients                      : BT.709

Well, take a look at this very interesting information I have found:


Use a bitstream filter

The h264_metadata and hevc_metadata bitstream filters can set crop dimensions without modifying the video itself.
Note: Your player may not support this method.



Set the frame cropping offsets in the SPS. These values will replace the current ones if the stream is already cropped.
These fields are set in pixels. Note that some sizes may not be representable if the chroma is subsampled or the stream is interlaced (see H.264 section

I have never used FFmpeg. but if I understand correctly, can I change the aspect ratio of one m2ts file without re-encoding only if that m2ts is already cropped?

Two examples:

-1.78:1 to 1.85:1, is it not possible since the 1.78:1 is not cropped?

-1.85:1 to 2.35:1, is it possible since 1.85:1 is already cropped?
Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Help] Best Topaz Video Enhance settings ? mysun 5 638 2024-05-25, 12:52 PM
Last Post: Falcon
Thumbs Up x264 BD compliant "perfect" settings spoRv 150 194,203 2023-09-16, 10:08 PM
Last Post: DoomBot
  x265 UHD-BD compliant "perfect" settings spoRv 18 15,505 2021-12-06, 06:12 PM
Last Post: bronan
  NVenc Test Settings Chewtobacca 2 2,244 2020-08-04, 07:56 PM
Last Post: Chewtobacca
  [Idea] x264 BD compliant "perfect" settings - faster version spoRv 26 19,807 2020-05-11, 08:36 PM
Last Post: Stamper
  Handbrake settings - question JackForrester 3 3,057 2020-03-21, 09:25 PM
Last Post: deleted user
  [Help] Can DaVinci Resolve trim without re-encode? Evit 13 8,208 2019-04-11, 06:41 PM
Last Post: X5gb
  Tools and settings for compressing x264? NeonBible 1 2,523 2019-01-11, 12:01 PM
Last Post: MrBrown
  Change framerate (losslessly) Valeyard 1 4,123 2015-07-03, 08:30 PM
Last Post: Stamper

Forum Jump:

Users browsing this thread: 1 Guest(s)