Articles

Metasploit Framework Windows Tutorial
Remote Desktop Connection
Windows Processes That May Be Dangerous
How-To use NetCat a Tutorial
Common Linux Commands
Common Ports
Netcat Commands
HTTP Response Codes
War-Google Hack Terms
Wardriving
Avoiding Social Engineering and Phishing Attacks
Intrusion Detection on Linux
Linux Intrusion Detection
Penetration Testing Guide
Penetration Testing Tools
Social Engineering Fundamentals, Part I: Hacker Tactics
Social engineering (computer security)
The Psychology of Social Engineering

The Archives

General GSO
GovernmentSecurity.org News & Suggestions
In The News
Open Topic
General Security Information
Trash Can
Exploit & Vulnerability Mailing List Archives
Trial Member Forum
Product and Program Reviews GSO Tutorials
System Security
Windows Systems
Beginners Section
Linux & Unix Systems
File Downloads
Exploit Research & Discussion Trojan & Virus Errata
Networking Security / Firewall / IDS / VPN / Routers
System Hardening
E-Mail Security
Wifi Security
Trial Member Uploads
Upload discovered Trojans & Mal ware
GSO Programming Section
C , C++ , VC++
Visual Basic.NET
Perl /CGI
Java/Javascript
PHP/XML/ASP/HTML
Assembly + Other
The Cork Board
Network Security Consultant Directory
Network Security Jobs
The Archives
Encryption Information
General Network Security
Internet Anonymity
HTTP Protocol Security
Linux Security
MS IIS Information
Exploit Articles
Programming / Tool Design
GSO Software Projects
Public Downloads
Microsoft Security Questions and Papers

bonarez
hello,

I just discovered the wonderfull world of api's at allapi.net a few weeks ago, and I've been writing a program to recode avi files into mpeg2.

I used following code to get info on the avi files: avifileinfo

now my problem is I can get all the info on the video stream in the avi, but I can't seem to get the info on the audio stream..
I'm looking for the following specs: 'used codec' and 'sample-rate' so I can make my prog decide if and how it must be converted

big thanks to whom can point me in the right direction

bonarez
ps: for those not knowing about allapi > take a look at their apiguide > really rocks!
chris105
This is written in delphi but it could easily be ported to VB and at least the theory is the same:

http://www.gamedev.net/reference/articles/article840.asp
lev
QUOTE(bonarez @ Feb 15 2005, 02:46 PM)
hello,

...
I've been writing a program to recode avi files into mpeg2.

I used following code to get info on the avi files: avifileinfo

...
*



check this open source app out it's quite nice

hxxp://sourceforge.net/projects/mediainfo/

You do realize that there are already many tools to do this, right?

Any way hxxp://www.doom9.org forum is a good place to ask stuff like this
bonarez
thing is: most progs do their job just fine, but I need to convert multiple files (tv-series) to dvd, and I don't like to run those progs with every file.. (and caclulate the compression on each mpg to fit all on one dvd)

plus I don't like the way most programs make their mpg files, they make simple mpeg compliant mpeg2 files, while I want to go this way: hxxp://www.kvcd.net > it allows better compression.

I don't want to make a prog that's better then all other progs, I just want a simple way to automate bat and avs (avisynth framserving scripts) file creation so I don't have to spent so much time on conversions. maybe whent thats finished I might add support for other media (rm, mpeg, mov, wmv etc.)

hxxp://sourceforge.net/projects/mediainfo/ > looks really nice! especialy the dll
just hope I can get it to work with vb6 (noted in their readme > support for msvb 7.1 - 2003) maybe it's time to step over to .net

tnx
bonarez

bonarez
I've setup vb 2003 to give the medainfo dll a try, and I must admit it really does a great job! This is just what I need to get things running!

tnx lev, looks like I'll have to get used to vb 2003...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2005 Invision Power Services, Inc.