Kirjoittaja Aihe: glc-capture kokemuksia kenelläkää?  (Luettu 3010 kertaa)

decalinux

  • Käyttäjä
  • Viestejä: 35
    • Profiili
glc-capture kokemuksia kenelläkää?
« : 15.05.10 - klo:00.01 »
Ohjelman kotisivu
http://nullkey.ath.cx/projects/glc/
Opasviedo kuinka kyseinen ohjelma asennetaa Ubuntuu
http://www.youtube.com/watch?v=zIdMgdQj2DA

kyseinen ohjelma olisi kiva saada toimimaan. "toimii päätteen kautta"
Olen törmännyt pariin ongelmaa omalla kohdalla, laitan mitkä toimii ja mitkä ei.
Asennus: toimii
glc-capture glxgears : toimii
glc-capture wine /home/$user/peli.exe -opengl : ei toimi
virheilmoitus: ERROR: ld.so: object 'libglc-hook.so.0' from LD_PRELOAD cannot be preloaded: ignored.

glc tekee samaan kansioon missä olet tiedoston, esim: glxgears-1942-0.glc
glc-play glxgears-1942-0.glc : toimii
glc-play glxgears-1942-0.glc -o - -y NUM | mencoder -demuxer y4m - -audiofile audio.mp3 -oac copy -ovc x264 -x264encopts qp=18:pass=2 -of avi -o video.avi
Ei toimi, en tiedä mitä puuttuu

MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
File not found: 'audio.mp3'
Failed to open audio.mp3.
Cannot open audio stream: audio.mp3
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

rupee olee aika noobi olo xD

Oma järjestelmä on Ubuntu 9.10 64bit
8Gb muistia
1Gb nvidia GTS250
emo vanha asus 2 sarjaa

kaikki codecit pitäisi olla asennettu h264 lame mencoder  yms....

gtk-recordMyDesktop toimii mutta pelatessa fps pelejä se hidastaa peliä jonkun verran.
Sen vuoksi olisi kiva saada glc-capture toimimaan

Ubuntu 9.10
AMD 5600+ DualCore
Asus M2A-VM AM2 mATX
KingstonHyperX 8Gb @800Mhz
GeForce GTS 250 PCI Express 185.18.36 1024Mb
Benq@1920x1080 & LG 37LT75@1360x768
Biltema Webcam 100% Working =)

Tuxer

  • Käyttäjä
  • Viestejä: 657
  • Debian 7.0, Sailfish
    • Profiili
    • opendimension.org
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #1 : 15.05.10 - klo:10.58 »
EDIT: en huomannut että olit asentanut sen tuon playdebin kautta joten ohjeistani ei ole apua, sorry!

Ohjelman kotisivu
http://nullkey.ath.cx/projects/glc/
Opasviedo kuinka kyseinen ohjelma asennetaa Ubuntuu
http://www.youtube.com/watch?v=zIdMgdQj2DA

kyseinen ohjelma olisi kiva saada toimimaan. "toimii päätteen kautta"
Olen törmännyt pariin ongelmaa omalla kohdalla, laitan mitkä toimii ja mitkä ei.
Asennus: toimii
glc-capture glxgears : toimii
glc-capture wine /home/$user/peli.exe -opengl : ei toimi
virheilmoitus: ERROR: ld.so: object 'libglc-hook.so.0' from LD_PRELOAD cannot be preloaded: ignored.

Oletko tehnyt symlboliset linkit, jotka vaaditaan 64-bittisessä systeemissä?
Entä olisiko tuosta mitään apua?
http://nullkey.ath.cx/projects/glc/ticket/2

Lainaus

glc tekee samaan kansioon missä olet tiedoston, esim: glxgears-1942-0.glc
glc-play glxgears-1942-0.glc : toimii
glc-play glxgears-1942-0.glc -o - -y NUM | mencoder -demuxer y4m - -audiofile audio.mp3 -oac copy -ovc x264 -x264encopts qp=18:pass=2 -of avi -o video.avi
Ei toimi, en tiedä mitä puuttuu

MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
File not found: 'audio.mp3'
Failed to open audio.mp3.
Cannot open audio stream: audio.mp3
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...
glxgearsissa ei varmaankaan ole ääntä joten tuota audiotiedostoa ei synny? (File not found: 'audio.mp3') Onko tuo tiedosto olemassa?



« Viimeksi muokattu: 15.05.10 - klo:12.07 kirjoittanut Ari Häyrinen »
"Menehän Tonttu Tomera tarkastamaan ollaanko korsuissa kiltisti."
Fingerpori

decalinux

  • Käyttäjä
  • Viestejä: 35
    • Profiili
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #2 : 15.05.10 - klo:13.33 »
EDIT: en huomannut että olit asentanut sen tuon playdebin kautta joten ohjeistani ei ole apua, sorry!

Ohjelman kotisivu
http://nullkey.ath.cx/projects/glc/
Opasviedo kuinka kyseinen ohjelma asennetaa Ubuntuu
http://www.youtube.com/watch?v=zIdMgdQj2DA

kyseinen ohjelma olisi kiva saada toimimaan. "toimii päätteen kautta"
Olen törmännyt pariin ongelmaa omalla kohdalla, laitan mitkä toimii ja mitkä ei.
Asennus: toimii
glc-capture glxgears : toimii
glc-capture wine /home/$user/peli.exe -opengl : ei toimi
virheilmoitus: ERROR: ld.so: object 'libglc-hook.so.0' from LD_PRELOAD cannot be preloaded: ignored.

Oletko tehnyt symlboliset linkit, jotka vaaditaan 64-bittisessä systeemissä?
Entä olisiko tuosta mitään apua?
http://nullkey.ath.cx/projects/glc/ticket/2

Vastaus: Tein symboliset linkit ja olen katsonut kyseiset ohjeet, mutta ei apua
Lainaus

glc tekee samaan kansioon missä olet tiedoston, esim: glxgears-1942-0.glc
glc-play glxgears-1942-0.glc : toimii
glc-play glxgears-1942-0.glc -o - -y NUM | mencoder -demuxer y4m - -audiofile audio.mp3 -oac copy -ovc x264 -x264encopts qp=18:pass=2 -of avi -o video.avi
Ei toimi, en tiedä mitä puuttuu

MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
File not found: 'audio.mp3'
Failed to open audio.mp3.
Cannot open audio stream: audio.mp3
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...
glxgearsissa ei varmaankaan ole ääntä joten tuota audiotiedostoa ei synny? (File not found: 'audio.mp3') Onko tuo tiedosto olemassa?

koitin kyseistä ohjelmaa warzone2100 pelillä missä on ääntä mutta en tiedä haittaako pulseaudio nauhoitusta ku kaappaus on tehty ALSA kaappausta varten äänen kannalta

nauhoitus onnistui warzone2100 kohdalla ei herjannu ERROR: ld.so: object 'libglc-hook.so.0' from LD_PRELOAD cannot be preloaded: ignored. niinkuin windows pelien kohdalla tekee.
mutta rippaus ei toiminut:

deca@deca-desktop:~$ ./encode.sh warzone2100-4338-0.glc -o mynicefragvid.avi
LAME 3.98.2 64bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to audio.mp3.tmp
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=2)
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Option x264encopts: Unknown suboption bime
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
YUV4MPEG2 file format detected.
YUV4MPEG2 Video stream 0 size: display: 1024x768, codec: 1024x768
VIDEO:  [YV12]  1024x768  12bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:12  fourcc:0x32315659  size:1024x768  fps:30.000  ftime:=0.0333
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1024 x 768 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x1c83780]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32315659.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Exiting...
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Option x264encopts: Unknown suboption bime
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
YUV4MPEG2 file format detected.
YUV4MPEG2 Video stream 0 size: display: 1024x768, codec: 1024x768
VIDEO:  [YV12]  1024x768  12bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
Audio only file format detected.
[V] filefmt:65536  fourcc:0x32315659  size:1024x768  fps:30.000  ftime:=0.0333
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1024 x 768 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x1129620]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32315659.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Exiting...
deca@deca-desktop:~$ ./encode.sh warzone2100-4338-0.glc -o mynicefragvid.avi
LAME 3.98.2 64bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to audio.mp3.tmp
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=2)
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Option x264encopts: Unknown suboption bime
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
YUV4MPEG2 file format detected.
YUV4MPEG2 Video stream 0 size: display: 1024x768, codec: 1024x768
VIDEO:  [YV12]  1024x768  12bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:12  fourcc:0x32315659  size:1024x768  fps:30.000  ftime:=0.0333
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1024 x 768 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x1579780]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32315659.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Exiting...
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
Option x264encopts: Unknown suboption bime
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
YUV4MPEG2 file format detected.
YUV4MPEG2 Video stream 0 size: display: 1024x768, codec: 1024x768
VIDEO:  [YV12]  1024x768  12bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
Audio only file format detected.
[V] filefmt:65536  fourcc:0x32315659  size:1024x768  fps:30.000  ftime:=0.0333
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1024 x 768 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x2a19620]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32315659.
Read DOCS/HTML/en/codecs.html!
==========================================================================

