IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
*.weba files?, Is it included in the specification?
Steve Forte Rio
post Nov 13 2014, 17:36
Post #1





Group: Members
Posts: 474
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Hi.

Today I downloaded OPUS audio files from YouTube service (using special plugin for Firefox), and I found out that they have *.weba extension.

I've not found anything about this file type, but Windows 7 reports them as WebM Audio and WMP succesfully plays them using LAV filters.

Foobar2000 doesn't want to open them until they are renamed to *.webm.

My question is: does this extension exist in WebM specification? And what are the actual differences between webm and weba? Only the one symbol?

Thanks.

This post has been edited by Steve Forte Rio: Nov 13 2014, 17:57
Go to the top of the page
+Quote Post
saratoga
post Nov 13 2014, 17:57
Post #2





Group: Members
Posts: 5168
Joined: 2-September 02
Member No.: 3264



I haven't heard of it, but I guess since they have WebM and WebP for movies and pictures, someone thought weba for audio made sense.
Go to the top of the page
+Quote Post
jmvalin
post Nov 13 2014, 19:07
Post #3


Xiph.org Speex developer


Group: Developer
Posts: 487
Joined: 21-August 02
Member No.: 3134



QUOTE (Steve Forte Rio @ Nov 13 2014, 12:36) *
Today I downloaded OPUS audio files from YouTube service (using special plugin for Firefox), and I found out that they have *.weba extension.


Just curious, how could you tell they were Opus files?
Go to the top of the page
+Quote Post
Steve Forte Rio
post Nov 13 2014, 19:16
Post #4





Group: Members
Posts: 474
Joined: 4-October 08
From: Ukraine
Member No.: 59301



jmvalin, foobar2000 shows it (after renaming to webm).
Go to the top of the page
+Quote Post
Miramis
post Nov 13 2014, 21:24
Post #5





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



No .weba here: http://www.webmproject.org/docs/container/

.webm is for both video/webm and audio/webm.

Does the extension show the format/itag-code (171 for Vorbis, etc) for Opus?


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
Steve Forte Rio
post Nov 14 2014, 00:30
Post #6





Group: Members
Posts: 474
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Here is what MediaInfo shows for the file:

QUOTE
General
Format : WebM
Format version : Version 4 / Version 2
File size : 229 KiB
Duration : 49s 621ms
Overall bit rate : 37.8 Kbps
Writing application : google
Writing library : google

Audio
ID : 1
Format : Opus
Codec ID : A_OPUS
Duration : 49s 621ms
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : English
Default : Yes
Forced : No


Unfortunately I don't know where to find itag.

This post has been edited by Steve Forte Rio: Nov 14 2014, 00:33
Go to the top of the page
+Quote Post
Miramis
post Nov 14 2014, 08:22
Post #7





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



itag is YouTube’s own format-ID, see https://en.wikipedia.org/wiki/YouTube#Quality_and_codecs (click on show).

Can you post a link to the video with Opus-audio?

I have never seen a video with Opus-audio when checking YouTube-videos with youtube-dl. I have also never seen unrecognised audio in the format-list. I have seen unrecognised video, though, for example
CODE
302         unknown_videounknown    
303         unknown_videounknown

302 is VP9, 1280×720, 60fps. 303 is VP9, 1920×1080, 60fps.

So Opus would probably appear in the list, recognised or not. I have also never seen 172, Vorbis 192 kbps.

I have also seen that some videos have formats most videos don’t have. For example, Sintel (https://www.youtube.com/watch?v=eRsGyueVLvQ) has
CODE
167         webm      640x360     DASH video , webm container, VP8, video only
168         webm      854x480     DASH video , webm container, VP8, video only
169         webm      1280x720    DASH video , webm container, VP8, video only
170         webm      1920x1080   DASH video , webm container, VP8, video only


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
Steve Forte Rio
post Nov 14 2014, 11:46
Post #8





Group: Members
Posts: 474
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Here is it http://www.youtube.com/watch?v=kKb8U8R4A7M



The last one is WebM VO file.

There is no description for itag 249–251 in Wikipedia.

This post has been edited by Steve Forte Rio: Nov 14 2014, 11:55
Go to the top of the page
+Quote Post
zeremy
post Nov 14 2014, 12:08
Post #9





Group: Members
Posts: 84
Joined: 20-March 14
Member No.: 115083



QUOTE (Miramis @ Nov 14 2014, 09:22) *
So Opus would probably appear in the list, recognised or not. I have also never seen 172, Vorbis 192 kbps.


Here is a 172, Vorbis 192kbps

youtube-dl --version
2014.11.13.3

youtube-dl -F 5L562H8a2Fs

[youtube] Confirming age
[youtube] 5L562H8a2Fs: Downloading webpage
[youtube] 5L562H8a2Fs: Downloading video info webpage
[youtube] 5L562H8a2Fs: Extracting video information
[youtube] 5L562H8a2Fs: Downloading DASH manifest
[info] Available formats for 5L562H8a2Fs:
format code extension resolution note
139 m4a audio only DASH audio 49k , audio@ 48k (22050Hz), 348.33KiB (worst)
171 webm audio only DASH audio 108k , audio@128k (44100Hz), 760.50KiB
140 m4a audio only DASH audio 129k , audio@128k (44100Hz), 924.90KiB
172 webm audio only DASH audio 149k , audio@256k (44100Hz), 1.02MiB

141 m4a audio only DASH audio 255k , audio@256k (44100Hz), 1.79MiB
278 webm 256x144 DASH video 192k , webm container, VP9, video only, 706.21KiB
160 mp4 256x144 DASH video 110k , video only, 784.63KiB
242 webm 426x240 DASH video 206k , video only, 1.21MiB
133 mp4 426x240 DASH video 248k , video only, 1.72MiB
243 webm 640x360 DASH video 433k , video only, 2.71MiB
134 mp4 640x360 DASH video 604k , video only, 4.24MiB
244 webm 854x480 DASH video 830k , video only, 5.16MiB
135 mp4 854x480 DASH video 1134k , video only, 7.78MiB
247 webm 1280x720 DASH video 2021k , video only, 11.54MiB
302 webm 1280x720 DASH video 3117k , VP9, 60fps, video only, 18.31MiB
136 mp4 1280x720 DASH video 2260k , video only, 15.50MiB
298 mp4 1280x720 DASH video 3320k , h264, 60fps, video only, 23.15MiB
248 webm 1920x1080 DASH video 4406k , video only, 23.23MiB
303 webm 1920x1080 DASH video 6806k , VP9, 60fps, video only, 36.47MiB
137 mp4 1920x1080 DASH video 4249k , video only, 29.06MiB
299 mp4 1920x1080 DASH video 5547k , h264, 60fps, video only, 38.39MiB
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360
22 mp4 1280x720 (best)
Go to the top of the page
+Quote Post
Juha
post Nov 14 2014, 12:44
Post #10





Group: Members
Posts: 488
Joined: 14-February 07
From: EU-FIN
Member No.: 40610



QUOTE (Steve Forte Rio @ Nov 13 2014, 20:36) *
Hi. Today I downloaded OPUS audio files from YouTube service (using special plugin for Firefox), and I found out that they have *.weba extension. I've not found anything about this file type, but Windows 7 reports them as WebM Audio and WMP succesfully plays them using LAV filters. Foobar2000 doesn't want to open them until they are renamed to *.webm. My question is: does this extension exist in WebM specification? And what are the actual differences between webm and weba? Only the one symbol? Thanks.


https://www.google.fi/?gws_rd=ssl#q=.weba+file+extension

Go to the top of the page
+Quote Post
zeremy
post Nov 14 2014, 12:49
Post #11





Group: Members
Posts: 84
Joined: 20-March 14
Member No.: 115083



QUOTE (Steve Forte Rio @ Nov 14 2014, 12:46) *
Here is it http://www.youtube.com/watch?v=kKb8U8R4A7M



The last one is WebM VO file.

There is no description for itag 249–251 in Wikipedia.


The files are webm with opus audio only with different bitrates.


ffprobe "C:\\Users\\laptop\\Halo TV Ad We Will Rock You-kKb8U8R4A7M.249.unknown_video" -report

[matroska,webm @ 03c069c0] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 03c069c0] Before avformat_find_stream_info() pos: 358 bytes read:32768 seeks:0
[matroska,webm @ 03c069c0] All info found
[matroska,webm @ 03c069c0] After avformat_find_stream_info() pos: 378 bytes read:32768 seeks:0 frames:1
Input #0, matroska,webm, from 'C:\Users\laptop\Halo TV Ad We Will Rock You-kKb8U8R4A7M.249.unknown_video':
Metadata:
encoder : google
Duration: 00:00:49.62, start: 0.007000, bitrate: 30 kb/s
Stream #0:0(eng), 1, 1/1000: Audio: opus, 48000 Hz, stereo, fltp (default)
[AVIOContext @ 03bf3f00] Statistics: 32768 bytes read, 0 seeks


