Like Ra's Naughty Forum
Site rendering on Apple devices - Printable Version

+- Like Ra's Naughty Forum (https://www.likera.com/forum/mybb)
+-- Forum: Technical section (https://www.likera.com/forum/mybb/Forum-Technical-section)
+--- Forum: Site (https://www.likera.com/forum/mybb/Forum-Site)
+--- Thread: Site rendering on Apple devices (/Thread-Site-rendering-on-Apple-devices)

Pages: 1 2 3 4 5 6 7 8 9


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

These parameters work for iPhone 6:

General
Count : 330
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : AAC
Audio_Format_WithHint_List : AAC
Audio codecs : AAC LC
Complete name : QFPF0548.MP4
File name : QFPF0548.MP4
File name : QFPF0548
File extension : MP4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media / Version 2
Internet media type : video/mp4
Codec ID : mp42
Codec ID : mp42 (mp42/isom)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : mp42/isom
Codec : MPEG-4
Codec : MPEG-4
Codec/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v

Video
Count : 344
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : Baseline@L3
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, ReFrames : 1
Format settings, ReFrames : 1 frame
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec/CC : avc1
Codec profile : Baseline@L3
Codec settings : 1 Ref Frames
Codec settings, CABAC : No
Codec_Settings_RefFrames : 1
...
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 29.523
Frame rate : 29.523 FPS
Frame count : 192
Standard : NTSC
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
...
Color range : Limited
colour_description_present : Yes
Color primaries : BT.601 PAL

Audio
Count : 275
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Commercial name : AAC
Format profile : LC
Codec ID : mp4a-40-2
Codec : AAC LC
Codec : AAC LC
Codec/Family : AAC
Codec/CC : 40


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

ffmpeg -i dildo-bike-01.webm -c:v libx264 -c:a aac -profile:v baseline -level 3 -refs 1 dildo-bike-01.mp4


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

Still does not work.

The only difference I see is:

Works:
Commercial name : MPEG-4
Format profile : Base Media / Version 2
Internet media type : video/mp4
Codec ID : mp42
Codec ID : mp42 (mp42/isom)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : mp42/isom
Codec : MPEG-4

Does not work:
Commercial name : MPEG-4
Format profile : Base Media
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/avc1/mp41)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/avc1/mp41
Codec : MPEG-4


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

https://trac.ffmpeg.org/wiki/Encode/H.264


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

Side note: always use -movflags +faststart option!


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

ffmpeg -i dildo-bike-01.webm -threads 0 -c:v libx264 -profile:v baseline -level 3.0 -preset slow -vf format=yuv420p -movflags +faststart -c:a aac dildo-bike-01.mp4


dildo-bike-01.mp4 (Size: 8.07 MB )






RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

Ha! If I transfer the mp4 video to my iPhone via iTunes - everything works! So it's something about the browsers, not the codecs.


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

Another way to make them play is to download the video (firefox, safari, chrome), then go to "Download", click on the video, click "Save video" -> Save to Photos. Go to Photos, click on the video to play.


I hate Apple....


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

Here we go:

https://confluence.atlassian.com/confkb/unable-to-play-embedded-mp4-videos-on-ipad-or-iphone-in-confluence-305037325.html

Another possible feature: https://stackoverflow.com/questions/4660189/cannot-view-quicktime-movies-over-https-in-safari-or-uiwebview

I'm checking if the second issue can be resolved.


RE: Site rendering on Apple devices - Like Ra - 04 Feb 2019

(04 Feb 2019, 22:37 )Like Ra Wrote: Another possible feature: https://stackoverflow.com/questions/4660...-uiwebview
The site is using the intermediate certificate now, but the issue is not fixed.

I hate Apple...