File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,19 @@ def testAddAllStreamsOfAGivenFile():
69
69
# process
70
70
progress = av .ConsoleProgress ()
71
71
transcoder .process ( progress )
72
+
73
+ # get src file
74
+ src_inputFile = av .InputFile ( inputFileName )
75
+ src_properties = src_inputFile .getProperties ()
76
+ src_streams_properties = src_properties .getStreamProperties ()
77
+
78
+ # get dst file
79
+ dst_inputFile = av .InputFile ( outputFileName )
80
+ dst_properties = dst_inputFile .getProperties ()
81
+ dst_streams_properties = dst_properties .getStreamProperties ()
82
+
83
+ import testTranscoderRewrap
84
+ # for each stream
85
+ for src_stream , dst_stream in zip (src_streams_properties , dst_streams_properties ):
86
+ # check properties
87
+ testTranscoderRewrap .checkStream (src_stream , dst_stream )
You can’t perform that action at this time.
0 commit comments