ffprobe "C:\\Users\\laptop\\Halo TV Ad We Will Rock You-kKb8U8R4A7M.250.unknown_video" -report

[matroska,webm @ 036a69c0] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 036a69c0] Before avformat_find_stream_info() pos: 358 bytes read:32768 seeks:0
[matroska,webm @ 036a69c0] All info found
[matroska,webm @ 036a69c0] After avformat_find_stream_info() pos: 378 bytes read:32768 seeks:0 frames:1
Input #0, matroska,webm, from 'C:\Users\laptop\Halo TV Ad We Will Rock You-kKb8U8R4A7M.250.unknown_video':
Metadata:
encoder : google
Duration: 00:00:49.62, start: 0.007000, bitrate: 37 kb/s
Stream #0:0(eng), 1, 1/1000: Audio: opus, 48000 Hz, stereo, fltp (default)
[AVIOContext @ 03693f00] Statistics: 32768 bytes read, 0 seeks


ffprobe "C:\\Users\\laptop\\Halo TV Ad We Will Rock You-kKb8U8R4A7M.251.unknown_video" -report

[matroska,webm @ 03b469c0] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 03b469c0] Before avformat_find_stream_info() pos: 359 bytes read:32768 seeks:0
[matroska,webm @ 03b469c0] All info found
[matroska,webm @ 03b469c0] After avformat_find_stream_info() pos: 379 bytes read:32768 seeks:0 frames:1
Input #0, matroska,webm, from 'C:\Users\laptop\Halo TV Ad We Will Rock You-kKb8U8R4A7M.251.unknown_video':
Metadata:
encoder : google
Duration: 00:00:49.62, start: 0.007000, bitrate: 88 kb/s
Stream #0:0(eng), 1, 1/1000: Audio: opus, 48000 Hz, stereo, fltp (default)
[AVIOContext @ 03b33f00] Statistics: 32768 bytes read, 0 seeks
Go to the top of the page
+Quote Post
Miramis
post Nov 14 2014, 15:26
Post #12





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



Thanks.

Seems I need to update youtube-dl. I use the one in the repository for Ubuntu 14.10: https://launchpad.net/ubuntu/utopic/+source/youtube-dl


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
2012
post Nov 14 2014, 17:12
Post #13





Group: Members
Posts: 82
Joined: 7-February 12
Member No.: 96993



I'm glad you had trouble with those files, so we would know YouTube started using Opus wink.gif

WebM is a subset of Matroska. And I always used .mka for Matroska audio-only files.
I wasn't aware .weba was officially in use.

OTOH, I didn't find any popular Matroska extension for video-only files. So, I (invented) .webv to distinguish those files in my devices. They were all WebM anyway. And .mkvo didn't feel right.

Applications should see file extensions as a personal preference. Unless the file is header-less, of course.
Go to the top of the page
+Quote Post
Miramis
post Nov 14 2014, 17:28
Post #14





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



QUOTE (2012 @ Nov 14 2014, 17:12) *
I wasn't aware .weba was officially in use.

Is it? unsure.gif


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
Miramis
post Nov 14 2014, 17:49
Post #15





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



QUOTE (Steve Forte Rio @ Nov 14 2014, 11:46) *
There is no description for itag 249–251 in Wikipedia.

As note 1 says, “itag is an undocumented parameter used internally by YouTube to differentiate between quality profiles”. There is no public complete list.

Here information from MediaInfo:
249
CODE
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 187 KiB
Duration                                 : 49s 621ms
Overall bit rate                         : 30.9 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 49s 621ms
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


250
CODE
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 229 KiB
Duration                                 : 49s 621ms
Overall bit rate                         : 37.8 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 49s 621ms
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


251
CODE
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 537 KiB
Duration                                 : 49s 621ms
Overall bit rate                         : 88.6 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 49s 621ms
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
2012
post Nov 14 2014, 18:26
Post #16





Group: Members
Posts: 82
Joined: 7-February 12
Member No.: 96993



