<p><br>
On Dec 24, 2012 11:18 PM, &quot;Fred Watt&quot; &lt;<a href="mailto:fredwattmythtv@gmail.com">fredwattmythtv@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi - does anyone know of a script or simple way of adding meta data tags to a recording .mpg file?  I wanted to populate tags as such as title etc, but was wondering if there was a way to inject the values rather than copy as in this example?<br>

&gt;<br>
&gt; ffmpeg -i file.avi -vcodec copy -acodec copy -metadata title=&quot;Dancing Bear&quot; -metadata comment=&quot;Title Created Using FFmpeg metadata tag&quot; outputfile.avi<br>
&gt;<br>
&gt; Is there a better way to do this using mythtv?<br>
&gt;<br>
&gt; My use case is that I would like to expose recordings to a oppo 103 (via twonky upnp, or cifs) and use this as a play back device.<br></p>
<p>The metadata is in the database and is accessible via mysql (either directly or via python or perl bindings). However if use myth&#39;s upnp server you won&#39;t need to insert the metadata in the file itself.</p>