Re: Playing certain downloaded youtube video files with audio works with vlc-player, but not with xine

"Carlos E. R." <[email protected]> Fri, 24 Apr 2020 22:55:13 +0200
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============1010778289561776252==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="jn9WktR2ReO13okOGoAXtJNTVJ5rOggiz"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--jn9WktR2ReO13okOGoAXtJNTVJ5rOggiz
Content-Type: multipart/mixed; boundary="OTDfWifTJ8iXEtFOmHUOK3MVmX2gluNRg"

--OTDfWifTJ8iXEtFOmHUOK3MVmX2gluNRg
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: quoted-printable

On 24/04/2020 16.19, Tirili via xine-devel wrote:
> Using version 2020.03.24 of youtube-dl (see https://youtube-dl.org/) an=
d=20
> running
>=20
> python youtube-dl https://www.youtube.com/watch?v=3DoDAFPDqQ7Yk
>=20
> to download a video (in this case it is a small example), an .mkv-file =

> is created.
> When you try to run this file using the vlc-player, everything works=20
> including audio,
> but when you run it with xine on the same machine, you get the error me=
ssage
> "The stream '(filename)' uses an unsupported codec:
> (null)Audio Codec: Opus Audio (ffmpeg)(0x0)
> Sart playback anyway?"
> with the two options "Yes" and "No".
> When you click "yes", the file is played without sound.
>=20
> This bug could be reproduced by two other users in the freenode channel=
=20
> #xine,
> so it seems to be independent of the user's system setup.

Plays fine here.

Mediainfo says audio type is:


Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 1 min 0 s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No

I am using openSUSE Leap 15.1


cer@Telcontar:~> cat ~/.config/youtube-dl.conf
# youtube-dl config - see http://rg3.github.io/youtube-dl/documentation.h=
tml
#
# Template I want to use
#
--output '%(uploader)s-%(uploader_id)s-%(title)s-%(id)s.%(ext)s'
cer@Telcontar:~>=20


The available types today are:

cer@Telcontar:~/tmp/xine> youtube-dl --list-formats https://www.youtube.c=
om/watch?v=3DoDAFPDqQ7Yk
[youtube] oDAFPDqQ7Yk: Downloading webpage
[info] Available formats for oDAFPDqQ7Yk:
format code  extension  resolution note
249          webm       audio only tiny   65k , opus @ 50k (48000Hz), 444=
=2E55KiB
250          webm       audio only tiny   84k , opus @ 70k (48000Hz), 554=
=2E56KiB
140          m4a        audio only tiny  134k , m4a_dash container, mp4a.=
40.2@128k (44100Hz), 934.80KiB
251          webm       audio only tiny  173k , opus @160k (48000Hz), 1.0=
1MiB
278          webm       256x144    144p   99k , webm container, vp9, 25fp=
s, video only, 707.01KiB
160          mp4        256x144    144p  114k , avc1.4d400c, 25fps, video=
 only, 817.62KiB
242          webm       426x240    240p  223k , vp9, 25fps, video only, 1=
=2E52MiB
133          mp4        426x240    240p  250k , avc1.4d4015, 25fps, video=
 only, 1.76MiB
243          webm       640x360    360p  400k , vp9, 25fps, video only, 2=
=2E71MiB
134          mp4        640x360    360p  591k , avc1.4d401e, 25fps, video=
 only, 3.73MiB
18           mp4        640x360    360p  625k , avc1.42001E, mp4a.40.2@ 9=
6k (44100Hz), 4.48MiB (best)
cer@Telcontar:~/tmp/xine>=20

It has used the "18".



--=20
Cheers / Saludos,

		Carlos E. R.
		(from 15.1 x86_64 at Telcontar)


--OTDfWifTJ8iXEtFOmHUOK3MVmX2gluNRg--

--jn9WktR2ReO13okOGoAXtJNTVJ5rOggiz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXqNSMQAKCRC1MxgcbY1H
1akCAKCMbEtl7GD+fqxn/n5vqe4RpEKAowCfSKcsodRpIAtsa253V35RPXSuoks=
=J13s
-----END PGP SIGNATURE-----

--jn9WktR2ReO13okOGoAXtJNTVJ5rOggiz--


--===============1010778289561776252==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1010778289561776252==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xine-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-devel

--===============1010778289561776252==--