Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
transcode from .vnc to .avi fails.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
benow
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 84

PostPosted: Tue Oct 19, 2004 2:37 am    Post subject: transcode from .vnc to .avi fails. Reply with quote

Ok, here's one that I'm a bit pessimistic on ever finding an answer for. I came across this while trying to record a vnc session (for tutorial/bugreport purposes) using vncrec and following this guide.

I can successfully record and playback using vncrec, an error occurs while transcoding to avi. The following transcode statement
Code:
transcode -i test.vnc -g 800x600 -y xvid -o session.avi -k -z

which should transcode a recorded vnc session (recorded using vncrec) to avi at 800x600, produces an error:
Code:

transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source test.vnc (ok)
[transcode] V: import format    | RGB/BGR  (V=vnc|A=null)
[transcode] V: import frame     | 800x600  1.33:1 
[transcode] V: flip frame       | yes
[transcode] V: rgb2bgr          | yes
[transcode] V: bits/pixel       | 0.150
[transcode] V: decoding fps,frc | 25.000,3
[transcode] A: import format    | 0x2001  AC3/A52      [   0,16,0]
[transcode] A: export format    | 0x55    MPEG layer-3 [   0,16,0]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 0 (0.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32 accel mode  | 3dnow (3dnow mmxext mmx asm)
[transcode] V: video buffer     | 10 @ 800x600
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_vnc.so] v0.0.2 (2003-11-29) (video) VNC
[export_xvid2.so] v0.3.10 (2003-07-30) (video) XviD 0.9.x (aka API 2.1 series)  | (audio) MPEG/AC3/PCM
/usr/lib/libxvidcore.so.2: undefined symbol: xvid_initFailed to init XviD codec[transcode] warning : (encoder.c) video export module error: init failed
[transcode] critical: failed to init encoder

and no video file is created. I'm running the latest version of transcode (0.6.12-r2). Any suggestions?

(PS: The alternate method of dumping to xpm, converting to jpg and producing mpg with mencoder fails, also, but I'm not including that one since, of the two improbable bug solutions, the transcode solution is preferred).
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Tue Oct 19, 2004 3:47 am    Post subject: Reply with quote

Can you encode other stuff to xvid?
Because it looks like this has nothing to do with vnc, but that your xvid encoder part of transcode is broken (or not available)

Code:

[transcode] critical: failed to init encoder

suggest that it is not the decoder part but the encoder part, so can you check if you can encode other things to xvid? If not you should either fix the encoder part (re-emerge transcode, maybe you should play around with your USE flags, I'm thinking of avi or encode...)
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
benow
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 84

PostPosted: Tue Oct 19, 2004 4:04 am    Post subject: Solved Reply with quote

Yes, you're right, it's an xvid problem, with a workaround found here.

Thanks for your help. Premature pessamism on my part... wouldn't be the first time :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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