Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Video Metadata - Current Config (Copy&Paste)

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Suggested Improvements
View previous topic :: View next topic  
Author Message
eidolen



Joined: 15 Apr 2008
Posts: 11

PostPosted: Tue Apr 15, 2008 11:58 pm    Post subject: Video Metadata - Current Config (Copy&Paste) Reply with quote

I'm very new to this program so I apologize if missing something obvious here. I see that this program can access and work with pictures and audio files among other things but there isn't a similiar standard format for video files unfortunately.

What I was curious about is if a program like this could be interfaced with another freeware program like Mediainfo? http://mediainfo.sourceforge.net/en It would seem it could be done manually with a good bit of work as Mediainfo lets you export all the details of a media file in a multitude of customizable foramts like csv and HTML. The HTML option is even appendable which could be handy if Mediainfo could parse an entire directory into one HTML file which could then be fed to Pfrank somehow.

Mediainfo can gather data from the following formats.
Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2, MPEG-4, DVD (VOB)...
(Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
Subtitles: SRT, SSA, ASS, SAMI...

"MediaInfo (GUI or Cmd) is an user interface and a proof of concept for MediaInfo library (Lib or Dll).
MediaInfo can be used in your own program without any difficulties, with a static or dynamic library interface."

In any case, it seems it would be really handy if there was a way these 2 programs could work together via a plugin, batch file, or some more meaningful way. I just wish I had the skills to do something like this as it seems like a worthy cause.

The other suggestion is probably something already implemented that I'm overlooking. I was wondering if there was a way to copy and paste the fields from the list box, including line numbers and which lines are active? Basically an easy way post or share configurations from the list manager. I like that you can load and save configs but would be handier if you could also save and load externally.

My only real gripe with this program is that it didn't find a way into my life sooner. Very Happy

Eidolen
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Wed Apr 16, 2008 3:16 am    Post subject: Reply with quote

Hi,

1)
There actually is a way to insert metadata from video files into the filenames.
Go to the options window and select the 'Video Information Insertion' panel. From here you can select the meta data to insert.
You can also customize the columns to display the video info in the preview list (use the 'Column Display' panel of the options window).

Let me know if that works for you. i.e. Is all the meta-data the you expect read from the file. If not, them let me know what is missing/incorrect/etc.

2)
As for the mediainfo program, if it has a command line interface, then absolutely, a plugin can be designed to read the data from it.
There is already a similar plugin that uses the Exiv2 program to provide metadata from image files. I created that plugin because there are no python libraries available for extracting meta data from raw image files.


3)
The fields from the list box are printed in the 'Summary' panel of the main window. That text can be copy/pasted.
If you, for example, send that text to a buddy in an email, they can then do the reverse by copying that text with the mouse, selecting the list box of the PFrank program, and typing Ctrl-F2; the copied text is then inserted at the top of the list!

e.g. you can copy the following search/replace info (including the ==== border if you like) and then click anywhere on the
PFrank window and type Ctrl-F2:


====================
Row: 1
Search: '(?Ex)(^.*?)(\[.*?\])(.*) # move square bracketed text to end'
Replace: '\1\3 \2 '
Row: 2
Search: '(?Ex)(^.*?)(\(.*?\))(.*) # move parenthesized text to end'
Replace: '\1\3 \2 '
====================


Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
eidolen



Joined: 15 Apr 2008
Posts: 11

PostPosted: Wed Apr 16, 2008 2:05 pm    Post subject: Reply with quote

Quote:
1)
There actually is a way to insert metadata from video files into the filenames.
Go to the options window and select the 'Video Information Insertion' panel. From here you can select the meta data to insert.
You can also customize the columns to display the video info in the preview list (use the 'Column Display' panel of the options window).


I apologize for not digging in a little deeper before posting. I must have overlooked that menu item quite a few times already. Since audio and pictures had there own headings, I just skimmed over the sub-directories when I didn't see a video heading. I'll play around with it and see if I can bend it to my needs. Right now I'm just trying to find if a file is in HiDef, (720 vertical lines of video format resolution or more.) how many audio channels, and type of audio. (AC3,DDTS,AAC)


Quote:
2)
As for the mediainfo program, if it has a command line interface, then absolutely, a plugin can be designed to read the data from it.
There is already a similar plugin that uses the Exiv2 program to provide metadata from image files. I created that plugin because there are no python libraries available for extracting meta data from raw image files.


When I didn't realize that you had some support for video files I thought this was a good idea. Now it doesn't seem quite as important. Hopefully I can use the options already built in to get what I need as I doubt I could design a plugin.


Quote:
3)
The fields from the list box are printed in the 'Summary' panel of the main window. That text can be copy/pasted.
If you, for example, send that text to a buddy in an email, they can then do the reverse by copying that text with the mouse, selecting the list box of the PFrank program, and typing Ctrl-F2; the copied text is then inserted at the top of the list!


I just knew it had to be in there somewhere and of course better than expected. Thanks for being patient with me. Very Happy

Eidolen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Suggested Improvements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com