I saw somebody use "-metadata:s:v:0" in their commandline for
FFMPEG
, rather than the much simpler "-metadata" commandline switch. In this context, what does :s, :v, and :0 mean? I was under the impression that the only valid selectors for commands were :a (for audio), :v (for video), and :d (for data, usually subtitles). I'm not familiar with how the selectors are being used in this metadata command.
It is telling
FFMPEG
which metadata to use, in this case track 0 of the video. Bear in mind each file type has different allowable metadata designator:
[Attachment 31687 - Click to enlarge]
Generally to add NEW metadata:
location : Rome, Italy
camera type : SONY
camera mode : movie
weather : rain
y
In it's simplest form, we can use the command:
Ok, so I guess that :0 after the :v means the first video stream (if the MP4 file had multiple streams). My MP4 file has only one video stream, so :0 would be unnecessary for me. But what does the :s mean BEFORE the :v ? I don't need :s before the :v after -c (for codec selection), so what is the purpose of having :s before the :v after -metadata (for metadata selection. Please explain.
Everything is fine gentlemen. You can waste time on trifles, which the player video then displays the information about the movie?
http://filmowiec.pl/forum/viewtopic.php?f=12&t=28371&hilit=pendrive&start=30
The :s part indicates which stream to use for or apply the metadata. Seems redundant since you also have the stream type selectors available. It probably just exists to make it easier for the code to handle complex -map_metadata options.
So :s must stand for stream then. So that must refer to metadata associated with streams. Are there also metadata that can be associated with something other than streams, such as the container file itself? If so, would you specify such metadata with with :c instead of :s? Is there some official
FFMPEG
manual that covers stuff like this?
Video
Latest Video News
Newbie / General discussions
VR Player and Hardware
Video Streaming Downloading
Authoring (Blu-ray)
Authoring (DVD)
Camcorders (DV/HDV/AVCHD/HD)
Capturing
Audio
Video Conversion
Blu-ray Ripping
DVD Ripping
Editing
Software Playing
Media
Subtitle
DVB / IPTV
Restoration
Programming
Mac
Linux
Hardware
DVD & Blu-ray Writers
DVD & Blu-ray Recorders
DVD & Blu-ray Players
Portable Video
Media Center PC / MediaCenters
How To's
User guides
Glossary
Other
Computer
Feedback
Polls
Archived Forums
Authoring (VCD/SVCD)
ffmpegX general discussion
SVCD2DVD & VOB2MPG
VCDEasy General