A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

can someone test an OGG video on linux?



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old August 17th 18, 05:40 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
Mark Lloyd[_2_]
external usenet poster
 
Posts: 1,756
Default can someone test an OGG video on linux?

On 08/17/2018 09:17 AM, dale wrote:

[snip]

the code checks MP4 first, then OGG before it throws a message

Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* video controls
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* source
src="https://www.dalekelly.org/images/Capture_20161219_2.mp4"
type="video/mp4"
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* source
src="https://www.dalekelly.org/images/Capture_20161219_2.ogg"
type="video/ogg"
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* Your browser does not support the MP4 or OGG video tags.
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* /video


There was a bug in an older browser (was it an iPhone?) what caused it
to check only the first SOURCE, and this browser required MP4. For
this reason, a lot of web pages have MP4 first. This doesn't seem to
cause a problem. On a browser that doesn't recognize MP4, it should fall
through properly.

I see you have included the TYPE attribute of source. It's even better
to include codecs. This is an example of what I have:

VIDEO HEIGHT="240" WIDTH="320" CONTROLS
SOURCE SRC="/video/xmas2008.mp4" TYPE='video/mp4;
codecs="avc1.4D401E, mp4a.40.2"' /
SOURCE SRC="/video/xmas2008.webm" TYPE='video/webm;
codecs="vp8,vorbis"' /
SOURCE SRC="/video/xmas2008.ogg" TYPE='video/ogg;
codecs="theora,vorbis"' /
/VIDEO

The codecs listed here seem to work with the standard video formats
(although not with a misnamed MP4).

--
Mark Lloyd
http://notstupid.us/

"I do not believe in the immortality of the individual, and I consider
ethics to be an exclusively human concern with no superhuman authority
behind it." -- Albert Einstein
Ads
  #17  
Old August 17th 18, 05:48 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10
Mark Lloyd[_2_]
external usenet poster
 
Posts: 1,756
Default can someone test an OGG video on linux?

[snip]

I don't think slapping .ogg on the filename, makes
it an OGG. The ffprobe output doesn't mention the
container type, just the video and audio codecs.


I was surprised when I saw that (First is was a BMP with a JPG
extension). I didn't expect anybody would believe that renaming
something would change what it is.

BTW, you CAN do the conversion with VLC.

You can use .ogg for video, if you have a way to make the server return
the correct MIME type (video/ogg instead of audio/ogg), although some
people use .ogv for OGG videos.

[snip]

--
Mark Lloyd
http://notstupid.us/

"I do not believe in the immortality of the individual, and I consider
ethics to be an exclusively human concern with no superhuman authority
behind it." -- Albert Einstein
  #18  
Old August 17th 18, 07:27 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
dale
external usenet poster
 
Posts: 139
Default can someone test an OGG video on linux?

On 8/17/2018 12:27 PM, 😉 Good Guy 😉 wrote:

Use this online tool to convert your file format.

https://www.zamzar.com/convert/mp4-to-ogg/


only supports OGG audio, as far as I see

thanks though




On 17/08/2018 15:17, dale wrote:

tl;drÂ*Â* snipped





--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
  #19  
Old August 17th 18, 08:02 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
dale
external usenet poster
 
Posts: 139
Default Maybe SOLVED

As per suggestion the file I thought was an OGG video was still an MP4

In the convert options of VLC I didn't select a "profile"

now, these were done from:


https://github.com/dalekellytoo/webs...20161219_2.mp4

https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.mp4

to:


https://github.com/dalekellytoo/webs...20161219_2.ogg

https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.ogg

using the Video - Theora + Vorbis (OGG) profile

it opens in Firefox, which was a problem noted

you can see my HTML5 implementation:

https://github.com/dalekellytoo/webs...er/weblog.html

https://github.com/dalekellytoo/website/blob/master/weblog.html

on the "BLOG" selection in the site in my signature


--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
  #20  
Old August 17th 18, 08:19 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
dale
external usenet poster
 
Posts: 139
Default can someone test an OGG video on linux?

On 8/17/2018 12:40 PM, Mark Lloyd wrote:
On 08/17/2018 09:17 AM, dale wrote:

[snip]

the code checks MP4 first, then OGG before it throws a message

Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* video controls
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* source
src="https://www.dalekelly.org/images/Capture_20161219_2.mp4"
type="video/mp4"
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* source
src="https://www.dalekelly.org/images/Capture_20161219_2.ogg"
type="video/ogg"
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* Your browser does not support the MP4 or OGG video tags.
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* /video


There was a bug in an older browser (was it an iPhone?) what caused it
to check only the first SOURCE, and this browser required MP4. For
this reason, a lot of web pages have MP4 first. This doesn't seem to
cause a problem. On a browser that doesn't recognize MP4, it should fall
through properly.

I see you have included the TYPE attribute of source. It's even better
to include codecs. This is an example of what I have:

VIDEO HEIGHT="240" WIDTH="320" CONTROLS
Â* SOURCE SRC="/video/xmas2008.mp4" TYPE='video/mp4;
codecs="avc1.4D401E, mp4a.40.2"' /
Â* SOURCE SRC="/video/xmas2008.webm" TYPE='video/webm;
codecs="vp8,vorbis"' /
Â* SOURCE SRC="/video/xmas2008.ogg" TYPE='video/ogg;
codecs="theora,vorbis"' /
/VIDEO

The codecs listed here seem to work with the standard video formats
(although not with a misnamed MP4).


Thanks ! Will give it a try. My size is handled in a style in the header
of the page I use it in

style

video {

max-width: 100%;

height: auto;

}

/style

this way the size moves as the size of the browser moves

--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
  #21  
Old August 17th 18, 10:23 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Maybe SOLVED

dale wrote:
As per suggestion the file I thought was an OGG video was still an MP4

In the convert options of VLC I didn't select a "profile"

now, these were done from:

https://github.com/dalekellytoo/webs...20161219_2.mp4

to:

https://github.com/dalekellytoo/webs...20161219_2.ogg

using the Video - Theora + Vorbis (OGG) profile

it opens in Firefox, which was a problem noted

you can see my HTML5 implementation:

https://github.com/dalekellytoo/webs...er/weblog.html

https://github.com/dalekellytoo/website/blob/master/weblog.html

on the "BLOG" selection in the site in my signature


Both video files play in Firefox on Mint 18.1.

Paul
  #22  
Old August 17th 18, 11:17 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10
dale
external usenet poster
 
Posts: 139
Default Maybe SOLVED

On 8/17/2018 5:23 PM, Paul wrote:
dale wrote:
As per suggestion the file I thought was an OGG video was still an MP4

In the convert options of VLC I didn't select a "profile"

now, these were done from:

https://github.com/dalekellytoo/webs...20161219_2.mp4

to:

https://github.com/dalekellytoo/webs...20161219_2.ogg

using the Video - Theora + Vorbis (OGG) profile

it opens in Firefox, which was a problem noted

you can see my HTML5 implementation:

https://github.com/dalekellytoo/webs...er/weblog.html

https://github.com/dalekellytoo/website/blob/master/weblog.html

on the "BLOG" selection in the site in my signature


Both video files play in Firefox on Mint 18.1.

Â*Â* Paul


Thanks Much !!!

--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
  #23  
Old August 17th 18, 11:28 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
Mark Lloyd[_2_]
external usenet poster
 
Posts: 1,756
Default can someone test an OGG video on linux?

On 08/17/2018 02:19 PM, dale wrote:

[snip]

Thanks ! Will give it a try. My size is handled in a style in the header
of the page I use it in


And I left out that the codecs= line helps the browser know when it
can't play a file, so it can move on tho the next one.

style

Â*Â*Â*Â*video {

Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* max-width: 100%;

Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* height: auto;

Â*Â*Â*Â*}

/style

this way the size moves as the size of the browser moves


Sounds like a good idea. I have several such in my page. One piece of
website testing I to is to try to make everything reasonable (with no
horizontal scrolling) in the narrowest window that FF will allow.

--
Mark Lloyd
http://notstupid.us/

"I do not believe in the immortality of the individual, and I consider
ethics to be an exclusively human concern with no superhuman authority
behind it." -- Albert Einstein
  #24  
Old August 17th 18, 11:30 PM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
Mark Lloyd[_2_]
external usenet poster
 
Posts: 1,756
Default Maybe SOLVED

On 08/17/2018 02:02 PM, dale wrote:
As per suggestion the file I thought was an OGG video was still an MP4

