L-SMASH-Works icon indicating copy to clipboard operation
L-SMASH-Works copied to clipboard

LWLibavSource sporadically reports wrong frame rate

Open ChrisK2 opened this issue 10 years ago • 1 comments

While encoding 4 videos from the same source-file, I had LWLibavSource (using VS) report three different frame rates:

Encoding segment 13-00 of 03 to workfiles/video/segments/Ni_13-00_720.mp4
Loading new sourcefile: BDMV/umi07/BDMV/STREAM/00000.m2ts
Source ClipInfo: VideoNode
    Format: YUV420P8
    Width: 1920
    Height: 1080
    Num Frames: 69535
    FPS Num: 2110
    FPS Den: 88
    Flags: Is Cache, No Cache


Encoding segment 13-00 of 03 to workfiles/video/segments/Ni_13-00_1080.mp4
Loading new sourcefile: BDMV/umi07/BDMV/STREAM/00000.m2ts
Source ClipInfo: VideoNode
    Format: YUV420P8
    Width: 1920
    Height: 1080
    Num Frames: 69535
    FPS Num: 24000
    FPS Den: 1001
    Flags: Is Cache, No Cache


Encoding segment 14-00 of 03 to workfiles/video/segments/Ni_14-00_720.mp4
Loading new sourcefile: BDMV/umi07/BDMV/STREAM/00000.m2ts
Source ClipInfo: VideoNode
    Format: YUV420P8
    Width: 1920
    Height: 1080
    Num Frames: 69535
    FPS Num: 1990
    FPS Den: 83
    Flags: Is Cache, No Cache


Encoding segment 14-00 of 03 to workfiles/video/segments/Ni_14-00_1080.mp4
Loading new sourcefile: BDMV/umi07/BDMV/STREAM/00000.m2ts
Source ClipInfo: VideoNode
    Format: YUV420P8
    Width: 1920
    Height: 1080
    Num Frames: 69535
    FPS Num: 1990
    FPS Den: 83
    Flags: Is Cache, No Cache

All clips were encoded in the same script run (python instance), with an LWLibavSource() call in each iteration, in case that might be relevant. lwi file: http://sva.wakku.to/~chris/temp_stuff/umi07_00000.m2ts.lwi.zip

ChrisK2 avatar Jan 08 '15 05:01 ChrisK2

While trying to reproduce the error with a test script, I eventually ran into a bunch of H.264 decoder errors instead (with 100 iterations)... but so far no success in reproducing the bogus frame-rates. I guess it only happens after indexing and decoding multiple files.

ChrisK2 avatar Jan 08 '15 08:01 ChrisK2