[vlc-devel] new libvlc transcoding (python)

Fabian van der Werf fvanderwerf at gmail.com
Thu Feb 22 19:34:49 CET 2007


Hi,

I got video playback with python bindings working, thanks Olivier!

On to transcoding:
I remarked that I could just pass commandline options to the MediaControl
object. For example, I just --no-fullscreen to ensure windowed playback.

I tried the same approach for transcoding:

import vlc

media = vlc.MediaControl(["test.avi", "--sout",
"#transcode{acodec=mp3,vcodec=mp2v}:std{access=file,mux=avi,dst=test2.avi}"])
media.start()

The same transcoding works perfectly on the commandline. Can someone
enlighten me?

Thanks,
Fabian

This is the output of vlc:
[00000259] stream_out_transcode private error: cannot find encoder ((null))
[00000259] stream_out_transcode private error: cannot create video chain
[00000277] main packetizer error: cannot create packetizer output (mpgv)
[00000259] stream_out_transcode private error: cannot find encoder ((null))
[00000259] stream_out_transcode private error: cannot create audio chain
[00000293] main packetizer error: cannot create packetizer output (mpga)
[00000250] main playlist: nothing to play

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list