In the convert options of VLC I didn't select a "profile"

now, these were done from:


https://github.com/dalekellytoo/webs...20161219_2.mp4


https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.mp4


to:


https://github.com/dalekellytoo/webs...20161219_2.ogg


https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.ogg


using the Video - Theora + Vorbis (OGG) profile

it opens in Firefox, which was a problem noted

you can see my HTML5 implementation:

https://github.com/dalekellytoo/webs...er/weblog.html

https://github.com/dalekellytoo/website/blob/master/weblog.html

on the "BLOG" selection in the site in my signature


It seems to be working now.

--
Mark Lloyd
http://notstupid.us/

"I do not believe in the immortality of the individual, and I consider
ethics to be an exclusively human concern with no superhuman authority
behind it." -- Albert Einstein
  #25  
Old August 18th 18, 12:13 AM posted to comp.os.linux.advocacy,alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default can someone test an OGG video on linux?

On 2018-08-17 18:22, Sam E wrote:
On 08/17/2018 08:44 AM, dale wrote:

[snip]

my HTML5 code checks MP4 first, so this works with firefox on windows,
but if I open the OGG file directly I see it doesn't work


Simple. It doesn't work because it's not an OGG.



cer@Telcontar:~ file Capture_20161219_2.ogg
Capture_20161219_2.ogg: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
cer@Telcontar:~

Note "FileExtension_Invalid" below.

cer@Telcontar:~ mediainfo Capture_20161219_2.ogg
General
Complete name : Capture_20161219_2.ogg
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (mp41/avc1)
File size : 186 KiB
Duration : 5 s 867 ms
Overall bit rate : 259 kb/s
Encoded date : UTC 2018-08-17 10:04:12
Tagged date : UTC 2018-08-17 10:04:12
Writing application : vlc 3.0.3 stream output
FileExtension_Invalid : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile :
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 5 s 867 ms
Bit rate : 124 kb/s
Width : 800 pixels
Height : 480 pixels
Display aspect ratio : 5:3
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 29.990 FPS
Maximum frame rate : 30.010 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.011
Stream size : 88.6 KiB (48%)
Writing library : x264 core 148
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x13 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Encoded date : UTC 2018-08-17 10:04:12
Tagged date : UTC 2018-08-17 10:04:12

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 6B
Duration : 5 s 799 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Maximum bit rate : 131 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Compression mode : Lossy
Stream size : 90.4 KiB (49%)
Language : English
Encoded date : UTC 2018-08-17 10:04:12
Tagged date : UTC 2018-08-17 10:04:12
mdhd_Duration : 5799


cer@Telcontar:~



--
Cheers, Carlos.
  #26  
Old August 18th 18, 12:54 AM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
dale
external usenet poster
 
Posts: 139
Default Maybe SOLVED

On 8/17/2018 6:30 PM, Mark Lloyd wrote:
On 08/17/2018 02:02 PM, dale wrote:
As per suggestion the file I thought was an OGG video was still an MP4

In the convert options of VLC I didn't select a "profile"

now, these were done from:


https://github.com/dalekellytoo/webs...20161219_2.mp4


https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.mp4


to:


https://github.com/dalekellytoo/webs...20161219_2.ogg


https://github.com/dalekellytoo/website/blob/master/images/Capture_20161219_2.ogg


using the Video - Theora + Vorbis (OGG) profile

it opens in Firefox, which was a problem noted

you can see my HTML5 implementation:

https://github.com/dalekellytoo/webs...er/weblog.html

https://github.com/dalekellytoo/website/blob/master/weblog.html

on the "BLOG" selection in the site in my signature


It seems to be working now.


Thanks Much !!!

--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
  #27  
Old August 18th 18, 12:57 AM posted to comp.os.linux.advocacy,alt.comp.os.windows-10,alt.html,comp.infosystems.www.authoring.html
dale
external usenet poster
 
Posts: 139
Default can someone test an OGG video on linux?

On 8/17/2018 6:28 PM, Mark Lloyd wrote:
One piece of website testing I to is to try to make everything
reasonable (with no horizontal scrolling) in the narrowest window that
FF will allow.


might be a more simple approach for me, thanks much

--
dale - https://www.dalekelly.org/
Not a professional opinion unless specified.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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






All times are GMT +1. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.