Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Videos (https://forums.graalonline.com/forums/forumdisplay.php?f=197)
-   -   Video Capture (https://forums.graalonline.com/forums/showthread.php?t=75369)

Admins 09-11-2007 06:46 PM

I am using ffmpeg now to compress, its really easy to use on command line:

ffmpeg -b 800 -i myvideo.avi output.avi

The "-b 800" means video quality. You can also use other formats to export.

Uploaded a video for testing on youtube:

I have recorded it with the new Graal version which is also recording sounds

Twinny 09-11-2007 07:16 PM

Seems to be a delay between the sound and the video. I'm hoping that's just youtube's fault. Otherwise it's lookin' pretty sweet.

Admins 09-11-2007 07:26 PM

Yes a small delay, will try to fix that.

Crono 09-11-2007 10:24 PM

Those 3 horses are cute.

Admins 09-11-2007 11:21 PM

:D
Ok fixed the timing problems of the new video+audio capture so it should be fine with most lag situations.

ViperZakuto 09-17-2007 10:14 AM

Quote:

Originally Posted by Stefan (Post 1347170)
I am using ffmpeg now to compress, its really easy to use on command line:

ffmpeg -b 800 -i myvideo.avi output.avi

The "-b 800" means video quality. You can also use other formats to export.

Uploaded a video for testing on youtube:
http://www.youtube.com/watch?v=wbCoCcdtHAU
I have recorded it with the new Graal version which is also recording sounds

I see you found this. was gonna recommend this program. You can actually integrate this progam into graal if the scripting is compatible. IF you don't have the manual here is the complete documentation on ffmpeg
http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html

For users who just want to convert the video/audio files... this can even convert to mpeg 2 without a liscense because it is command line driven. =D here is a link where you can download a compiled version and a guide on how to use it.
http://worldtv.com/blog/guides_tutor..._converter.php

zokemon 09-17-2007 11:57 PM

Hmm. Would be nice if we could record videos by script. Probably would be insecure though.

ViperZakuto 09-18-2007 02:12 AM

you can even use 2 pass encoding with this program.
ffmpeg -i s18e01.flv -b 700k -r 29.97 -s 740x480 -aspect 4:3 -pass 1 s18e01.mpg
for my second pass I used.
ffmpeg -i s18e01.flv -b 700k -r 29.97 -s 740x480 -aspect 4:3 -pass 2 s18e01.mpg

there is a good bit of audio options I havn't messed with. The default audio encoding is not that great so you have to tinker around with it from the manaul if you want good audio.

Admins 09-18-2007 10:05 AM

Quote:

Originally Posted by zokemon (Post 1348407)
Hmm. Would be nice if we could record videos by script. Probably would be insecure though.

isrecordingvideo
startRecordVideo()
stopRecordVideo()

Only works if the user has allowed scripts to record video, in the Graal options.

zokemon 09-18-2007 10:13 PM

Quote:

Originally Posted by Stefan (Post 1348471)
isrecordingvideo
startRecordVideo()
stopRecordVideo()

Only works if the user has allowed scripts to record video, in the Graal options.

Ahh. Thanks :)

ViperZakuto 09-18-2007 10:43 PM

here are some audio options i found in the manual
`-ar freq'
Set the audio sampling frequency (default = 44100 Hz).
`-ab bitrate'
Set the audio bitrate in bit/s (default = 64k).

From what i understand about this, is that it will set the video output to the same as the input file.
`-sameq'
Use same video quality as source (implies VBR).
ex
ffmpeg -i file.avi -sameq -ab 300k file.mpg

make sure to put the audio and video options before the output file and NOT the input file.

Also you can do multiple conversions at once if your computer can handle it.

ex
ffmpeg -i file1.avi -sameq -ab 300k file1.mpg -i file2.avi -sameq -ab 300k file2.mpg so on and so forth.

Chompy 09-18-2007 11:03 PM

Quote:

Originally Posted by Stefan (Post 1348471)
isrecordingvideo
startRecordVideo()
stopRecordVideo()

Only works if the user has allowed scripts to record video, in the Graal options.

Very nice!

In the options, are they on by default?

Admins 09-19-2007 12:03 AM

Quote:

Originally Posted by Chompy (Post 1348588)
Very nice!

In the options, are they on by default?

Disabled by default of course (since videos require a lot of hard disk space and you don't want your hard disk being flooded when going on some server, even if it was only by script error).

Crow 09-19-2007 03:52 PM

I think it fits here, so I'm writing it here. Since the video capture supports sound there are videos with sound added onto the website. Though you cannot mute the sound or turn off the video which is pretty annoying. That should be changed.

Chompy 09-19-2007 04:55 PM

Quote:

Originally Posted by Stefan (Post 1348611)
Disabled by default of course (since videos require a lot of hard disk space and you don't want your hard disk being flooded when going on some server, even if it was only by script error).


Sounds fair :)


All times are GMT +2. The time now is 03:52 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.