How to find out the bitrate, not downloading an mp3?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
You need to download from Vkontakte only 320kbs mp3 how to determine bit rate without downloading the track? And actually there are studies for Vkontakte audio?

image
by | 3 views

7 Answers

0 like 0 dislike
Read only few bytes of the track header. These data determine the bitrate.
by
0 like 0 dislike
On anything Unix-shaped can be done if you have a list of addresses:
\r
The command curl --range 0-2048 $url | file - display information about the header of the file, including the bitrate, for example:
\r/dev/stdin: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v2, 80 kbps, 22.05 kHz, JntStereo
\r
If there is a file with a list of addresses (which you can probably get a greasemonkey script), then only download those files where the bitrate of 320 kilobits, so:
\r
for url in $(cat list_of_the_music); do if curl --range 0-2048 $url | file - | grep 320 >/dev/null; then wget $url fi done 
by
0 like 0 dislike
MusicSig extension for Chrome adds this functionality.
by
0 like 0 dislike
Extension Vkontakte do so: find out the duration of the track (Vkontakte says how long the track), send HEAD request for a file (given only the headers), the response to which is learn the weight of the file in bytes. Well and further the case of arithmetic is to divide the file length by the duration.
by
0 like 0 dislike
AFAIK, adding to his song page, code like this:
\r
\r
\r
the search seems not working
however, the last parameter is the time in seconds
take the size in kilobytes, divide by 128 and divide by the time
file in example — about 187 kilobits/s
by
0 like 0 dislike
and get this... Google does not forget
one position higher than your question on Habre =)
\rwww.designaeon.com/read-mp3-tags-without-downloading-it/
by
0 like 0 dislike
In Linux you can do this: ffprobe [link to file]
Will show all meta-information
by

Related questions

0 like 0 dislike
2 answers
asked May 12, 2019 by strelkovandreyvalerievich
0 like 0 dislike
4 answers
asked Mar 28, 2019 by dasty
0 like 0 dislike
2 answers
asked Jun 12, 2019 by Shimpanze
110,608 questions
257,186 answers
0 comments
28,029 users