Comments (2)
That's odd. Maybe electron for linux doesn't ship with JPEG support. Can you confirm that it is a problem for all videos, not just one? Could you try one of these videos:
https://github.com/mifi/lossless-cut-fixtures
I guess we could check the actual response from toDataURL('image/jpg') and save a file according to the actual format.
however capture-frame
doesn't allow this.
from lossless-cut.
Actually it turns out that all images are exported as png but with jpg extension. I can only assume that most photo viewers don't care about the extension (instead they use magic number to identify type). But the viewer you are using is using the file extension.
I have now updated code to export jpg as intended. The method can now also easily support other formats in the future.
from lossless-cut.
Related Issues (20)
- Lossless masking? HOT 4
- This file can't cut or merge HOT 1
- .
- App no longer runs from a UNC path HOT 3
- 120 fps video stutters in playback window HOT 9
- Add audio source channel switching preview HOT 1
- Files Not Outputting When Overwrite Existing Files is Unchecked HOT 14
- Implement JPGXL or AVIF format options for video snapshots HOT 1
- Capture frame/snapshot/screenshot and export video frames improvements
- Commercials / Ad detector and remover (Comskip for example) HOT 1
- Waveform appears seemingly at random HOT 11
- Add option to display subtitle by default when creating MP4 file HOT 3
- Please add option to ignore rotation info in metadata HOT 5
- Playback is extremely slow and stuttery HOT 8
- default Working directory HOT 2
- scene detection with assigned shortcut doesn't work but from the toolbar it's working HOT 1
- Better double click on segment HOT 2
- Audio is messed up after cut HOT 1
- apply automatically "Open selected file" action after Export / Delete action HOT 2
- Be able not not show "Export is done!" message after export. HOT 2
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 lossless-cut.