Saving metadata

About encoding, codec settings, muxers and filter usage
RobertsRozis
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2012 23:04

Saving metadata

Postby RobertsRozis » 01 Aug 2012 07:24

All of this is about working from a command line.
I would like capture a MMS stream, transcode and save to MP3. Fine, clear so far:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv mms://ier-w.latvijasradio.lv/pppy?20120716A235930000000 vlc://quit --sout "#transcode{acodec=mp3,ab=192}:duplicate{dst=display,dst=std{access=file,mux=raw,dst=e:\Downloads\selfInfo.mp3}}
In addition, I would like to save some metadata -- title, artist, album, e.g.,

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv mms://ier-w.latvijasradio.lv/pppy?20120716A235930000000 vlc://quit --sout "#transcode{acodec=mp3,ab=192}:duplicate{dst=display,dst=std{access=file,mux=raw,dst=e:\Downloads\selfInfo.mp3, title="My Title", artist="My Favourite Artist",album="My Album"}}
http://wiki.videolan.org/VLC_command-line_help has a section on metadata, but I do not find a way to get this saved to MP3.
Metadata:
--meta-title=<string> Title metadata Allows you to specify a "title" metadata for an input.
--meta-author=<string> Author metadata Allows you to specify an "author" metadata for an input.
--meta-artist=<string> Artist metadata Allows you to specify an "artist" metadata for an input.
--meta-genre=<string> Genre metadata Allows you to specify a "genre" metadata for an input.
--meta-copyright=<string> Copyright metadata Allows you to specify a "copyright" metadata for an input.
--meta-description=<string> Description metadata Allows you to specify a "description" metadata for an input.
--meta-date=<string> Date metadata Allows you to specify a "date" metadata for an input.
--meta-url=<string> URL metadata Allows you to specify a "url" metadata for an input.

Now I must use a manual MP3Tag editor instead...

Is this possible in some similar way from command line, or shall this go to feature request?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Saving metadata

Postby Jean-Baptiste Kempf » 01 Aug 2012 08:30

I think you are doing all correctly, but VLC does not support that correctly.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Saving metadata

Postby Rémi Denis-Courmont » 01 Aug 2012 10:47

There are no such parameters as "title", "author" and so on in the standard (std) stream output plugin. The only supported meta data are "name", "description", "url", "email" and "phone". And they are only used for SAP advertisement, not for saving to file.

Generally speaking, meta data are not supported in VLC stream output as yet.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests