nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.98k stars 883 forks source link

Advanced setting ‘Most Compatibe’ creates incompatible .mov Files on Firefox and Win7. #652

Open bottee opened 6 years ago

bottee commented 6 years ago

Expected behaviour

Movie files *.mov created from ios hevc movies when the advanced setting ‘Most Compatibe’ is set should be playable on al all platforms and browsers.

Actual behaviour

The created movie files are .mov which are not playable on Firefox on windows 7.

Steps to reproduce

Upload movie file on iPhone 7 when the advanced setting ‘Most Compatibe’ is set. Try to play it on windows 7 on Firefox.

iOS version

11.4.1

App version

2.22.2.2

Server configuration

Operating system:

actual Official Docker Compose

Web server:

nginx

Database:

Art: mysql (MariaDB) Version: 10.3.9

PHP version:

Version: 7.2.9

Nextcloud version: (see Nextcloud admin page)

13.0.6

bottee commented 6 years ago

Also for Chrome on Win7 mov can’t be played. Seems to be a common and unsolvable problem at least since the QuickTime plugin is not supported anymore:

https://developer.mozilla.org/en-US/docs/Archive/Plugins https://help.nextcloud.com/t/mov-videos-cant-be-play-on-browser/10770 https://github.com/videojs/video.js/issues/423

How about implementing mp4 conversion?

https://stackoverflow.com/questions/40354689/swift-how-to-record-video-in-mp4-format-with-uiimagepickercontroller

I would really appreciate a solution to get fully platform independent movie files on my nextcloud webpage!

bottee commented 6 years ago

No one interested?

It would be nice to get any feedback.

marinofaggiana commented 6 years ago

@bottee sorry for delay ... The 'Most Compatibe' do not modify nothing in upload video but only on HEIC file image format.

https://github.com/nextcloud/ios/blob/36f8675609f38e29503b516754c36dc1b1ac1b1c/iOSClient/Networking/CCNetworking.m#L792

bottee commented 6 years ago

Thank you for your feedback, @marinofaggiana ! Maybe I didn’t got it correctly. In order to not upload HEIC / HEVC files, ´Most compatible’ results in uploading jpeg / mov files, or? If so, would it be possible to upload instead of mov files mp4 files (AVFileType.mp4) ? Because the mov files are not supported in the video player from next cloud on Windows in Chrome and Firefox.