I have a number of video downloads from youtube and the most recent file only plays sound, no video.
I have used the same method to download these files (youtube-dl) and they are saved on NAS where they are served by Twonky media server to my home network.
I usually play these files with Vero4K plugged into my network. The problem file shows a thumbnail as do all the others when I scroll to the titles but on selection of the problem file I only get the audio.
All but the most recent download works as expected with the Vero and the problem file plays perfectly when played directly using VLC form NFS. I have downloaded it several times and always get the same problem. I have quoted below the results of checking the metadata using mediainfo:-
localhost:~> mediainfo J\ \ S\ \ Bach\ Cantata-\ \'\(Wir\ danken\ dir\,\ Gott\,\ wir\ danken\ dir\)\'\ BWV\ 29-\ all\ of\ bach-CwGWocp80-o.mp4
General
Complete name : J S Bach Cantata- '(Wir danken dir, Gott, wir danken dir)' BWV 29- all of bach-CwGWocp80-o.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 123 MiB
Duration : 25 min 0 s
Overall bit rate : 685 kb/s
Writing application : Lavf58.45.100
Video
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Format profile : Main@L3.1
Codec ID : av01
Duration : 25 min 0 s
Bit rate : 552 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.024
Stream size : 98.8 MiB (81%)
Title : ISO Media file produced by Google Inc.
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : av1C
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 25 min 0 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 22.9 MiB (19%)
Title : ISO Media file produced by Google Inc. Created on: 03/05/2019.
Default : Yes
Alternate group : 1
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
I ran two adjacent files for a minute or so. They both were downloaded in the same manner as far as I can recall but from different sources. The command I use is as follows:-
Forgot to mention, first play has no video, only audio, the second plays as required.
The thumbnail for the problem file appears in OSMC but not in my NAS directory so there is something different but I have no idea what!
well that last attempt didnāt seem to work but now I have a message for the url as follows:-
URL:https://paste.osmc.tv/{āmessageā:"Document exceeds maximum length.
Hi Sam,
Not sure if you received my logs or I messed up. I note the reference to AV1 but were my other files using this? I assume not but how should I ensure I get an acceptable version from my above youtube-dl download command meanwhile? Very strange because this file has been on YT for a good while so is not new.
Perhaps youtube-dl recently added support for AV1 downloading.
There should be a way (I am sure they can advise) to specify the format (h264/vp9 are both supported on Vero).
I have no idea why ābestā is shown for the 18 format line but believe my earlier tries must have been using 398 which is shown as av01 because of the file size I recognized when downloading. I have now run this again with 136 and it seems to be working. I say āseemsā as I am not at the right machine to try it till this evening.
I wish I were wiser but many thanks for the help with identifying the problem.
Regards,
Budge
All your assumptions are right (I am also not sure why the low resolution is marked "best).
But I suggest to take the vp9 version (247), but you also need to pick an audio track (otherwise you have audio but no video).
I tried youtube-dl -f 247+251 CwGWocp80-o and that played fine on the Vero.
There are two videos in the logs:
/home/osmc/CriticalVideo/music/Billy Hlapeto x D3MO ā¦ Beli noshti (OFFICIAL VIDEO).mp4
/home/osmc/CriticalVideo/music/Ava Max - Kings & Queens [Official Music Video].mp4
I could find the following that confirms AV1 problem:
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/osmc/CriticalVideo/music/Ava Max - Kings & Queens [Official Music Video].mp4':
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Metadata:
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: major_brand : isom
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: minor_version : 512
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: compatible_brands: isomiso2mp41
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: encoder : Lavf58.29.100
2021-11-17 10:46:33.027 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Duration: 00:02:42.45, start: 0.000000, bitrate: 1682 kb/s
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Stream #0:0(und): Video: av1 (av01 / 0x31307661), none, 1920x1080, 1550 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Metadata:
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: handler_name : ISO Media file produced by Google Inc.
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: Metadata:
2021-11-17 10:46:33.028 T:2916 INFO <general>: ffmpeg[0xb19b76e0X]: handler_name : ISO Media file produced by Google Inc.
2021-11-17 10:46:33.556 T:2596 INFO <general>: GLES: Maximum texture width: 4096
2021-11-17 10:46:33.558 T:2916 INFO <general>: CVideoPlayerVideo::OpenStream - Creating codec: 32797
2021-11-17 10:46:33.558 T:2916 DEBUG <general>: CDVDVideoCodecAmlogic::Opening: codec 32797 profile:-99 extra_size:16
2021-11-17 10:46:33.558 T:2916 DEBUG <general>: DVDVideoCodecAmlogic: Unknown hints.codec(32797
2021-11-17 10:46:33.558 T:2916 DEBUG <general>: CDVDVideoCodecFFmpeg::Open() Unable to find codec 32797
2021-11-17 10:46:33.558 T:2916 ERROR <general>: CVideoPlayerVideo::OpenStream - could not open video codec
2021-11-17 10:46:33.558 T:2916 WARNING <general>: OpenStream - Unsupported stream 0. Stream disabled.
That file is AV1. There is no hardware support for AV-1 decoding on Raspberry Pi and OSMC doesnāt support software decoding yet. We can add software decode support in the future ā but performance will be limited.
Hi Sam,
Two follow up questions:
Is there any hardware support for AV-1 in Vero 4K?
Is there any HAT or plug-in board which can add this support to RPi?