I have a thought on if we could capture a media title when we watch a
movies through mplayer.
I’m afraid not… not for a specific programming like ruby, but I would
really enjoy it if someone make it real in ruby.
On Fri, Sep 4, 2009 at 2:47 AM, Zhenning G.[email protected]
wrote:
I have a thought on if we could capture a media title when we watch a
movies through mplayer.
I’m afraid not… not for a specific programming like ruby, but I would
really enjoy it if someone make it real in ruby.
You might have some luck with FFMpeg (http://ffmpeg.org).
Let us know when you’ve written the code. Media processing is an
interest of mine.
Regards,
Jason
On Sep 3, 2009, at 23:47, Zhenning G. wrote:
I have a thought on if we could capture a media title when we watch a
movies through mplayer.
I’m afraid not… not for a specific programming like ruby, but I would
really enjoy it if someone make it real in ruby.
I’m working on it:
$ ruby -Ilib sample/metadata.rb ~/Movies/A\ History\ Of\ Violence.mp4
A History Of Violence.mp4 metadata:
album: “”
author: “”
comment: “”
copyright: “”
filename: “/Users/drbrain/Movies/A History Of Violence.mp4”
genre: “Drama”
title: “A History Of Violence”
On Sat, 5 Sep 2009 06:18:24 +0900
Eric H. [email protected] wrote:
Sweet! Nice work.
I did a bunch of shell scripting which had me tearing my hair out… I’d
love to replace it with Ruby code using your library.
On Sep 5, 2009, at 21:40, spiralofhope wrote:
On Sat, 5 Sep 2009 06:18:24 +0900
Eric H. [email protected] wrote:Sweet! Nice work.
I did a bunch of shell scripting which had me tearing my hair out…
I’d
love to replace it with Ruby code using your library.
For extracting it will work as-is. I recently got audio/video
transcoding working, but only on a limited basis (same audio sampling
rate, etc.). I’m not sure how to update metadata without transcoding,
haven’t looked into it at all.