| View previous topic :: View next topic |
| Author |
Message |
kuzma
Joined: 12 Jul 2006 Posts: 2 Location: Socorro, NM
|
Posted: Wed Jul 12, 2006 10:12 am Post subject: Encode WMAs? |
|
|
New to the forum and pymedia, but have been trying to encode WMAs in linux for a while now because my new phone doubles as an mp3 player, but actually only plays WMAs. I know WMA is terrible, and I prefer ogg, but I really want to get a solution for converting formats to wma until LG/verizon make a patch for my phone so it can play mp3s, and I have tried to play mp3s on it before. The phone is a vx8300, so buyers beware.
Anyway, I know that ffmpeg and mplayer/mencoder don't encode to wma, only decode from them, and so I hoped pyMedia could since the site said it encoded/decoded from a list of formats (which included wma).
well, I can't seem to get it to encode into wma and i was wondering if it can or if anyone knows of any software that can.
any help would be appreciated.
(not that is is useful in this case, but I am running:
Ubuntu Dapper Drake (6.06)
python 2.4
pyMedia 1.3.7
i built pyMedia, and when i built/installed it it found all of the drivers it looked for)
thanx!!! _________________ Linux is like a wigwam:
No fences, no windows, and Apache inside |
|
| Back to top |
|
 |
kuzma
Joined: 12 Jul 2006 Posts: 2 Location: Socorro, NM
|
Posted: Wed Jul 12, 2006 10:21 am Post subject: Encode WMAs? |
|
|
note:
using the recode_audio.py in the examples i get this:
kuzma@r2d2:~/programs/python/pyAudio$ python recode_audio.py ~/KeepingTheBlade.ogg CoAndCa-KeepingTheBlade.wma wma
Recoding /home/kuzma/KeepingTheBlade.ogg into CoAndCa-KeepingTheBlade.wma
Decoder params: {'index': 0, 'block_align': 0, 'type': 1, 'frame_rate_base': 1, 'height': 0, 'channels': 0, 'width': 0, 'length': -2077252342, 'sample_rate': 0, 'frame_rate': 25, 'bitrate': 0, 'id': 86022}
Encoder params: {'channels': 2, 'sample_rate': 44100, 'bitrate': 160000, 'id': 0}
Traceback (most recent call last):
File "recode_audio.py", line 82, in ?
recodeAudio( sys.argv[1], sys.argv[2], sys.argv[3] )
File "recode_audio.py", line 46, in recodeAudio
mx= muxer.Muxer( Type )
pymedia.muxer.MuxerError: No registered muxer for the 'wma' extension
I have tried this with the encoder as:
wma, WMA, wmav1, wmav2, WMAv1, WMAv2, wma1, wma2, WMA1, WMA2
once again, any info would be appreciated! _________________ Linux is like a wigwam:
No fences, no windows, and Apache inside |
|
| Back to top |
|
 |
jbors Site Admin

Joined: 12 Nov 2004 Posts: 1675
|
Posted: Wed Jul 12, 2006 11:06 am Post subject: |
|
|
| At this point pymedia uses ffmpeg to do its job so if wma encoding is not supported there, it won't work in pymedia also. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|