inc stream handling
This commit is contained in:
2
bin/ffx/ffx_controller.py
Normal file
2
bin/ffx/ffx_controller.py
Normal file
@@ -0,0 +1,2 @@
|
||||
class FfxController():
|
||||
pass
|
||||
2
bin/ffx/file_pattern.py
Normal file
2
bin/ffx/file_pattern.py
Normal file
@@ -0,0 +1,2 @@
|
||||
class FilePattern():
|
||||
pass
|
||||
2
bin/ffx/show.py
Normal file
2
bin/ffx/show.py
Normal file
@@ -0,0 +1,2 @@
|
||||
class Show():
|
||||
pass
|
||||
2
bin/ffx/show_controller.py
Normal file
2
bin/ffx/show_controller.py
Normal file
@@ -0,0 +1,2 @@
|
||||
class ShowController():
|
||||
pass
|
||||
@@ -1,11 +1,56 @@
|
||||
from enum import Enum
|
||||
from language_data import LanguageData
|
||||
from stream_type import StreamType
|
||||
|
||||
class StreamDescriptor():
|
||||
|
||||
def __init__(self, streamType : StreamType, language : LanguageData, title : str):
|
||||
def __init__(self,
|
||||
streamType : StreamType,
|
||||
language : LanguageData,
|
||||
title : str,
|
||||
codec : str,
|
||||
subIndex : int = -1):
|
||||
|
||||
self.__streamType = streamType
|
||||
self.__subIndex = subIndex
|
||||
|
||||
self.__streamLanguage = language
|
||||
self.__streamTitle = title
|
||||
|
||||
self.__codecName = codec
|
||||
|
||||
# "index": 4,
|
||||
# "codec_name": "hdmv_pgs_subtitle",
|
||||
# "codec_long_name": "HDMV Presentation Graphic Stream subtitles",
|
||||
# "codec_type": "subtitle",
|
||||
# "codec_tag_string": "[0][0][0][0]",
|
||||
# "codec_tag": "0x0000",
|
||||
# "r_frame_rate": "0/0",
|
||||
# "avg_frame_rate": "0/0",
|
||||
# "time_base": "1/1000",
|
||||
# "start_pts": 0,
|
||||
# "start_time": "0.000000",
|
||||
# "duration_ts": 1421035,
|
||||
# "duration": "1421.035000",
|
||||
# "disposition": {
|
||||
# "default": 1,
|
||||
# "dub": 0,
|
||||
# "original": 0,
|
||||
# "comment": 0,
|
||||
# "lyrics": 0,
|
||||
# "karaoke": 0,
|
||||
# "forced": 0,
|
||||
# "hearing_impaired": 0,
|
||||
# "visual_impaired": 0,
|
||||
# "clean_effects": 0,
|
||||
# "attached_pic": 0,
|
||||
# "timed_thumbnails": 0,
|
||||
# "non_diegetic": 0,
|
||||
# "captions": 0,
|
||||
# "descriptions": 0,
|
||||
# "metadata": 0,
|
||||
# "dependent": 0,
|
||||
# "still_image": 0
|
||||
# },
|
||||
# "tags": {
|
||||
# "language": "ger",
|
||||
# "title": "German Full"
|
||||
|
||||
Reference in New Issue
Block a user