Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Thread Tools Rate Thread Display Modes
Old 09-25-2002, 11:11 AM   #1
Junior Member
Join Date: Sep 2002
Posts: 1
Default suggestion for Project-ZS 1.0

OGG support would be nice, i'll paste some simple example code:

void Oggtag(FILE *fp)
OggVorbis_File vf;
double duration;
long bitrate;

if ( ov_open (fp, &vf, NULL, 0 ) != 0 )
printf("Something went wrong!\n");

duration = ov_time_total ( &vf, -1 );
bitrate = ov_bitrate ( &vf, -1 ) / 1000;

char **ptr = ov_comment(&vf,-1)->user_comments;
vorbis_info *vi = ov_info(&vf,-1);
printf("\n\nBitstream is %d channel, %ldHz\n",vi->channels,vi->rate);
printf("Encoded by: %s\n\n",ov_comment(&vf,-1)->vendor);
printf("Bitrate: %d Kbit/Sec\n", bitrate);
printf("Duration: %.0f Seconds\n", duration);
printf("\n\t---------- Vorbis Tag: ----------\n\n");

ov_clear (&vf);

very simple, you will of course need the ogg/vorbis/vorbisfile libraries install. (and link to the libraries, -lvorbisfile -lvorbis)
treech is offline   Reply With Quote
Old 09-26-2002, 04:45 AM   #2
Junior Member
ioFTPD Registered User
Join Date: Sep 2002
Posts: 15

Yes ogg support would be very very nice.
phrode is offline   Reply With Quote
Old 09-27-2002, 06:20 AM   #3
FlashFXP Registered User
ioFTPD Administrator
darkone's Avatar
Join Date: Dec 2001
Posts: 2,230

Thanks, this will be most certainly implemented. I dont like the idea of using external libraries, but it might be the only way to implement ogg support with reasonable effort.
darkone is offline   Reply With Quote
Old 09-28-2002, 02:13 AM   #4
ioFTPD Registered User
Join Date: Sep 2002
Posts: 42

just a small ? about ogg...... who the hell uses it?
GOD-EMPEROR is offline   Reply With Quote
Old 09-30-2002, 06:01 PM   #5
Join Date: Sep 2002
Posts: 44

ge, i dont think any rls groups use it but i sure as hell grab them when i come across them
Phaeton is offline   Reply With Quote
Old 10-02-2002, 03:06 AM   #6
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
Join Date: Sep 2002
Posts: 543

External DLL plugins? That would be awesome!!

How about the ability to have a Pre-command and Post-command
for ANY command (whether it is ok or not) type???
FTPServerTools is offline   Reply With Quote

&vf, bitrate;, duration;, libraries, simple

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 11:11 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)