Audio/vedio player

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
mani
Lance Naik
Posts: 33
Joined: Tue Aug 10, 2004 1:51 pm
Location: Islamabad
Contact:

Audio/vedio player

Post by mani »

hello 2 every one,
i want 2 develop an Audio/vedio player .
so which is the best language 2 develop it .
waiting 4 ur reply
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

obiously C 8)
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
faisal892
Lance Naik
Posts: 21
Joined: Tue Nov 26, 2002 9:57 pm
Contact:

Re: Audio/vedio player

Post by faisal892 »

Punjabi would be better.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: Audio/vedio player

Post by lambda »

mani wrote:so which is the best language 2 develop it .
i have written a very small video player. i very much doubt that you could write one in c or java or .net that's smaller than mine. here, i'll even give you the source code to my player:

Code: Select all

#!/bin/sh

# Copyright (c) 2005 lambda
# 
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including without
# limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to
# whom the Software is furnished to do so, subject to the following
# conditions:
# 
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
# OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

exec xine "$@"
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Re: Audio/vedio player

Post by saquib_javed »

lambda wrote: exec xine "$@"
wow gr8

that's a new programming style

:lol:
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
jargon
Lieutenant Colonel
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Re: Audio/vedio player

Post by jargon »

lambda wrote:
mani wrote:so which is the best language 2 develop it .
i have written a very small video player. i very much doubt that you could write one in c or java or .net that's smaller than mine. here, i'll even give you the source code to my player:

Code: Select all

#!/bin/sh

# Copyright (c) 2005 lambda
# 
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including without
# limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to
# whom the Software is furnished to do so, subject to the following
# conditions:
# 
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
# OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

exec xine "$@"
ok, for a second there I thought I was about to scroll down and see some actual code :)

mani: this is a formidable task , good luck , are you talking about a gui and stuff or the acutal libraries etc..., ?
jargon
MAJID
Naik
Posts: 90
Joined: Thu Oct 16, 2003 10:23 pm
Contact:

Post by MAJID »

I actually made an audio/video player capable of playing mp3 audio files on linux plus quick time .mov files some avi formats some wav formats and plenty of other audio video formats as well.

I made the application in JAVA.
I used the framework JMF ( Java Media Framwork)

I have tested the application on linux, windows, solaris and it works fine i suggest you to use java.

But if you want more control and power then use C PLUS PLUS.

Well if you want to develop something really new then use Csharp ( mono on linux) and it will be really fun.

WELL ANY LANGUAGE can be used depending on how much you are comfortabe with it :)
01101101 01100001 01101010 01101001 01100100
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

gr8 :P

can i see ur player :)

i mean from where i can download it :?
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
MAJID
Naik
Posts: 90
Joined: Thu Oct 16, 2003 10:23 pm
Contact:

Post by MAJID »

Well it is not completely ready and infact it is not free.
But i will give to developers from whom i know can enhance it i have no plan to sold it or give to anybody but i will give in the future for students and the people who want to learn from it.

NOT TO USERS :)

ONLY PROGRAMMERS :)

I CAN GIVE You its powerpoint slides that is used to display on ITCN Asia
01101101 01100001 01101010 01101001 01100100
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

:o dont go towards my signature

check my profile also i m also a developer

i asked u just for my information :?

ThanX
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
MAJID
Naik
Posts: 90
Joined: Thu Oct 16, 2003 10:23 pm
Contact:

Post by MAJID »

Actually the program is not in the position to hand over to someone to experience it.

I do not want anybody to use and become confuse of it very early.
Probably I will make it available may be at sourceforge or freshmeat or some other wesbsite.

I am actually planning to make a new one using MONO you will soon get it.

I am sorry if i sounds some how rude to you or like that. Or my writings humiliates or annoys you.
01101101 01100001 01101010 01101001 01100100
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

MAJID wrote: Probably I will make it available may be at sourceforge or freshmeat or some other wesbsite.
good idea
MAJID wrote: I am actually planning to make a new one using MONO you will soon get it.
but what if i dont want to use mono :?:
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
MAJID
Naik
Posts: 90
Joined: Thu Oct 16, 2003 10:23 pm
Contact:

Post by MAJID »

Do not use MONO use DOT GNU :D
01101101 01100001 01101010 01101001 01100100
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

yeah thats good :)
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
Post Reply