Vero 4k+ freezes on video start (mp4, AVC)

Please send a sample and MediaInfo so I can look in to this.

Here is a download link for a Huawei video:

and here is the mediainfo:

General
Complete name : C:\Users\tonda\Desktop\VID_20191214_221312.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 7.70 MiB
Duration : 2 s 601 ms
Overall bit rate : 24.8 Mb/s
Encoded date : UTC 2019-12-14 21:13:11
Tagged date : UTC 2019-12-14 21:13:11
com.android.version : 9

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 s 601 ms
Bit rate : 22.1 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Rotation : 90°
Frame rate mode : Variable
Frame rate : 28.831 FPS
Minimum frame rate : 8.105 FPS
Maximum frame rate : 29.950 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.093
Stream size : 6.86 MiB (89%)
Title : VideoHandle
Language : English
Encoded date : UTC 2019-12-14 21:13:11
Tagged date : UTC 2019-12-14 21:13:11
mdhd_Duration : 2601
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 2 s 517 ms
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 59.2 KiB (1%)
Title : SoundHandle
Language : English
Encoded date : UTC 2019-12-14 21:13:11
Tagged date : UTC 2019-12-14 21:13:11

Here is a link for a Samsung video:

and the mediainfo:

General
Complete name : C:\Users\tonda\Desktop\20191214_223734.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 4.91 MiB
Duration : 2 s 369 ms
Overall bit rate : 17.4 Mb/s
Encoded date : UTC 2019-12-14 21:37:37
Tagged date : UTC 2019-12-14 21:37:37
com.android.version : 9

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 s 369 ms
Bit rate : 17.1 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Rotation : 90°
Frame rate mode : Variable
Frame rate : 29.970 (29970/1000) FPS
Minimum frame rate : 26.270 FPS
Maximum frame rate : 30.161 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.276
Stream size : 4.84 MiB (98%)
Title : VideoHandle
Language : English
Encoded date : UTC 2019-12-14 21:37:37
Tagged date : UTC 2019-12-14 21:37:37
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 2 s 347 ms
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 73.4 KiB (1%)
Title : SoundHandle
Language : English
Encoded date : UTC 2019-12-14 21:37:37
Tagged date : UTC 2019-12-14 21:37:37

During the preparation of the videos I noticed that both cases behave differently. Huawei really freezes Vero, but when trying to play Samsung vid, I can press the back button during the neverending loading, but the system starts to behave strangely afterwards, ignoring some button presses and not being able to play any new video and being kinda slow.

If you could fix this I would be really grateful!

That’s the problem.
Variable Frame Rates won’t play back properly with a number of hardware decoders. I’m not sure why they’re doing that, but there may be an option to disable this.

Tried to change the encoding to HEVC on Samsung and the video is playable by Vero even though it still has variable frame rate:

General
Complete name : H:\fotky\111\20191215_001353.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 3.07 MiB
Duration : 2 s 485 ms
Overall bit rate : 10.4 Mb/s
Encoded date : UTC 2019-12-14 23:13:57
Tagged date : UTC 2019-12-14 23:13:57
com.android.version : 9

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 2 s 485 ms
Bit rate : 10.1 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Rotation : 90°
Frame rate mode : Variable
Frame rate : 29.778 FPS
Minimum frame rate : 18.503 FPS
Maximum frame rate : 30.060 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.163
Stream size : 2.99 MiB (97%)
Title : VideoHandle
Language : English
Encoded date : UTC 2019-12-14 23:13:57
Tagged date : UTC 2019-12-14 23:13:57
mdhd_Duration : 2485
Codec configuration box : hvcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 2 s 453 ms
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 76.7 KiB (2%)
Title : SoundHandle
Language : English
Encoded date : UTC 2019-12-14 23:13:57
Tagged date : UTC 2019-12-14 23:13:57

Will this be further investigated? As currently it seems that Vero 4K+ is actually NOT ready to handle anything you throw at it.

I have Samsung vids
At First vero froze completely
After an update during the discussion here in this thread it started to behave like you mention.
I can go back after starting the video
But can not start other videos. Really strange behavior afterwards

The video is out of spec.
If you wish to return it and it is within the return policy you may do so. Contact support@osmc.tv.

I’d be more interested in solving the issue however.

A variable frame rate will never be supported in an official capacity by us. It does not fall in the specification of any hardware decoder out there.

I will do my best to mitigate this, but this is a corner case. It will take some time (a few weeks), before I can look in to this.

Cheers

Sam

Please post some new logs replicating this issue

Cheers

Sam

Could you please elaborate on what you exactly did?
I don’t mind doing something to the files to make them playable

Br
Eddy

Use a tool like Ts Muxer or MKVToolnix to remux the video in to a new container

Sam

I would prefere to have some way for the vids to work than to return it, because otherwise I am really happy with the product.

I am having fingers crossed that you come up with something!

Well if you can make them work just by remuxing them then it’s not really an issue.

It’s not really veros fault that some phones use out of spec settings when a video file is created

Muxing your phone files to make them playable on the vero and other devices is just a click one button and wait a few seconds type of process

Unfortunately the container isn’t standard, so while it’s something we’d like to look in to and fix, it is lower on the list.

It will need some time to look at.

Sam

Thanks
I will try it
What target container do you recommend?

I once muxed it to mkv.
But mkv does not know rotation and that is not suitable for me

I didn’t test exporting back to MP4, but I’d be surprised if that didn’t work.