LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2018, 10:35 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Rep: Reputation: 110Reputation: 110
Help fixing clive


Clive is a media download script that runs on command line. It was working until two days ago. Today it isn't. I didn't install or update anything except some winetricks stuff. I get this error now:

Checking ... .. .. libquvi: error: /usr/share/libquvi-scripts/0.9/media/youtube.lua:121: no match: url_encoded_fmt_stream_map

Clive seems abandoned so I guess I'm on my own.

I had a look into it and couldn't fix it myself. Does anyone here want to try?
 
Old 12-03-2018, 11:54 AM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
I installed "clive" from the Fedora Linux repo. No matter what command I try, I get this error:
Quote:
Checking ...error: `--category-http' is not a quvi command. See 'quvi help'.
I could probably track it down if I had too. But clive also installed quvi. You must have it installed too. Have you tried a more direct command like this?
Code:
quvi get https://www.youtube.com/watch?v=moZ4qoFIeUE
There's also a package named youtube-dl that seems to work the same way.
 
1 members found this post helpful.
Old 12-03-2018, 01:12 PM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by KenJackson View Post
Code:
quvi get https://www.youtube.com/watch?v=moZ4qoFIeUE
There's also a package named youtube-dl that seems to work the same way.
When I saw the error mention quvi, I checked it and... I didn't have it. It just wasn't installed. But I swear I have been using clive for many years. So I installed it, and clive still doesn't work.

I also have youtube-dl, but I hate it because it's too slow, it always performs some lengthy and annoying conversion that takes a long time while clive did none of that. And it's failing with one particular video I've been trying to get and I'd like to try clive on it. It seems that youtube-dl downloads it, but then some conversion fails and it produces a 48k file out of a 240Mb mp4 file that obviously does not work. I used the -k option to keep the mp4 file, and that file only plays for about a second.

Your example with pure quvi works for me, but not with the video I am trying to download. It produces that same error that clive was generating. Then I tried clive again, this time on your video and... it works! So there seems to be something wrong with the one video I was trying to download specifically. I've tried three times and it failed every time, so...

I guess I'll have to give up on it. Looks like there isn't anything wrong with clive yet. That's good news because I would hate to rely solely on youtube-dl.

Not sure if I should mark this as solved.

Thank you for your assistance.

Last edited by lucmove; 12-03-2018 at 01:13 PM.
 
Old 12-04-2018, 02:17 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucmove View Post
I also have youtube-dl, but I hate it because it's too slow, it always performs some lengthy and annoying conversion that takes a long time while clive did none of that.
can be switched off.
read the documentation (mine has a nice long man page).

you really, really want to use youtube-dl for this (*).
it plugs straight into mpv, and mpv in turn can plug into smplayer.

(*) but it needs to be updated constantly because of race with youtube, so installing from repos is not so good. the downloadable standalone has a -U switch.
 
2 members found this post helpful.
Old 12-05-2018, 11:29 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by ondoho View Post
can be switched off.
read the documentation (mine has a nice long man page).

you really, really want to use youtube-dl for this (*).
it plugs straight into mpv, and mpv in turn can plug into smplayer.
Thanks. I didn't know about that. I don't know what "plugs into" really means, but I will find out. It's a looong read...
 
Old 12-06-2018, 04:26 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by lucmove View Post
I don't know what "plugs into" really means
it means that mpv will automatically find youtube-dl in your PATH and use it, so you can pass youtube links directly to mpv, and it will play the content directly (also without any conversion i think).
Code:
mpv https://www.youtube.com/watch?v=SoMeViDeO
it's really fairly simple and intuitive, except for those whose fingers are atrophied into a constant mouse clicking claw.

Last edited by ondoho; 12-06-2018 at 04:27 AM.
 
Old 12-06-2018, 06:12 AM   #7
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by ondoho View Post
it's really fairly simple and intuitive, except for those whose fingers are atrophied into a constant mouse clicking claw.
Intuitive? But this is Linux and Linux has never been very interested in being intuitive so I've come to no longer count on intuitive behavior after 12 years using it every day. It's like Murphy's Law: when it doesn't go wrong, THAT is where it went wrong. By being really intuitive, Linux becomes counter intuitive.

Last edited by lucmove; 12-06-2018 at 06:13 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clive cwizardone Slackware 10 03-06-2011 11:25 PM
Clive not downloading Vids muzzavitch Linux - Software 1 03-09-2009 02:17 PM
LXer: Clive - Download videos from YouTube & other video sharing websites LXer Syndicated Linux News 0 08-16-2008 06:00 AM
Problem running Clive's Barker Undying under Point2Play Hungry ghost Linux - Games 2 12-16-2004 08:00 AM
Clive Barker's Undying on Winex 3.1 / 3.3 Hano Linux - Games 1 12-09-2004 01:06 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration