-
Notifications
You must be signed in to change notification settings - Fork 41
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
Generate MKV Sidecar File Directly From FFmpeg #705
Comments
Hi @briandwagner, thanks for pointing this out. Earlier in qctools it would mimic the xml output of ffprobe, so it was feasible to make roughly the same xml from either ffprobe or qctools. Now that qctools is using a lot more pre-generated visualization, like thumbnails and panel tracks, we wrap those images and the xml into Matroska so it's all together. FFmpeg wouldn't be able to make this all in one line, but QCTools has a command line tool called |
Hi @dericed! Great to meet you! I'm trying to generate some qctools.mkv files at the time of conversion and/or capture via ffmpeg. Since ffmpeg is having to decode the video anyway, I was hoping to save some time by splitting ffmpeg's output so the video only has to be decoded once. I tried piping out of ffmpeg directly into qcli already, but qcli doesn't seem to want to grab video from stdin, even when setting /dev/stdin as the input file. Perhaps I'm doing something wrong? I took a look at one of the qctools.mkv files with ffprobe, and I tried to recreate it myself using:
In this instance, I'm not doing any other conversion with ffmpeg. However, in reality, I would add other, non-qctools related outputs. I think the first and second commands could also be combined into one line by splitting the video another time and piping that directly into ffprobe. Even though that would still be a total of two lines, the big video file is only being decoded one time for all of my conversion and qctools work. Muxing the xml.gz and the thumbnails together takes only a second or two. This would save many hours of time once applied to hundreds or even thousands of videos. Obviously, all that filtering was me mostly guessing based on the ffprobe output of a genuine qctools.mkv file. I think your script will get me much closer. QCtools would actually take my file and it mostly worked, but my video would not playback correctly inside the qctools gui. It would play the video at about 10x speed, but the audio at the normal rate. Although I suppose it's also possible my original test video is just malformed somehow. Thanks so much! |
Hello!
This actually relates to a documentation issue, not a code issue. Sorry if this isn't the right place to ask this. If this question needs to be posted somewhere else instead, please let me know!
I'm trying to make some QCtools sidecar files entirely from ffmpeg. I found this page http://bavc.github.io/qctools/data_format.html that explains how to do make the xml.gz files from ffprobe, but it doesn't give an example on how to generate the newer mkv type.
Can the documentation be updated to include how to do this?
Thank you so much!
The text was updated successfully, but these errors were encountered: