Page 1 of 1

Preserving Youtube Metadata?

Posted: 18 Nov 2014 07:45
by js1
I asked this same question on the mailng list, but I figure I'd ask here as well.

How do I get vlc or cvlc to preserve the metadata correctly identified by lua?

Here's the command I'm running:

Code: Select all

cvlc -vvv http://youtu.be/8GUIBNKnT1M --sout='#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=mp3,dst='test4.mp3'}'
Here's part of the debug output:

Code: Select all

[0x7fdd0cc0ac98] lua demux debug: Name: Zoltan Vs Zerzan [0x7fdd0cc0ac98] lua demux debug: Artist: Stanford Transhumanists [0x7fdd0cc0ac98] lua demux debug: Description: The Stanford Transhumanist Association is thrilled to announce a debate between Zoltan Istvan and John Zerzan on the future of technology and its ethical imp... [0x7fdd0cc0ac98] lua demux debug: ArtURL: http://i.ytimg.com/vi/_9WRpOpbpZM/hqdefault.jpg [0x7fdd0cc0ac98] lua demux debug: meta-URL: http://youtu.be/_9WRpOpbpZM
So, obviously vlc is getting the metadata from youtube, but that information is not preserved in the output mp3 file. Is there a commandline option I'm missing? I saw some --meta-* options, but they don't seem appropriate here. Thanks for any tips.

Re: Preserving Youtube Metadata?

Posted: 18 Nov 2014 13:30
by RĂ©mi Denis-Courmont
So far, VLC does not support conveying metadata from input to streaming output. Patch welcome.