QUOTE (Miramis @ Nov 14 2014, 17:28) *
QUOTE (2012 @ Nov 14 2014, 17:12) *
I wasn't aware .weba was officially in use.

Is it? unsure.gif


hmm.
You are probably right. I probably misread.

At least Apache and Drupal recognize .weba. But I don't think it's official.
Go to the top of the page
+Quote Post
zeremy
post Nov 14 2014, 20:11
Post #17





Group: Members
Posts: 84
Joined: 20-March 14
Member No.: 115083



QUOTE (2012 @ Nov 14 2014, 19:26) *
QUOTE (Miramis @ Nov 14 2014, 17:28) *
QUOTE (2012 @ Nov 14 2014, 17:12) *
I wasn't aware .weba was officially in use.

Is it? unsure.gif


hmm.
You are probably right. I probably misread.

At least Apache and Drupal recognize .weba. But I don't think it's official.


From the docs http://www.webmproject.org/docs/container/

Naming
Note: This document does not yet make reference to VP9-related conditions. It will be updated once implementation details are settled.

Container Format Name WebM
Filename Extension .webm
MIME-type video/webm
Audio-only MIME-type audio/webm
Video Codec Name VP8
Audio Codec Name Vorbis
Go to the top of the page
+Quote Post
Steve Forte Rio
post Nov 15 2014, 00:24
Post #18





Group: Members
Posts: 474
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Also could you add format selecting priority according to the position in the list. For example I have a video with AAC, Vorbis and Opus audio, and my preferences are: "With best available audio / Opus;Vorbis;M4A;MP4". Then firstly foo_youtube looks for Opus audio (choosing the highest bitrate), if there is no Opus, it tries to find best Vorbis and so on. Cause in current version between AAC 256 kbps and Opus 160 kbps (not sure it's really 160) it chooses AAC.
Go to the top of the page
+Quote Post
hlloyge
post Nov 15 2014, 12:42
Post #19





Group: Members
Posts: 701
Joined: 10-January 06
From: Zagreb
Member No.: 27018



Well, as I recall, there was no official m4a extension for mp4 container with audio only, (wikipedia pages also tells that). Yet, it was the users and companies that started using different extensions for different cases, and it got 'official' from there.
So, I guess that weba will be 'official' for webm with audio only. I really don't see the reason it shouldn't be, it's not changed container, just extension.
Go to the top of the page
+Quote Post
Miramis
post Nov 15 2014, 18:14
Post #20





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



I see no need for different filename-extensions. If the file is audio only, its MIME-type is audio/webm. But as I use Ubuntu, I have no need for extensions at all. Only Windows needs them to determine filetype.

Anyhow, here is another example of Opus on YouTube: https://www.youtube.com/watch?v=9bZkp7q19f0

Much higher bitrates than in the example Steve Forte Rio linked to.

From MediaInfo:

249
CODE
General
Complete name                            : /home/miramis/PSY - GANGNAM STYLE (강남스타일) M_V-9bZkp7q19f0 - 249
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 1.51 MiB
Duration                                 : 4mn 12s
Overall bit rate                         : 50.3 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 4mn 12s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


250
CODE
General
Complete name                            : /home/miramis/PSY - GANGNAM STYLE (강남스타일) M_V-9bZkp7q19f0 - 250
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 1.97 MiB
Duration                                 : 4mn 12s
Overall bit rate                         : 65.5 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 4mn 12s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


251
CODE
General
Complete name                            : /home/miramis/PSY - GANGNAM STYLE (강남스타일) M_V-9bZkp7q19f0 - 251
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 4.77 MiB
Duration                                 : 4mn 12s
Overall bit rate                         : 159 Kbps
Writing application                      : google
Writing library                          : google

Audio
ID                                       : 1
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 4mn 12s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post
Miramis
post Nov 20 2014, 13:25
Post #21





Group: Members
Posts: 30
Joined: 21-March 09
From: Sweden
Member No.: 68240



youtube-dl 2014.11.20 recognises Opus:
CODE
format code extension resolution  note
249         webm      audio only  DASH audio , opus @ 50k (worst)
250         webm      audio only  DASH audio , opus @ 70k
251         webm      audio only  DASH audio , opus @160k


This post has been edited by Miramis: Nov 20 2014, 13:25


--------------------
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 19:26