Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
170 user(s) are online (150 user(s) are browsing Forums)

Members: 0
Guests: 170

more...

Support us!

Headlines

 
  Register To Post  

using .flv files with def_icons
Quite a regular
Quite a regular


See User information
I wonder if someone could tell me hoe to launch .flv files in mplayer automatically.

I have edited the def_flv ivon in env_arc/sys to the location of MPlayer.
I have added flv to the video section of prefs/def_icons.
I selected 3 .flv files and selected learn in prefs/Def_icon
Rebooted my system and it's not working.

If I launch MPlayer (from Amidock) i can drag'n'drop an flv file and it plays ok, I just can't seem to get MPlayer to be launched when I double click an flv file.

Just as an example, if I double click on an avi file DvPlayer launches automatically and startes playing the avi file. I would like to do the same with flv (youtube) files.

I am obviously doing something wrong, and would be gratefull if someone could help.

Cheers

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: using .flv files with def_icons
Quite a regular
Quite a regular


See User information
can you play them from the cli ?

Go to top
Re: using .flv files with def_icons
Not too shy to talk
Not too shy to talk


See User information
@Swoop

1) Grab "runicon" from OS4 Depot (http://www.os4depot.net/index.php?fun ... ity/workbench/runicon.lha), and copy it to C:
2) Set your .flv def_icon to have have "runicon" as the "Default tool"
3) In the .flv def_icon "Tool types" try copying the following line:
RUN=Work:MPlayer/MPlayer/mplayer "%s" -vo cgx_wpa

(Make sure to adjust the path and arguments to fit your MPlayer installation and preferences.)

Go to top
Re: using .flv files with def_icons
Just can't stay away
Just can't stay away


See User information
Do you see your def_flv icon with FLV files under Workbench?

Maybe you can start with "easy" DefIcon definition for flv files, like only:
PATTERN #?.flv

Is the path in the def_flv icon right? (APPDIR:mplayer or something alike)

Go to top
Re: using .flv files with def_icons
Quite a regular
Quite a regular


See User information
Quote:
jabirulo wrote:
Maybe you can start with "easy" DefIcon definition for flv files, like only:
PATTERN #?.flv

I've just tried that, and no go.
Quote:
Is the path in the def_flv icon right? (APPDIR:mplayer or something alike)
It's the same path as Amidock, when run with Amidock MPlayer launches a file requester and I have to drag'n'drop the flv file on to there, and then select it.
Maybe this is an MPlayer problem, rather than def_icons.

Anyway thanks for the help.
I will have to look up MPlayer settings?

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: using .flv files with def_icons
Just can't stay away
Just can't stay away


See User information
Can you point as which FLV file are? Normally I use CLipDonw to dl youtube and such file, mostly in FLV format and had no problems viewing them.

I have in DefIcons prefs: MATCH 0,"FLV"
case sensitive: OFF/disabled

I don't have a def_flv.info icon, it uses the MAIN_CLASS video icon def_video.info, it's a Project icon Stack 32768, Tool:APPDIR:Mplayer

It's not the muimplayer, just the "old" normal mplayer (os4depot)

#appdir:mplayer -v
MPlayer SVN-r29532-4.2.3 (C) 2000-2009 MPlayer Team
AltiVec found
CPU: PowerPC
get_path('codecs.conf') -> '/progdir/conf/codecs.conf'
Reading /progdir/conf/codecs.conf: 162 audio & 352 video codecs
Usage: mplayer [options] [url|path/]filename

Go to top
Re: using .flv files with def_icons
Home away from home
Home away from home


See User information
Okay. here's how to do it.

To start cleanup. Delete or rename your ENVARC:sys/def_flv.info

Open deficon prefs and remove the entry for flv.


Now:


Open a workbench drawer containing a flv file.

Ensure the flv file has no icon allready. Select display all files. You'll see a whuite default project icon.


Goto deficons prefs.

Click select the video entry. And click on Add, this should add a <new> entry to the video section, if it adds as a subitem of any other item, remove it and make sure you really had the video entry slected.

Set the pattern of <new> to PATTERN #?.flv and rename it to flv.

Return to your workbench window. Select Update from the menu, now your flv file should show with a video icon.

Open the icon information window and selet the icon tab.

Change the tooltype to Appdir:mplayer (or the absolute path to the mplayer you want to us) set the icon start from to SHELL. Deselect prompt for input.

From the menu choose save as default flv. Then cancel the icon information window.

Then go back to to your workbench window with the flv file and select update from the window menu again.

Now double click on your icon






Edited by broadblues on 2012/3/7 15:07:21
Go to top
Re: using .flv files with def_icons
Home away from home
Home away from home


See User information
Updates:

You can also choose start from Workbench (I was playing safe with SHELL) then you won't get any console opening with uneed textual info. That probably speeds video play up slightly.


Go to top
Re: using .flv files with def_icons
Quite a regular
Quite a regular


See User information
Hi Andy,

That work's brilliantly, especially the from workbench option, it get's rid og the output window.

When from the menu choosing save as default flv, the icon information window automatically closes.

After setting it up as you describe, and looking at the def_flv icon, and the def_icons entry, they appear to be the same as I had set up manually, but it didn't work then, your way does.
Thanks again.

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project