Skip to main content
Topic: *.weba files? (Read 6262 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

*.weba files?

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.

*.weba files?

Reply #1
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.

*.weba files?

Reply #2
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?

*.weba files?

Reply #3
jmvalin, foobar2000 shows it (after renaming to webm).

*.weba files?

Reply #4
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

*.weba files?

Reply #5
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.

*.weba files?

Reply #6
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: [Select]
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: [Select]
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


*.weba files?

Reply #8
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)

*.weba files?

Reply #9
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


*.weba files?

Reply #10
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


*.weba files?

Reply #12
I'm glad you had trouble with those files, so we would know YouTube started using Opus

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.


*.weba files?

Reply #14
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: [Select]
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: [Select]
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: [Select]
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


*.weba files?

Reply #16
I wasn't aware .weba was officially in use.

Is it?


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

*.weba files?

Reply #17
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.

*.weba files?

Reply #18
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.

*.weba files?

Reply #19
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: [Select]
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: [Select]
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: [Select]
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

*.weba files?

Reply #20
youtube-dl 2014.11.20 recognises Opus:
Code: [Select]
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
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

Re: *.weba files?

Reply #21
I see no need for different filename-extensions.

It allows sending the correct mime type via .htaccess file w/o the server needing to sniff the file itself.

Earlier in thread it was stated foobar2000 wouldn't play them until renamed to .webm. If that's the case, that's a bug in foobar2000 as a media player should never care about the extension and always sniff the file to determine type.

 
SimplePortal 1.0.0 RC1 © 2008-2019