pixop / video-compare

Split screen video comparison tool using FFmpeg and SDL2
GNU General Public License v2.0
889 stars 41 forks source link

Mixing input from url and from disk #40

Closed couleurm closed 1 year ago

couleurm commented 1 year ago

Whatever type of uri/path is the first is assumed for the second, could that be fixed so file paths and urls be mixed and matched? e.g:

video-compare ./video.mp4 https://cdn.discordapp.com/attachments/840243812269162516/1083506586158379028/i444.mp4
jonfryd commented 1 year ago

Hey @couleurm,

Your example works fine on Mac OS X at least. video-compare reads the file from disk and streams the video via HTTPS from discord.

I'll test on Windows later.

jonfryd commented 1 year ago

I'm wondering if the problem in your example is a simple path separator issue (\ vs /) since you are on Windows?

BTW, you can also use the file: protocol to instruct libavformat that the first input is a file.

jonfryd commented 1 year ago

@couleurm,

Your example works "as is" on my version of Windows 10.

jonfryd commented 1 year ago

Please submit an example of a command that fails on your end.

couleurm commented 1 year ago

might have been a misinput from my end, sorry for wasting your time