Author Topic: How to split lossless h264?  (Read 11666 times)
  • Administrator
  • Users
  • *****
  • Posts: 1164
    • View Profile
« Reply #4 on: September 14, 2020, 07:01:21 PM »
Hello StuckPixel,

Thank you for file that you have sent us.

I see the distortions while playback of this file not only in Video Splitter, but also in VLC and Media Player Classic.

Our developers will check this file too, as soon as there will be any news, we will post here.
Regards,
Olga Krovyakova
Solveig Multimedia

  • Users
  • *
  • Posts: 5
    • View Profile
« Reply #3 on: September 10, 2020, 09:17:22 PM »
I specified the full command line used for encoding. You can encode *any* video with that and get a result to test with.

But I picked a random YouTube video and did it for you anyways. Here it is:

https://www76.zippyshare.com/v/JIeaY27g/file.html

The distortions in SolveigMM Video Splitter and identical to what is seen when loading lossless encoded videos in old versions of VLC, Roku, or any software or hardware that does not support lossless playback. So I'm guessing lossless just isn't something SolveigMM is able to work with.
« Last Edit: October 21, 2022, 04:10:33 PM by Maxim.Sakhankov »

  • Administrator
  • Users
  • *****
  • Posts: 1164
    • View Profile
« Reply #2 on: September 07, 2020, 06:04:10 PM »
Hello StuckPixel,

Could you please send us your input file, that you try to trim for we could check it at our end? Maybe you have same sample file of small file size.

You can use any file sharing services, like Google Drive (drive.google.com), Dropbox, wetransfer.com or others.
Regards,
Olga Krovyakova
Solveig Multimedia

  • Users
  • *
  • Posts: 5
    • View Profile
« Reply #1 on: September 06, 2020, 10:46:47 AM »
I have a lossless h264 file that I need to split some segments out of. My workflow strategy was to use SolveigMM to do this.

It's encoded as lossless h264 (High 4:4:4, 8-bit i420).


Encoding:
Code: [Select]
x264 --preset veryslow --qp 0 --no-deblock --profile high444 --sync-lookahead 12 --no-psy --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt709 --demuxer raw --input-res 720x480 --input-csp i420 --input-range tv --input-depth 8 --fps 24000/1001 --output-depth 8 --output "C:\Users\Administrator\AppData\Local\Temp\file.264"

Resulting file:
Code: [Select]
General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Complete name                            : E:\USER\fin\Test\file.mp4
Folder name                              : E:\USER\fin\Test
File name extension                      : file.mp4
File name                                : file
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : JVT
Internet media type                      : video/mp4
Codec ID                                 : avc1
Codec ID                                 : avc1 (isom/avc1)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/avc1
File size                                : 7317494329
File size                                : 6.81 GiB
File size                                : 7 GiB
File size                                : 6.8 GiB
File size                                : 6.81 GiB
File size                                : 6.815 GiB
Duration                                 : 4120953
Duration                                 : 1 h 8 min
Duration                                 : 1 h 8 min 40 s 953 ms
Duration                                 : 1 h 8 min
Duration                                 : 01:08:40.953
Duration                                 : 01:08:42;00
Duration                                 : 01:08:40.953 (01:08:42;00)
Overall bit rate                         : 14205441
Overall bit rate                         : 14.2 Mb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 98804
Stream size                              : 472054
Stream size                              : 461 KiB (0%)
Stream size                              : 461 KiB
Stream size                              : 461 KiB
Stream size                              : 461 KiB
Stream size                              : 461.0 KiB
Stream size                              : 461 KiB (0%)
Proportion of this stream                : 0.00006
HeaderSize                               : 471964
DataSize                                 : 7317022291
FooterSize                               : 74
IsStreamable                             : Yes
Encoded date                             : UTC 2020-09-06 03:28:54
Tagged date                              : UTC 2020-09-06 03:28:54
File creation date                       : UTC 2020-09-06 03:29:15.740
File creation date (local)               : 2020-09-05 23:29:15.740
File last modification date              : UTC 2020-09-06 03:29:31.306
File last modification date (local)      : 2020-09-05 23:29:31.306
Writing application                      : Hybrid 2020.07.20.1
Writing application                      : Hybrid 2020.07.20.1

Video
Count                                    : 378
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High 4:4:4 Predictive@L4
Format settings                          : CABAC / 16 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 16
Format settings, Reference frames        : 16 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 4120953
Duration                                 : 1 h 8 min
Duration                                 : 1 h 8 min 40 s 953 ms
Duration                                 : 1 h 8 min
Duration                                 : 01:08:40.953
Duration                                 : 01:08:42;00
Duration                                 : 01:08:40.953 (01:08:42;00)
Bit rate                                 : 14204520
Bit rate                                 : 14.2 Mb/s
Maximum bit rate                         : 39047072
Maximum bit rate                         : 39.0 Mb/s
Width                                    : 720
Width                                    : 720 pixels
Height                                   : 480
Height                                   : 480 pixels
Sampled_Width                            : 720
Sampled_Height                           : 480
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.500
Display aspect ratio                     : 3:2
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (23976/1000) FPS
FrameRate_Num                            : 23976
FrameRate_Den                            : 1000
Original frame rate                      : 23.976
Original frame rate                      : 23.976 (24000/1001) FPS
FrameRate_Original_Num                   : 24000
FrameRate_Original_Den                   : 1001
Frame count                              : 98804
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.714
Stream size                              : 7317022275
Stream size                              : 6.81 GiB (100%)
Stream size                              : 7 GiB
Stream size                              : 6.8 GiB
Stream size                              : 6.81 GiB
Stream size                              : 6.815 GiB
Stream size                              : 6.81 GiB (100%)
Proportion of this stream                : 0.99994
Writing library                          : x264 - core 161 r3015 4c2aafd
Writing library                          : x264 core 161 r3015 4c2aafd
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 161 r3015 4c2aafd
Encoding settings                        : cabac=1 / ref=16 / deblock=0:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0
Encoded date                             : UTC 2020-09-06 03:28:54
Tagged date                              : UTC 2020-09-06 03:29:15
colour_description_present               : Yes
colour_description_present_Source        : Stream
Color range                              : Limited
colour_range_Source                      : Stream
colour_primaries_Source                  : Stream
transfer_characteristics_Source          : Stream
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Stream
Codec configuration box                  : avcC

It displays fine in VirtualDub, VLC Player, etc.

But SolveigMM apparently can't handle it:



Any way around this block?
« Last Edit: September 06, 2020, 10:54:49 AM by StuckPixel »