Make bdinfo tracks use decimal instead of comma
Closed this issue · 2 comments
werrpy commented
Example:
[ERROR] Video track names missmatch:
BDInfo: MPEG-4 AVC Video / 24919 kbps / 1080p / 23.976 fps / 16:9 / High Profile 4.1
MediaInfo: MPEG-4 AVC Video / 24919 kbps / 1080p / 23,976 fps / 16:9 / High Profile 4.1
werrpy commented
>>> video_name = "MPEG-4 AVC Video / 24919 kbps / 1080p / 23,976 fps / 16:9 / High Profile 4.1"
>>> new_name = video_name.split('/')
>>> new_name
['MPEG-4 AVC Video ', ' 24919 kbps ', ' 1080p ', ' 23,976 fps ', ' 16:9 ', ' High Profile 4.1']
>>> new_name[3] = new_name[3].replace(',', '.')
>>> "/".join(new_name)
'MPEG-4 AVC Video / 24919 kbps / 1080p / 23.976 fps / 16:9 / High Profile 4.1'
werrpy commented
Force use of decimal in bdinfo