Comments (9)
I think the problem is that you have mkv, mp4 and best without the height qualifier. Your format selector will always go for mkv or mp4, if available, regardless of the resolution.
Try for example: bestvideo[height>=1080]+bestaudio/best[height>=1080]
.
from ytcc.
The issue is that I am using this to populate minidlna to stream content and I cannot use webm/dash, and other various video/audio encoded videos. Is there not a way to both force a proper extension/encoding and screen resolution?
Using youtube-dl you can do something like this, which will get you the best resolution then merge output to mkv.
youtube-dl -i -o "%(uploader)s.%(title)s.%(ext)s" --skip-unavailable-fragments --merge-output-format "mkv"
I will try what you recommended though and see if I get dnla stream-able videos.
Thanks again for your assistance.
from ytcc.
I am still unable to get it to only get 1920x1080 or better using...
[youtube-dl]
format = mkv/mp4/bestvideo[height>=1080]+bestaudio/best[height>=1080]
from ytcc.
I added the merge_output_format option in 6d9ad60, because it seemed to fix your problem when using youtube-dl directly. Try the latest commit on the master branch and set the following config. It will get the bestvideo+bestaudio and merge them to a mkv container or use the best single file format available.
[youtube-dl]
format = bestvideo+bestaudio/best
mergeoutputformat = mkv
from ytcc.
Giving it a go now. Thank you! I will report back when I see some additional videos yanked.
from ytcc.
Works perfectly! Thank you very much for your work on this project and for your help here. I greatly appreciate it.
from ytcc.
Thanks!
from ytcc.
Woefe, did this merge_output option go away in the latest revision? Was the change made on the main branch? Seems all of a sudden my system is ignoring it and dumping webm files instead.
from ytcc.
ignore that pghpete dude. he's mistaken. what a dope. :)
new system lacked ffmpeg for some reason so it couldn't do the merge post download.
from ytcc.
Related Issues (20)
- Support for yt-dlp as youtube-dl is being actively throttled by google HOT 5
- Ability to "ytcc unsubscribe" in bulk by -y, assume yes, or batch/script mode HOT 4
- ytcc list / ytcc ls not returning any data after initial subscribe and update HOT 5
- ytcc broken on debian HOT 3
- Do not truncate ytccf.sh table output when thumbnails are disabled HOT 5
- Update erroneously ignores videos due to age limit HOT 2
- Use short URLs to free space in the terminal HOT 2
- Show which subcription an update error belongs to HOT 1
- [Request] Portable configuration HOT 3
- there are some bugs i dont know how to call them HOT 1
- Cannot connect to the database or query failed unexpectedly HOT 6
- Playlist updates with short max backlog HOT 13
- TUI doesnโt start anymore HOT 5
- TUI shortcut for unmarking the last video played HOT 1
- Please issue a new release HOT 2
- Truncate long titles HOT 1
- filtering ? HOT 5
- youtube subscription export doesn't work anymore HOT 4
- Thumbnails HOT 2
- bug in v2.4.1: 'ytcc tui' throws error "unknown encoding: locale" HOT 4
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 ytcc.