Comments (9)
That's probably because webm is a video format
from pqiv.
FYI soundless WEBM is replacing GIFs here and there in the web. It is becoming pretty common.
from pqiv.
I thought about generic video support a while ago, but then did not implement it because I could not find any real use case. Yours sounds good enough for me to give it a try.
See the libav branch for an early and experimental version of the new backend.
from pqiv.
I've tested the backend with both the libav fork and the latest ffmpeg release now. While everything works somehow, it appears that frames should be read continuously from a separate thread and queued instead of the read-as-needed basis I'm currently using – I'm experiencing load-dependent glitches/frame drops/fragment errors, but only with larger videos. Small animations seem to run fine mostly. Please test this feature, I'm eager for feedback 😉
I'm tempted to leave it in its current state and ship it flagged such that it is not compiled in unless explicitly selected in configure
(I share @onodera-punpun's opinion that video support is an uncommon feature for image viewers..).
from pqiv.
I just tested it. It runs seamlessly between image, gifs, and webm! Excellent!
I did a PKGBUILD, so Arch Linux testers may help theirselves
https://aur.archlinux.org/packages/pqiv-git/
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pqiv-git
Works for me. Should I close this ticket?
from pqiv.
Great! I'll close it once I merge this, with which I'm going to wait until I've had a chance to test this further & on different platforms.
from pqiv.
I've tested this in Ubuntu with both the libav fork and the latest ffmpeg, on FreeBSD and on Windows using mxe now. Seems to work smoothly everywhere. I merged the code to master now.
The only thing that might turn out to be a problem could be the reading-fames-as-needed thing. We'll see about that.
from pqiv.
I tried compiling this with the lates ffmpeg (2.8, I also tried 2.7.4) but I keep getting the following:
/usr/bin/ld: backends/libav.o: undefined reference to symbol 'av_frame_alloc@@LIBAVUTIL_54'
/usr/lib/libavutil.so.54: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
GNUmakefile:115: recipe for target 'pqiv' failed
EDIT: Fixed this: #41
from pqiv.
@phillipberndt I am a bit confused regarding webm support. I have version 2.11 and according to the changelog this should support webm, right? Testing it with this file from wikipedia pqiv gives:
$ pqiv Schlossbergbahn.webm
Didn't recognize file `Schlossbergbahn.webm': Both its extension and MIME-type `video/webm' are unknown. Fall-back to default file handler.
Failed to load image Schlossbergbahn.webm: Unrecognized image file format
No images left to display.
I have installed the package from AUR, so 2.11-3 and libwebp
is a dependency for it, I am not missing it. Also, the git version for the AUR package in the readme is dead.
EDIT
Actually nevermind. I was dumb and I didn't notice that the pkgbuild is building pqiv without video support 😅
from pqiv.
Related Issues (20)
- Feature Request: save displayed image HOT 2
- Crash with a alignment trap issue when trying to view video files on a raspberry pi 2b HOT 4
- Slideshow interval fine for plain images and pdfs, not so much for animated gif / mp4 movies
- Control content of info box HOT 1
- Fix deprecation warnings HOT 1
- How can I bind a key to move file to a particular folder? HOT 1
- [bug] Sorting by name does not work if input is a directory HOT 2
- Use Command Output as Action Parameter HOT 1
- Release 2.13 HOT 10
- pqiv-2.12, SIGSEGV in bostree_node_count HOT 6
- pqiv doesn't play videos — missing libav.. libraries the reason? HOT 1
- output path of marked images in montage mode HOT 5
- pqiv craches viewing avif images
- --browse breaks file browsers in 2.13
- Scaling for initial image is sometimes incorrect HOT 5
- how to setting no info window at startup etc. HOT 2
- Proper color management with ICC profiles HOT 3
- Montage: previews don't scale up on HiDPI screen in KDE, spill beyond display borders
- pqiv plays video files, how to stop it? HOT 1
- Feature request: Add a command line option to ignore input events?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pqiv.