A comment to remember how to extract SPS and PPS from a file with ffmpeg.
This commit is contained in:
@@ -53,6 +53,11 @@ class SupportedFormat(IntEnum):
|
|||||||
else:
|
else:
|
||||||
return 'Unsupported format'
|
return 'Unsupported format'
|
||||||
|
|
||||||
|
# Extract SPS/PPS
|
||||||
|
# https://gitlab.com/mbunkus/mkvtoolnix/-/issues/2390
|
||||||
|
# ffmpeg -i <InputFile (before concatenation)> -c:v copy -an -sn -bsf:v trace_headers -t 0.01 -report -loglevel 0 -f null -
|
||||||
|
|
||||||
|
|
||||||
def getFormat(inputFile):
|
def getFormat(inputFile):
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user