Skip to content

Does not worth with mkv video files #110

@Spedwards

Description

@Spedwards

I've been using vcsi for a while and always with mp4 files. I recently switched to using mkv files and immediately noticed that vcsi does not work with them at all. I converted one of these files to an mp4 (not changing codecs or anything) and it worked.

Here's the ffprobe output of a short mkv file I tested with:

Input #0, matroska,webm, from 'T:\test_video.mkv':
  Metadata:
    title           : Movie_BD
    ENCODER         : Lavf58.45.100
  Duration: 00:00:53.77, start: 0.000000, bitrate: 3428 kb/s
    Chapter #0:0: start 0.000000, end 53.261541
    Metadata:
      title           : Chapter 19
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 19998603
      DURATION-eng    : 01:37:55.035833333
      NUMBER_OF_FRAMES-eng: 140860
      NUMBER_OF_BYTES-eng: 14686561810
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-01-07 02:52:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:53.761000000
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 01:37:55.040000000
      NUMBER_OF_FRAMES-eng: 183595
      NUMBER_OF_BYTES-eng: 329002240
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-01-07 02:52:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:53.766000000

Here's the ffprobe output for the same file after converted to mp4:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'T:\test_video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Movie_BD
    encoder         : Lavf58.45.100
  Duration: 00:00:53.76, start: 0.000000, bitrate: 3431 kb/s
    Chapter #0:0: start 0.000000, end 53.262000
    Metadata:
      title           : Chapter 19
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2977 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Side data:
      audio service type: main
    Stream #0:2(eng): Data: bin_data (text / 0x74786574), 0 kb/s
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 100359 for input stream 2

That mp4 output has an error and still vcsi works on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions