Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-25-2002, 11:11 AM   #1
treech
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");

while(*ptr)
{
printf("%s\n",*ptr);
++ptr;
}
}
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
phrode
Junior Member
ioFTPD Registered User
 
Join Date: Sep 2002
Posts: 15
Talking

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

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
GOD-EMPEROR
Member
ioFTPD Registered User
 
Join Date: Sep 2002
Posts: 42
Default

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
Phaeton
Disabled
 
Join Date: Sep 2002
Posts: 44
Default

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
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

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
Reply

Tags
&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 10:45 AM.

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