Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Blues on March 25, 2016, 01:25:32 AM

Title: Opening WMV Files
Post by: Blues on March 25, 2016, 01:25:32 AM
Running on Gentoo for some reason Avidemux cannot open WMV files. In same box MPV plays them perfectly. What am I missing?
Title: Re: Opening WMV Files
Post by: Jan Gruuthuse on March 25, 2016, 07:59:38 AM
Can you tell us the used WMV version? Could be this proprietary version) Microsoft codec is not supported.
Avidemux is not intended as a video player.
What is your used version of avidemux? You did not tell.
Title: Re: Opening WMV Files
Post by: Jan Gruuthuse on March 25, 2016, 11:58:27 AM
Install avidemux 2.5.6 alongside 2.6. 2.5.6 handles WMV 9 better, not all audio is supported.
Title: Re: Opening WMV Files
Post by: Blues on March 25, 2016, 03:03:22 PM
Avidemux 2.6.8 as it comes in Gentoo portage. I do not want to use it as video player. There is no audio in this file, below is mpv output. I have no clue what version of wmv it is. I'm not a Windows user.
~ $ mpv work/video/23.wmv
Playing: work/video/23.wmv
(+) Video --vid=1 (mss2)
File tags:
Artist: ScreenRecorder
Comment: ScreenRecorder
Title: ScreenRecorder
Using conversion filter.
VO: [vdpau] 1600x900 bgra
V: 00:00:01 / 00:44:26 (0%)
Title: Re: Opening WMV Files
Post by: Jan Gruuthuse on March 25, 2016, 04:15:59 PM
WMV = microsoft video format.
Can you install avidemux 2.5.6 alongside? I'm on Linux too, I have 2.6.10 and 2.5.6 installed on Ubuntu 14.04.4 lts 64-bit.
Title: Re: Opening WMV Files
Post by: Blues on March 26, 2016, 05:36:38 PM
Below is what Gentoo reports, as you can see Avidemux is split into three packages. I do not see anything obvious I could enable to get missing WMV support. There is 2.5.x in portage, but it is masked. Maybe you can tell me what option I'm missing, if any?
~ $ eix avidemux
[I] media-libs/avidemux-core
     Available versions:  (2.6) (~)2.6.2-r1 (~)2.6.3 (~)2.6.4 (~)2.6.5 (~)2.6.7 (~)2.6.8 **9999
       {a52 aften alsa amr debug dts fontconfig jack lame libsamplerate nls oss sdl (-)system-ffmpeg truetype vaapi vdpau vorbis x264 xv xvid CPU_FLAGS_X86="mmx" LINGUAS="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" VIDEO_CARDS="fglrx"}
     Installed versions:  2.6.8(2.6)(03:27:07 PM 02/09/2016)(vdpau xv -debug -nls -sdl -system-ffmpeg -vaapi VIDEO_CARDS="-fglrx")
     Homepage:            http://fixounet.free.fr/avidemux
     Description:         Core libraries for a video editor designed for simple cutting, filtering and encoding tasks

[I] media-libs/avidemux-plugins
     Available versions:  (2.6) (~)2.6.2-r2 (~)2.6.3 (~)2.6.4 (~)2.6.4-r1 (~)2.6.5 (~)2.6.5-r1 (~)2.6.7 (~)2.6.8 **9999
       {a52 aac aften alsa amr debug dts faac faad fontconfig fribidi jack lame libsamplerate nls opengl oss pulseaudio qt4 sdl truetype twolame vdpau vorbis vpx x264 xv xvid CPU_FLAGS_X86="mmx" LINGUAS="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" PYTHON_TARGETS="python2_7"}
     Installed versions:  2.6.8(2.6)(07:35:45 AM 02/10/2016)(a52 alsa dts fontconfig lame libsamplerate opengl qt4 truetype vdpau vorbis vpx x264 xv xvid -aac -aften -amr -debug -fribidi -jack -oss -pulseaudio -twolame CPU_FLAGS_X86="mmx" PYTHON_TARGETS="python2_7")
     Homepage:            http://fixounet.free.fr/avidemux
     Description:         Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks

[I] media-video/avidemux
     Available versions: 
     (2.6)  (~)2.6.2-r1 (~)2.6.3 (~)2.6.4 (~)2.6.5 (~)2.6.5-r1 (~)2.6.7 (~)2.6.8 **9999
       {a52 aac aften alsa amr debug dts fontconfig gtk jack lame libsamplerate +mp3 nls opengl oss pulseaudio qt4 sdl (+)truetype vaapi vdpau vorbis vpx (+)x264 (+)xv (+)xvid CPU_FLAGS_X86="mmx" LINGUAS="bg ca cs de el es fr it ja pt_BR ru sr sr@latin tr zh_TW" VIDEO_CARDS="fglrx"}
     Installed versions:  2.6.8(2.6)(02:42:37 PM 01/14/2016)(opengl qt4 vdpau xv -debug -nls -sdl -vaapi LINGUAS="-ca -cs -de -el -es -fr -it -ja -pt_BR -ru -sr -sr@latin -tr" VIDEO_CARDS="-fglrx")
     Homepage:            http://fixounet.free.fr/avidemux
     Description:         Video editor designed for simple cutting, filtering and encoding tasks
Title: Re: Opening WMV Files
Post by: Jan Gruuthuse on March 27, 2016, 06:52:45 AM
I suppose when masked it is not installed.
I think the 2.5.6 is pulled from Gentoo (https://packages.gentoo.org/packages/media-video/avidemux)
Quote2.5.* has known security and other issues due to an affected bundled ffmpeg

I'm not that familiar with Gentoo.

Could ffmpeg help? along this line?
ffmpeg -i input.wmv -c:v libx264 output.mkv