LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to associate flv files to kmplayer in kde? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-associate-flv-files-to-kmplayer-in-kde-656033/)

fordwrench 07-15-2008 10:11 PM

How to associate flv files to kmplayer in kde?
 
Running Debian etch with kde.

How do I associate file types with programs.

I am trying now to associate flv's to kmplayer, since it is the only player that I can get to play them.

I have tried vlc and mplayer...but kmplayer seems to be the only one I can get to work properly.


Thank
Fordwrench

Thanks but I figured it out......

Control Center_KDE Components_File Associations......

Bruce Hill 07-16-2008 01:21 AM

Using Downloadhelper with Firefox I end up with .flv files.

On this box MPlayer and VLC plays them fine. I don't even have
gmplayer installed, so can't comment on that. However, I can
change those file extensions to .wmv and play them, also.

Perhaps showing you output will help:
Code:

mingdao@silas:~/dwhelper$ ls -l
total 231436
-rw-r--r-- 1 mingdao users 236986249 2008-07-08 10:15 Rediscovering-God-in-America-Newt-Gingrich.flv
mingdao@silas:~/dwhelper$ cp Rediscovering-God-in-America-Newt-Gingrich.flv Rediscovering-God-in-America-Newt-Gingrich.wmv
mingdao@silas:~/dwhelper$ ls -l
total 462872
-rw-r--r-- 1 mingdao users 236986249 2008-07-08 10:15 Rediscovering-God-in-America-Newt-Gingrich.flv
-rw-r--r-- 1 mingdao users 236986249 2008-07-16 14:16 Rediscovering-God-in-America-Newt-Gingrich.wmv
mingdao@silas:~/dwhelper$ mplayer Rediscovering-God-in-America-Newt-Gingrich.flv
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15, Model: 107, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing Rediscovering-God-in-America-Newt-Gingrich.flv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  500x374  0bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 500 x 374 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 500x374 => 500x374 Planar YV12
A:  4.5 V:  4.5 A-V:  0.001 ct:  0.000  69/ 69  2%  0%  0.8% 0 0
Exiting... (Quit)
mingdao@silas:~/dwhelper$ vlc Rediscovering-God-in-America-Newt-Gingrich.flv
VLC media player 0.8.6h Janus
[00000311] skins2 interface: skin: VLC 0.8.5 Default Skin  author: aLtgLasS
[00000385] dc1394 demuxer error: Bad MRL, please check the option line (MRL was: Rediscovering-God-in-America-Newt-Gingrich.flv)
mdb:187, lastbuf:0 skipping granule 0
mdb:187, lastbuf:0 skipping granule 1
mdb:374, lastbuf:187 skipping granule 0
mdb:374, lastbuf:187 skipping granule 1
mdb:511, lastbuf:374 skipping granule 0
[00000303] main playlist: stopping playback
mingdao@silas:~/dwhelper$ mplayer Rediscovering-God-in-America-Newt-Gingrich.wmv
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15, Model: 107, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing Rediscovering-God-in-America-Newt-Gingrich.wmv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  500x374  0bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 500 x 374 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 500x374 => 500x374 Planar YV12
A:  5.0 V:  5.0 A-V: -0.000 ct:  0.000  76/ 76  2%  0%  0.8% 0 0
Exiting... (Quit)
mingdao@silas:~/dwhelper$ vlc Rediscovering-God-in-America-Newt-Gingrich.wmv
VLC media player 0.8.6h Janus
[00000311] skins2 interface: skin: VLC 0.8.5 Default Skin  author: aLtgLasS
[00000385] dc1394 demuxer error: Bad MRL, please check the option line (MRL was: Rediscovering-God-in-America-Newt-Gingrich.wmv)
mdb:187, lastbuf:0 skipping granule 0
mdb:187, lastbuf:0 skipping granule 1
mdb:374, lastbuf:187 skipping granule 0
mdb:374, lastbuf:187 skipping granule 1
mdb:511, lastbuf:374 skipping granule 0
[00000303] main playlist: stopping playback
mingdao@silas:~/dwhelper$

I'm using Slackware-12.1, custom 2.6.26 kernel, KDE 3.5.9, MPlayer 1.0rc2
and VLC 0.8.6h. Hope this helps ... try it via CLI, and if you have a
problem, at least you'll have some output to show what is wrong. You
might not have ffmpeg installed to play the flash video.


All times are GMT -5. The time now is 12:58 AM.