-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source.probe
sends file://
URIs to ffprobe
as a ReadableStream
, degrading data quality
#13
Comments
So ffmpeg can take a stream or a file URI? |
as input into
Indeed, the stream does get consumed when running |
great catch! PR is welcome ;) |
Certainly @jwerle - I just have a few points I could use guidance on:
|
I think just modifying the probe function to use |
Currently, all
file://
URIs appear to be sent toffprobe
as aReadableStream
rather than a local file path string. Though a necessary step when wishing to send anything other than a local file toffprobe
, this degrades the quality of data we can collect at the container level when the file is local.little-media-box/source.js
Lines 221 to 234 in febdee8
The above code provides an
'N/A'
value forinfo.format.duration
,info.format.bit_rate
,info.format.size
, and others. This has an effect on theprobe_score
value, which is a very important stat returned byffprobe
.If the URI is a
file://
address, and the following code change is made, all keys withininfo.format
present correct values.The text was updated successfully, but these errors were encountered: