Page 1 of 1

Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 8:41 am
by doobre
I have some .m2ts HD files which import into Resolve (16 and 17) fine but the playback is glitchy as many have found.
I put the .m2ts into AVS remaker and trimmed out one 30min chunk and "remade" the file in .m2ts but with PCM audio.
Resolve will not even recognise these new files for import!!

So my Q is what has AVS remaker changed other than the duration of the original.
If I transcode the new "short" file thru cliptoolz upto DNxHD 120, the file will import into resolve fine.. and playback better than the .m2ts..!!!!
Ideas what was broken... or...?
cheers CD

Mediainfo reports below
============================
Original .m2ts

General
ID : 0 (0x0)
Complete name : D:\SONY PLAY INPUT\--------------\1 Video\30-06-2020\20200630123835.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 19.7 GiB
Duration : 2 h 6 min
Overall bit rate mode : Variable
Overall bit rate : 22.3 Mb/s
Maximum Overall bit rate : 24.0 Mb/s
Recorded date : 2020-06-30 12:38:35+12:00
Writing application : Sony HDR-CX110E

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Format settings, GOP : M=2, N=13
Codec ID : 27
Duration : 2 h 6 min
Bit rate mode : Variable
Bit rate : 21.2 Mb/s
Maximum bit rate : 22.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.408
Stream size : 18.7 GiB (95%)
IrisFNumber : 1.800000

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 256 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
Delay relative to video : -80 ms
Stream size : 231 MiB (1%)
Service kind : Complete Main

================================

New shorter version from AVS remaker

General
ID : 0 (0x0)
Complete name : E:\RENDERS\AVS Output\20200630123835-short.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 4.18 GiB
Duration : 25 min 12 s
Overall bit rate mode : Variable
Overall bit rate : 23.7 Mb/s
Recorded date : 2020-06-30 12:57:16+12:00
Writing application : Sony HDR-CX110E

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Format settings, GOP : M=2, N=13
Codec ID : 27
Duration : 25 min 12 s
Bit rate mode : Variable
Bit rate : 21.3 Mb/s
Maximum bit rate : 22.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.410
Stream size : 3.74 GiB (90%)
IrisFNumber : 1.800000

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 25 min 12 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 277 MiB (6%)
====================================

transcoded DNxHD of the shorter file

General
Complete name : E:\RENDERS\Cliptoolz Renders\rear\20200630123835-short.mov
Format : MPEG-4
Commercial name : DNxHD 120
Format profile : QuickTime
Codec ID : qt 0000.00 (qt )
File size : 21.6 GiB
Duration : 25 min 12 s
Overall bit rate : 123 Mb/s
Encoded date : UTC 2020-12-19 05:00:48
Tagged date : UTC 2020-12-19 05:00:48
Writing application : FFmbc 0.7

Video
ID : 1
Format : VC-3
Commercial name : DNxHD 120
Format version : Version 1
Format profile : HD@SQ
Codec ID : AVdn
Codec ID/Info : Avid DNxHD
Duration : 25 min 12 s
Bit rate mode : Constant
Bit rate : 121 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 2.339
Stream size : 21.4 GiB (99%)
Language : English
Encoded date : UTC 2020-12-19 05:00:48
Tagged date : UTC 2020-12-19 05:00:48

Audio
ID : 2
Format : PCM
Format settings : Little / Signed
Codec ID : sowt
Duration : 25 min 12 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 277 MiB (1%)
Language : English
Encoded date : UTC 2020-12-19 05:00:48
Tagged date : UTC 2020-12-19 05:00:48

Other
ID : 3
Type : Time code
Format : QuickTime TC
Duration : 25 min 12 s
Frame rate : 25.000 FPS
Time code of first frame : 16:53:46:00
Time code, striped : Yes
Title : rear

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 11:16 am
by roger.magnusson
The Advanced Video Codec, also known as H.264, is only hardware accelerated in the Studio version of Resolve. So your options are to get the Studio version or transcode in another app before editing.

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 1:14 pm
by doobre
Hi there.. thanks but can you answer my question..!

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 1:25 pm
by Uli Plank
Nothing was broken. It's the wrong codec.

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 1:37 pm
by doobre
I give up...!

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 3:03 pm
by Gary Hango
Try rewrapping the original clip to .mov instead of back to an .m2ts.

Re: Question about importing .m2ts

PostPosted: Sat Dec 19, 2020 9:24 pm
by doobre
Ok... last attempt to get an answer..
My Q is > what has AVS remaker changed (other than the duration) of the original to stop it being recognised by DR.?
Cheers

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 12:10 am
by roger.magnusson
Since the data from MediaInfo is the same for both video tracks we can't possibly tell from that. My point was that you might not need to transcode at all if you had the Studio version.

Maybe share a small sample before and after.

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 12:21 am
by doobre
Thanks Roger I understand about the Studio version.
Do you know how it would be possible to see what AVS remaker has altered in the file..?
cheers CD

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 4:32 am
by Gary Hango
Try using AVS remaker to copy the first ten seconds of the clip. See if this imports into Resolve. If it doesn't, use a hex editor to compare the headers between the original and copied clips. See what AVS remake is adding or leaving out of the headers.

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 4:34 am
by doobre
Thanks Gary
That’s the sort of what I was after.. cheers CD

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 5:08 am
by Peter Cave
Some video codecs only support certain audio types. It may be the PCM audio is not supported with an m2ts video container format.

Re: Question about importing .m2ts

PostPosted: Sun Dec 20, 2020 7:26 am
by doobre
Thanks for that Peter...
Cheers CD