Author Topic: Want to program an application  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Want to program an application
« on: May 12, 2011, 12:56:00 pm »
I have an idea for an internal application for a release group and I need a place to start... I have no idea what to program it in and how complicated it will be so I will call on the help of my fellow evilzoners. I will describe what I'm trying to accomplish.

I would like to make a program that will do the following:



What I want to do is open the video file, input the information in the boxes and it will do a number of things. It will grab certain information from IMDb, Information from the video file and take 5 screenshots of the video at various points. It then creates something that looks like this:

Code: [Select]
      *********** ****    ****      ***      ******** *********** ****    *** **********
           *+*     +*+*+* *+*+*+   *+* *+*   *+*    *+*    *+*     *+*+*   *+* *+*       
           +*+     +*+ +*+*+ +*+  +*+   +*+  +*+           +*+     *+*+*+  +*+ +*+       
           +$+     +$+  +*+  +$+ +$++*++$++* *$*           +$+     +$+ +*+ +$+ +$++*++$ 
           +$+     +$+       +$+ +$+     +$+ +$+   +$+$    +$+     +$+  +$+$+$ +$+       
           $+$     $+$       $+$ $+$     $+$ $+$    $+$    $+$     $+$   $+$+$ $+$       
       $$$$$$$$$$$ $$$       $$$ $$$     $$$  $$$$$$$$ $$$$$$$$$$$ $$$    $$$$ $$$$$$$$$$     
                                               



                           Another Fine Release Brought to you from - IMAGiNE                   
                                                 

********************************************************************************************************************                               
                                Something Borred CAM XViD - IMAGiNE
********************************************************************************************************************

Ripper ...........: IMAGiNE                                      IMDB Rating.......: 5.5/10                             
Video Codec.......: XVID                                         Release Date......: 11/05/11
Audio Codec.......: MP3                                          Theatre Date......: 06/05/11
Audio Bitrate.....: 128                                          Runtime...........: 1h 47mn
Subtitles.........: NIL                                          Language..........: ENGLISH
Resolution........: 720 x 384                                    IMDb URL..........: http://www.imdb.com/title/tt0491152/


[color=yellow]DETAILS:[/color]

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (MPEG)
Muxing mode                      : Packed bitstream
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 1h 47mn
Bit rate                         : 1 685 Kbps
Width                            : 720 pixels
Height                           : 384 pixels
Display aspect ratio             : 1.875
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.244
Stream size                      : 1.27 GiB (92%)
Writing library                  : XviD 61

Audio
ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 1h 47mn
Bit rate mode                    : Constant
Bit rate                         : 128 Kbps
Channel(s)                       : 1 channel
Sampling rate                    : 44.1 KHz
Video delay                      : 20ms
Stream size                      : 98.7 MiB (7%)
Alignment                        : Split accross interleaves
Interleave, duration             : 40 ms (1.00 video frame)
Interleave, preload duration     : 500 ms
Writing library                  : LAME3.98km┌┘lÄL¥≤j


[color=yellow]SOURCES:[/color]

VIDEO: russians....:P Thanks matey
AUDIO: Lu ....:P Thanks matey

[color=yellow]NOTES:[/color]

IMAGiNE bringing you another release.......... Something Borred

This time we have to thanks Lu for sycing the audio big thanks again great work......
Now the video was just ok but was interlaced and has an scolling flicker to it.......
So we cropped,rotated and resized also adjusted the brightness,rgb, and all of that :P
The audio we muxed to our encode......
Enjoy folks!



[color=yellow]SCREENS:[/color]

[IMG]http://www.grinshare.com/img/U183MS.png[/IMG]
[IMG]http://www.grinshare.com/img/J4KLKX.png[/IMG]
[IMG]http://www.grinshare.com/img/15SZYR.png[/IMG]
[IMG]http://www.grinshare.com/img/RAYJAN.png[/IMG]
[IMG]http://www.grinshare.com/img/8W4407.png[/IMG]
[IMG]http://www.grinshare.com/img/TM59H0.png[/IMG]


[color=yellow]GREETS:[/color]

FLAWL3SS,FUSiON,Rx,SecretMyth,KINOPARK,ELEKTRI4KA,ADDiCTED and Autotron
And to all the other p2p grps past and present


[COLOR=RED]Looking for these,syncers,cammers,silver supplier,Audio.....Have anything to offer????......
Contact us imaginegroup@hushmail.com[/COLOR]

I would also like to add a checkbox that if checked will add more text to the nfo...

So any suggestions as far as what language to program it in and if it can even be done. Anything so I can get started on this would be nice.
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Want to program an application
« Reply #1 on: May 12, 2011, 01:21:30 pm »
Ughm... Delphi? I'd start from collecting samples, like static text, that is like standard shit for every NFO file and checking out IMDB source codes. Maybe they have an API...? Hmm...
Can't think of anything else now :P

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Want to program an application
« Reply #2 on: May 12, 2011, 01:26:35 pm »
Thanks I did find an IMDB API:

http://www.deanclatworthy.com/imdb/

And also a dll version:
http://code.google.com/p/imdb-api/

Dunno how to really use it and which language, any other inputs?

Also here is a better markup I whipped up with AutoIt:

« Last Edit: May 12, 2011, 09:03:46 pm by iTpHo3NiX »
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline imation

  • Peasant
  • *
  • Posts: 141
  • Cookies: 2
    • View Profile
Re: Want to program an application
« Reply #3 on: May 12, 2011, 01:42:02 pm »
By opening the video file the Tags will have to be very precise for the IMDB search to work else you may get a wrong link i.e.

Open video file (inception 2011)
get info
grab link from imdb (spice girls 1995)
put into nfo

just a thought, might be easier for you to paste the imdb link in instead



Offline ca0s

  • VIP
  • Sir
  • *
  • Posts: 432
  • Cookies: 53
    • View Profile
    • ka0labs #
Re: Want to program an application
« Reply #4 on: May 12, 2011, 02:15:37 pm »
The hardest part might be getting screenshots of the film, you will have to search for a precoded api to do do it easily or investigate the video formats and do it manually.
The other part would be extracting the metadata from the video, I suppose its structure depends on the file format too.

Here you have an example of metadata extraction with MediaInfo:
Code: [Select]
http://www.autohotkey.com/forum/topic14949.html
And with this you can do the frame extraction with a CLI tool, just call it from the main program:
Code: [Select]
http://www.labnol.org/software/extract-image-frames-from-video/18137/
About the language, as you just need to load a DLL and use its functions, it doesn't matter while it lets you do it. I love C :D

« Last Edit: May 12, 2011, 02:16:47 pm by ca0s »

iMorg

  • Guest
Re: Want to program an application
« Reply #5 on: May 12, 2011, 04:06:22 pm »
You are going to need the ability to load certain codecs based on the video file.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Want to program an application
« Reply #6 on: May 12, 2011, 09:07:33 pm »
Ok getting some good information here. The video codec is always the same anyways with this:

http://mediainfo.sourceforge.net/en

There is a dll for use with a third party application. So that might help correct?

Quote from: imation
By opening the video file the Tags will have to be very precise for the IMDB search to work else you may get a wrong link i.e.

If you look at my mockup, it would include a spot to put a link to the imdb page to ensure that its correct.
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry