Notices


Reply
Thread Tools
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#21
Well, from the video I posted above:

"360P" download was
640x260
Frame rate 48

"Medium" download was
640x260
Frame rate 24

If it were in .avi format with mp3 audio instead of mp4, "Medium" would probably play quite nicely.

I never did understand why mp4 is used over avi with YouTube.

Not even my Xbox can play that format very well.

Oh well, I think maybe I should look into installing Linux, just for auouymous.
 
Posts: 850 | Thanked: 871 times | Joined on Sep 2010
#22
Originally Posted by Addison View Post
"360P" download was
640x260
Frame rate 48
"Medium" download was
640x260
Frame rate 24
The tablet-encode script uses 400x240 @ 15 frames.


Originally Posted by Addison View Post
I never did understand why mp4 is used over avi with YouTube.
Maybe because MP4 fixes the problems that AVI has.


Originally Posted by Addison View Post
Oh well, I think maybe I should look into installing Linux, just for auouymous.
You have it on your tablet, now put it on your desktop.
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#23
So I downloaded this video at 720P.
http://m.youtube.com/watch?v=hBYymaN...e_gdata_player

I was able to transcode it to 640x368, at 44100 sample rate for audio.

It looked and sounded good but really wasn't worth the time.

Anyway, I also downloaded it using youtube-dl-x and noticed something.

With the tablet's version, the audio was only at 22050.

I'm not sure how all of the encoding for a video is stored at YouTube, but is it possible to grab the lowest video quality like it does now but also a better audio at the same time in your script?

It seems like the audio should always be a stereo mp3 at a 44100 kHz sample rate, and 128 Kbps bit rate.

Can this be done?

Cheers.

Last edited by Addison; 2012-06-07 at 06:41.
 
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#24
Okay, say for this YouTuber...
http://m.youtube.com/user/osirislightandsound

Is it possible to just grab the audio at 44100 kHz, 128 Kbps and not even bother with the video?

Looking through the youtube-dl-x options, it seems like it can only be done after downloading it in full and then doing some post-processing on it afterwards which isn't supported because we don't have ffmeg and ffprobe compiled.

Is this correct?

Thanks ahead as always.
 
Posts: 850 | Thanked: 871 times | Joined on Sep 2010
#25
Originally Posted by Addison View Post
Is it possible to just grab the audio at 44100 kHz, 128 Kbps and not even bother with the video?
I doubt it. If you run youtube-dl with the -F option you can see the available formats for a given video. You can select the format and resultion, not the audio quality, unless they encode different formats with different qualities, try googling for more details on each format ID (the number in far left column).


Originally Posted by Addison View Post
Looking through the youtube-dl-x options, it seems like it can only be done after downloading it in full and then doing some post-processing on it afterwards which isn't supported because we don't have ffmeg and ffprobe compiled.

Is this correct?
Yes, youtube-dl downloads the video, extracts the audio track and then encodes to mp3.
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#26
Yeah, that's what I thought.

Thanks chief!
 
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#27
Well, you know me, always asking questions. *lol*

So for this...
http://m.youtube.com/watch?gl=US&hl=...&v=BQu4PUJ5oA4

To get the quickest and best audio quality, would that be just to download it in 720P format and then play the .mp4 through XMMS?

I tried this and it's showing that the audio is in Variable Bit Rate format so I'm not sure if that is the high, low or medium end for the sound.

Thanks!
 
Posts: 850 | Thanked: 871 times | Joined on Sep 2010
#28
Originally Posted by Addison View Post
To get the quickest and best audio quality, would that be just to download it in 720P format and then play the .mp4 through XMMS?
Or mplayer using the -novideo parameter.
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,807 | Thanked: 1,133 times | Joined on Oct 2007 @ East Lansing, MI
#29
Hey chief.

Is yt clean working on your end?

If I run it while a video is playing I get

Code:
killall: cannot kill pid 15814: No such process
Terminated
If I run it when mplayer isn't running I get

Code:
You need to specify whom to kill
Either way, the folder doesn't clear.
 
Posts: 850 | Thanked: 871 times | Joined on Sep 2010
#30
Originally Posted by Addison View Post
Is yt clean working on your end?
Either way, the folder doesn't clear.
It calls yt kill and that was killing the yt clean script so it couldn't empty the directory.

Version 1.3 is now available to fix that and also adds ability to specify URL on command line.
 

The Following User Says Thank You to auouymous For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:00.