Hi,
I've been trying to edit some videos with the files outputted from cl_capturevideo 1- when normally I've been recording from an external application. While the videos are perfectly viewable, doing something like:
outputs some warnings and errors such as:
And the actual output file typically has some visual distortions.
log: https://p.teknik.io/uL8Cg
Some other tries to work with the files, I tried converting to another format (trying both ffmpeg and Handbrake), which resulted in dropped frames then desync'd audio. And so far my best attempt to work with these files is demuxing the audio and video streams- which I can clip from each without issue, but putting them back together with the audio sync'd with the video is an issue.
log: https://p.teknik.io/LGMhH
(not even re-encoding, meanwhile the big complaint is "non-monotonous (non-monotonic?) DTS")
I am wondering if the video capture is a bit wonky. I tried updating the tools to see if the issue goes away but it hasn't.
I would try .avi but I don't have the space to record past a few seconds.
Capturing these videos took hours for a single match, it'd be nice if I could still use them.
Xonotic version is v0.8.1-3169-ge7cd5c6 (autobuild from August) btw
I've been trying to edit some videos with the files outputted from cl_capturevideo 1- when normally I've been recording from an external application. While the videos are perfectly viewable, doing something like:
Code:
ffmpeg -ss 1:00 -i dpvideo005.ogv -to 00:10 -vcodec copy -acodec copy aeroclip.ogv -y 2>clipping.log
//make a 10 second clip starting from the 1 min mark without re-encoding
Code:
[theora @ 0000000000693ee0] 7 bits left in packet 82
[ogg @ 0000000000277060] Broken file, keyframe not correctly marked.
log: https://p.teknik.io/uL8Cg
Some other tries to work with the files, I tried converting to another format (trying both ffmpeg and Handbrake), which resulted in dropped frames then desync'd audio. And so far my best attempt to work with these files is demuxing the audio and video streams- which I can clip from each without issue, but putting them back together with the audio sync'd with the video is an issue.
Code:
ffmpeg -i clip.ogg -i clip.ogv -vcodec copy -acodec copy composite.ogv -y 2>composite.log
//take clipped audio stream and clipped video stream and put them a single video file without re-encoding
(not even re-encoding, meanwhile the big complaint is "non-monotonous (non-monotonic?) DTS")
I am wondering if the video capture is a bit wonky. I tried updating the tools to see if the issue goes away but it hasn't.
I would try .avi but I don't have the space to record past a few seconds.
Capturing these videos took hours for a single match, it'd be nice if I could still use them.
Xonotic version is v0.8.1-3169-ge7cd5c6 (autobuild from August) btw