Page 1 of 1

[solved] enable transcode for motorola android 12

PostPosted: Tue Sep 19, 2023 6:14 pm
by bogdan253
My Moto G32 has some hardware problems, I believe, it can't properly play 3D SBS files without artifacts. I'm trying to circumvent this with Serviio but it doesn't seem to transcode at all.

My PC runs Windows 10 22H2 and the phone is a Motorola Moto G32 with Android 12.

I've read a bit on the forum, maybe I just need to add a profile in profiles.xml, hopefully. But I don't know how to write it, can someone help?

I have here the info for such a 3D file:

  Code:
General
Complete name                            : F:\xx\test-video.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/iso2/mp41/mp42)
File size                                : 4.62 GiB
Duration                                 : 38 min 39 s
Overall bit rate                         : 17.1 Mb/s
Frame rate                               : 59.940 FPS
Writing application                      : Lavf58.76.100

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@High
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 38 min 39 s
Bit rate                                 : 16.8 Mb/s
Maximum bit rate                         : 25.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 920 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.038
Stream size                              : 4.54 GiB (98%)
Language                                 : English
Tagged date                              : 2022-05-20 20:50:03 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : hvcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 38 min 39 s
Source duration                          : 38 min 39 s
Bit rate mode                            : Constant
Bit rate                                 : 320 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                              : 88.5 MiB (2%)
Source stream size                       : 88.5 MiB (2%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Tagged date                              : 2022-05-20 20:50:03 UTC


Re: enable transcode for motorola android 12

PostPosted: Tue Sep 19, 2023 10:46 pm
by atc98092
I looked up the Moto32 media support, and the problem isn't with 3D SBS files. The media info you posted shows the video is H.265/HVEC, and your phone doesn't support that codec. So you need a profile that will transcode H.265 into something your phone supports. As a test you could try the Roku TV (non-4K) profile, as that will transcode the video to H.264, which your phone supports.

If you desire to create your own profile, it should not be placed in the profiles.xml file. That file is replaced every time Serviio is updated, so you would lose your personal profile. Instead, you can create a user-profiles.xml file and build your profile in that file. But if you can play your files successfully using an existing profile, there's nothing wrong with just doing that.

Re: enable transcode for motorola android 12

PostPosted: Wed Sep 20, 2023 8:55 am
by bogdan253
Thanks for taking the time to answer.
I changed to "Roku TV (non-4K)" but now those files don't show up anymore on the server. I rescanned the library, restarted server, it's sharing other video files but not the 3D SBS ones.

Re: enable transcode for motorola android 12

PostPosted: Wed Sep 20, 2023 12:53 pm
by atc98092
OK, so that one didn't work. There's obviously something in that profile that your phone doesn't work with. I suppose it might be that the Roku profiles all use AppleHTTP/HLS as the transcoding format, and your phone might not support that either. You might try some of the other TV profiles, specifically some that would only be for 1080 TVs, such as the older Sony models. They use MPEG-TS for transcoding, and your phone might support that one. There's no sense in trying to create a custom profile until you identify what works with the Moto.

Re: enable transcode for motorola android 12

PostPosted: Thu Sep 21, 2023 2:04 am
by bogdan253
Randomly picked a Sony and the videos play great now.

I truly appreciate your support.