WMV is driving me nuts
OK, first time in 13 years I need to work with WMV and so far no success. These are Windows 7 ScreenRecorder files, no audio. I need to cut and crop them. So far I haven't found software capable of this. Avidemux crashes, ffmpeg does something (trying to recode) but the output is no use.
Any hints how to recode these files to MPEG-4 or any other standard format are most appreciated. |
hmmm...
can you play the wmv file on your linux platform? |
mencoder / mplayer --dumpstream ?
|
I just tried using good ol' vlc for this. I used the Convert/Save feature to save a wmv file to a mp4. If all else fails, try vlc.
|
Thanks for replies.
VLC does not display anything, just sits. Will try it from CLI when I get home. MPV can play it. Maybe it can convert it into something useful, will try. |
Quote:
*** I just noticed that I do not have those codecs install, so ??? However, I do have mpv. this worked for me do do a conversion. Code:
$ mpv inputfile.wmv -o outputfilename.mp4 -ofps 30 |
It's been a while since I heard anyone talk about needing w32/64codecs. Modern ffmpeg versions should have all needed support for wmv formats (though it doesn't encode wmv3):
Code:
$ ffmpeg -codecs | grep -i wmv |
I once went to a Linux conference where the session recordings (before live streaming) we were promised were (shock, horror) wmv.
The start of morning two was interesting. Everything was hastily converted, and the riots doused with liberal amounts of coffee ... :p |
Just dug out a 15 year old CDR with some .wmv on it.
Code:
ffprobe test.wmv Code:
mplayer test.wmv Code:
ffmpeg -i test.wmv -c:a copy -c:v copy testout.mp4 Code:
ffmpeg -i test.wmv -c:a aac -b:a 128k -c:v libx264 -b:v 600k testout2.mp4 Code:
ffmpeg -i test.wmv -f rawvideo -c:a rawvideo testvid.raw Code:
ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 320x240 -i testvid.raw -i testaud.wav -c:v libx264 -b:v 600k -c:a aac -b:a 128k testout.mp4 Code:
mplayer testout.mp4 If you want more info, ask. |
Thanks everybody, I've been away, will give it another try when I get home.
|
OK, ffmpeg starts recoding but has errors. I think the Screenrecorder application used to produce these files is outputting less than perfect files. I believe now that is the reason players and editors fail. Is there any known application to fix WMV files?
|
Quote:
Code:
ffplay file.wmv Can you post the output of Code:
ffprobe file.wmv |
Below is the output requested. The problem is the files are broken, ffmpeg does not crash, but produces broken output, too. All editors I've tried so far crash. Some players have apparently more error tolerance and can play these files. There seem to be some WMV repair utilities but of course you need Windows for that. Giving up.
Code:
~ $ ffprobe downloads/WMV/04042016.wmv sq= 0B f=0/0 |
Quote:
http://trac.ffmpeg.org/raw-attachment/ticket/3255/ Is uses rgb24 instead of yuv420p. Did a little more research. This codec of Microsoft's will only play on a 32 bit machine. No, not kidding. Do a search on mss2 in .wmv files. https://fitzcarraldoblog.wordpress.c...-64-bit-linux/ http://ubuntuforums.org/archive/inde...t-1705713.html So out of curiosity I got a copy of mplayer for 32 bit windoze. Code:
wget --spider http://downloads.sourceforge.net/project/mplayerwin/MPlayer-MEncoder/r37871-2/mplayer-svn-37871-2.7z Code:
wine mplayer.exe testmss.wmv These will play. http://download.wavetlan.com/SVV/Med...P/http-wmv.htm Put those files on a windows 7, 8 machine and save them as something else like .mp4 with win media center. Or search for more help with mss2 codec .wmv files on linux. Good luck. |
you've given up, that's understandable.
yet, i just thought of something: Quote:
|
All times are GMT -5. The time now is 03:31 PM. |