Exiting...



Ubuntu 9.10
AMD 5600+ DualCore
Asus M2A-VM AM2 mATX
KingstonHyperX 8Gb @800Mhz
GeForce GTS 250 PCI Express 185.18.36 1024Mb
Benq@1920x1080 & LG 37LT75@1360x768
Biltema Webcam 100% Working =)

decalinux

  • Käyttäjä
  • Viestejä: 35
    • Profiili
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #3 : 15.05.10 - klo:13.47 »
Kiitos Ari muuten nopeasta vastauksesta voisinkin kokeilla läppärillä glc-capturea.
Ubuntu 9.10
AMD 5600+ DualCore
Asus M2A-VM AM2 mATX
KingstonHyperX 8Gb @800Mhz
GeForce GTS 250 PCI Express 185.18.36 1024Mb
Benq@1920x1080 & LG 37LT75@1360x768
Biltema Webcam 100% Working =)

Tuxer

  • Käyttäjä
  • Viestejä: 657
  • Debian 7.0, Sailfish
    • Profiili
    • opendimension.org
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #4 : 15.05.10 - klo:14.17 »
Kokeilin nopeasti asentaa tuon asennusskriptin avulla ja ainakin sain nauhoitettua Hitman 2:sta (wine).

Riippuvuudet:
http://nullkey.ath.cx/projects/glc/wiki/HowtoInstall

Asennusskripti:
Koodia: [Valitse]
wget http://nullkey.ath.cx/glc/scripts/glc-build.sh
chmod a+x glc-build.sh
./glc-build.sh

Skripti kysyy seuraavat asiat:
- asennushakemisto: itse käytin  /usr/local
- Kääntämisoptiot:  annoin olla oletuksena
- stable vai Git-version: valitsin stable

Sitten vielä komentorivillä (tai lisää bashrc:hen)
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib64:/usr/local/lib32"

- kaappaus
Koodia: [Valitse]
glc-capture -o /hakemisto/ wine hitman2.exe
Kuva tosin oli ylösalaisin mutta se nyt on pientä :)

« Viimeksi muokattu: 18.05.10 - klo:10.35 kirjoittanut Ari Häyrinen »
"Menehän Tonttu Tomera tarkastamaan ollaanko korsuissa kiltisti."
Fingerpori

decalinux

  • Käyttäjä
  • Viestejä: 35
    • Profiili
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #5 : 17.05.10 - klo:21.15 »
täytyypi kokeilla itse tuota=) kiitos kun jaksoit uhrautua kokeilemaan =)
Ubuntu 9.10
AMD 5600+ DualCore
Asus M2A-VM AM2 mATX
KingstonHyperX 8Gb @800Mhz
GeForce GTS 250 PCI Express 185.18.36 1024Mb
Benq@1920x1080 & LG 37LT75@1360x768
Biltema Webcam 100% Working =)

decalinux

  • Käyttäjä
  • Viestejä: 35
    • Profiili
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #6 : 22.05.10 - klo:19.26 »
Kokeilin nopeasti asentaa tuon asennusskriptin avulla ja ainakin sain nauhoitettua Hitman 2:sta (wine).

Riippuvuudet:
http://nullkey.ath.cx/projects/glc/wiki/HowtoInstall

Asennusskripti:
Koodia: [Valitse]
wget http://nullkey.ath.cx/glc/scripts/glc-build.sh
chmod a+x glc-build.sh
./glc-build.sh

Skripti kysyy seuraavat asiat:
- asennushakemisto: itse käytin  /usr/local
- Kääntämisoptiot:  annoin olla oletuksena
- stable vai Git-version: valitsin stable

Sitten vielä komentorivillä (tai lisää bashrc:hen)
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib64:/usr/local/lib32"

- kaappaus
Koodia: [Valitse]
glc-capture -o /hakemisto/ wine hitman2.exe
Kuva tosin oli ylösalaisin mutta se nyt on pientä :)



kiitos avusta sain toimimaa ja mulla on kuva oikeinpäin =)
ainoa vaa että jostain syystä glc syö mulla enemmän prosua kuin gtk-recordmydesktop
ja ääni katoaa jossain vaiheessa äänitystä mutta täytyypi kokeilla ilman ääntä nauhottaa niinku käytän gtk-recordmydesktop ohjelmalla =)
Ubuntu 9.10
AMD 5600+ DualCore
Asus M2A-VM AM2 mATX
KingstonHyperX 8Gb @800Mhz
GeForce GTS 250 PCI Express 185.18.36 1024Mb
Benq@1920x1080 & LG 37LT75@1360x768
Biltema Webcam 100% Working =)

leal

  • Käyttäjä
  • Viestejä: 246
    • Profiili
Vs: glc-capture kokemuksia kenelläkää?
« Vastaus #7 : 21.10.12 - klo:15.50 »
Nostetaanpas tätä hiukan.

Elikkäs olen yrittänyt nauhoittaa Minecraftia glc + Audacity + Gnomen ääninauhuri + Pulseaudion ääniasetuksia hyödyntäen.

Tälläistä jälkeä on tullut: https://www.youtube.com/FOSSmaatti

En saanut glc:n omaa äänen nauhoitusta (pelin ääniä varten) toimimaan niin käytössä on erikseen pelin äänien ja puheen nauhoitus Audacityllä ja Gnomen ääninauhurilla. Pulseaudion asetuksista voi valita kumpi ohjelma nauhoittaa mitäkin.

Kahden viimeisimmän jakson videoon (4 ja 5, ja tulevat 6,7) on kuitenkin tullut jotain häiriöitä. Mistähän voisi johtua? Jaksot joissa ei häiriöitä nauhoitettu muistaakseni samoilla asetuksilla. Minecraft ja nauhoitus pyörivät eri kiintolevyillä. Vai eikö koneen tehot riitä? Tai pitäisihän niiden riittää kun ei aina niitä häiröitä tule. Jokin glc bugi kyseessä?

Tälläistä rautaa koneessa:

AMD Athlon(tm) 7750 Dual-Core Processor
AMD Radeon HD 4770
4Gt RAM

https://github.com/nullkey/glc/wiki/Capture
Katsoin tuolta ohjetta miten tuon lokin saisi päälle, että jos näkyisi mikä aiheuttaa ne häiriöt, niin sain loki-tiedoston toimimaan. Miten tuon "-v" valitsimen saisi niin, että 0,1,2 olisivat päällä? Sisältyvätkö ne 4:seen? Veikkaan että ei.

EDIT 16.4.13:
Taisi glc:n bugisuudesta johtua ongelma. Kuitenkin, olen vaihtanut glc:n avconviin ja hyvin on toiminut. Täällä ohjetta miten sillä nauhoitetaan: http://linux.fi/wiki/Ty%C3%B6p%C3%B6yd%C3%A4n_nauhoittaminen

Ja jos kuitenkin sitä glc:tä haluaa kokeilla niin olen tehyt ohjeen siitä http://ubuntuforums.org/showthread.php?t=2081706 . Muuten, tuonne tulleesta vastauksesta se avconv löytyi.
« Viimeksi muokattu: 16.04.13 - klo:19.35 kirjoittanut leal »