xdtv ya no me anda... [Solucionado]
Me arroja esto y se sale, no llega a abrirse ninguna ventana ni nada... uso Debian Sid, en algún momento funcionaba en otro ya no... algún problema de actualización????
$ xdtv -capt_width 720 -capt_height 57
This is xdtv 2.4.1cvs15 running on Linux/x86_64 (2.6.29.1-001).
scandir: No existe el fichero o el directorio
filename = /home/mi_usuario/.xdtv/xdtvrc
/home/mi_usuario/.xdtv/xdtvrc:36: invalid value for fullscreen_mode: on
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 131 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1024x768+0+0
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-misc-fixed-bold-r-normal--*-*-75-75-c-70-*-*,
-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0,
-misc-fixed-*-*-*--*-*-75-75-c-70-*-*, -*-fixed-*"
to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Violación de segmento
(el archivo que dice realmente existe y antes funcionaba perfecto...)
Por otro lado arroja algún tipo de error con las fuentes... pero antes no pasaba eso...
Se agradece sugerencias y se lamenta que cada vez que necesito usarlo para grabar algo que me interesa, justo no anda :(
- Inicie sesión o regístrese para enviar comentarios
- 491 lecturas


No te está encontrando el archivo de configuración, seguramente, lo cambiaste, confundiéndolo con el "path" del archivo de vídeo a grabar, o lo dejaste como mi_usuario, éso lo tienes que editar y poner el tuyo.
filename = /home/mi_usuario/.xdtv/xdtvrcPuedes abrir el archivo de configuración, que está en /home/tu_usuario/.xdtv/xdtvrc (fíjate que la carpeta lleva un punto ".xdtv2, por lo que es oculta), y buscar y cambiar el valor, o, borrar éste archivo, llamar a xdtv, y te creará uno nuevo.
Claro, perderás todos tus ajustes, y tendrás que ponerlos de nuevo.
A propósito ¿ Sabes cómo hacer que xdtv arranque automáticamente en modo de grabación ? Sé que se puede, pero no logro encontrar el post.
:) No amigo, puse 'mi_usuario' intencionalmente para no poner mi verdadero nombre de usuario que coincide con mi nombre de pila... el archivo está bien ubicado y antes funcionaba bien, el xdtv no se actualizó ni cambió sino alguna otra cosa en el sistema que ha dejado imposibilitado al programa... igual no se por que me dice que no lo encuentra... pero después parece que lo lee sin problemas... el problema parece tener que ver con algo de unas fuentes que no se cargan bien
Sospecho que el problema está relacionado con lo que menciono en este otro topic:
http://www.esdebian.org/foro/33447/unable-to-load-any-usable-iso8859-fon...
Pero no he encontrado solución, y nadie parece tener ideas para aportar al respecto... :(
Bien, antes iba con un poco de prisa. Fíjate:
/home/mi_usuario/.xdtv/xdtvrc:36: invalid value for fullscreen_mode: onEs el valor de fullscreen. Si abres el xdtvrc, debe haber una línea que lo menciona. En el mío pone:
## Fullscreen options
#
fullscreen = 800 x 600
fullscreen_mode = 3
pixsize = 128 x 96
windowsize = 704 x 480
colorkey = 123456
capture_size = 768 x 576
Es posible que en el tuyo, esté "fullscreen : on", o "fullscreen = on", o algún error sintáctico similar. XDTV sacó una actualización a primeros de año, es posible que haya cambiado algo en el archivo de configuración.
Si lo deseas, te pego mi xdtvrc completo. Sin canales de TV, sólo lo uso para grabar de una cámara, como videovigilancia.
sí por favor... si puedes pegar tu configuración la puedo usar de referencia
No estaba al tanto de esa actualización igual creo que lo había instalado después de principio de año, pero no importa puedo probar eso que me dices...
gracias
EDITO:
Hice el cambio ese para fullscreen_mode (y lo de instalar xfonts-base) mi archivo es:
## Global options
#
norm = PAL-Nc
capture = grab
source = Television
# ________________
color = 26216
bright = 32768
hue = 32768
contrast = 32768
# ________________
deinterlace = Linear Blend
subpage = 888
freqtab = ntsc-us-cable
# You should uncomment this line
# and modify it by your own specific channel:
# mixer_tvchan = xxxxxx
restoresnd = off
respectnullsnd = off
vop_autograb = on
xawpopup = on
message_timer = 800
decoration = on
stayontop = on
subtitles = off
theme = (null)
#
# Fullscreen options
#
fullscreen = 1024 x 768
fullscreen_mode = 3
pixsize = 0 x 0
windowsize = 720 x 576
colorkey = 123456
capture_size = 720 x 576
force_ratio = off
adjust_width = off
#
# Grab options
#
grab_filepath = /home/leo
jpeg_compression = 75
#
# XOSD options
#
xosd = off
xosd_main_color = white
xosd_outline_color = black
xosd_main_font = -*-ledfixed-*-*-*-*-*-*-*-*-*-*-*-*
#
# record options
#
container = AVI
codec = FFMpeg Mpeg2
width = 720
height = 576
bitrate = 6000
quality = 5
stereo_mode = no
audio_codec = FFMpeg AC3
correctdelaylame = yes
mp3_bitrate = 512
mp3_quality = 5
mp3_vbr_mode = no
mp3_vbr_quality = 8
fps = 25000
max_gap = 1
audio_fragments = 100
audio_sizefragment = 10135
min_quantizer = 6
max_quantizer = 6
audio_buffer_size = 65541
audio_freq = 44100
audio_fmt = s16le
divx_path = /home/leo
display_frame = yes
record_sub = no
record_chg = no
record_delay = 0
streaming_mode = no
streaming_http_port = 63427
preview_player = mplayer -nofs -quiet -nosound
#
# record advanced options
#
ffmpeg_v4mv = no
ffmpeg_naq = no
ffmpeg_gray = no
ffmpeg_gmc = no
ffmpeg_qpel = no
ffmpeg_ildct = no
ffmpeg_keyint = 250
ffmpeg_vmax_b_frames = 0
ffmpeg_vlelim = 0
ffmpeg_vcelim = 0
ffmpeg_lumi_mask = 0
ffmpeg_dark_mask = 0
ffmpeg_tcplx_mask = 0
ffmpeg_scplx_mask = 0
ffmpeg_dia = 0
ffmpeg_cmp = 0
ffmpeg_subcmp = 0
ffmpeg_trell = no
ffmpeg_last_pred = 0
ffmpeg_predia = 0
ffmpeg_precmp = 0
ffmpeg_umv = no
ffmpeg_aic = no
ffmpeg_mbd = 0
ffmpeg_cbp = no
ffmpeg_obmc = no
ffmpeg_ss = no
ffmpeg_aiv = no
ffmpeg_loop = no
ffmpeg_ilme = no
xvid_vhq = 0
xvid_bvhq = no
xvid_chromame = no
xvid_chroma_opt = no
xvid_hqacpred = no
xvid_trell = no
xvid_cartoon = no
xvid_gray = no
xvid_interlacing = no
xvid_turbo = yes
xvid_qpel = no
xvid_gmc = no
xvid_keyint = 250
xvid_frame_drop_ratio = 0
xvid_vmax_b_frames = 0
xvid_bquant_ratio = 150
xvid_bquant_offset = 100
xvid_packed = yes
xvid_closed_gop = yes
xvid_bframe_threshold = 0
xvid_reaction_delay_factor = 16
xvid_averaging_period = 100
xvid_buffer = 100
xvid_max_I_quantizer = 12
xvid_min_I_quantizer = 2
xvid_max_P_quantizer = 12
xvid_min_P_quantizer = 2
xvid_max_B_quantizer = 12
xvid_min_B_quantizer = 2
#
# eventmap
#
#
# alevt options
#
alevt_defaultpage = 100
alevt_finetune_mode = none
alevt_finetune = 1
alevt_error_reduction = yes
alevt_error_bell = yes
alevt_vbioffset = yes
alevt_charset = latin-1
# For each channel define at least following information
# [Channel Name]
# channel = Channel Number
# norm = PAL|NTSC|SECAM|AUTO
# key = key to press to switch the channel on (KP_End, KP_Next,...)
# capture = off|grabdisplay|overlay
Al ejecutar el programa ahora anda pero con algunos warnigs que no se si se pueden corregir para evitar problemas:
$ xdtvThis is xdtv 2.4.1cvs15 running on Linux/x86_64 (2.6.29.1-001).
scandir: No existe el fichero o el directorio
filename = /home/leo/.xdtv/xdtvrc
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 131 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1024x768+0+0
Warning: Missing charsets in String to FontSet conversion
wmhooks: netwm detected
wmhooks: netwm fullscreen supported
wmhooks: gnome detected
wmhooks: gnome stay on top with _WIN_LAYER
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
available video mode(s): 1024x768 1024x768 1024x768 1024x768 1024x768 960x540 840x525 840x525 832x624 800x600 800x600 800x600 800x600 800x600 800x600 800x512 720x450 720x400 680x384 680x384 640x512 640x480 640x480 640x480 640x480 640x480 640x480 640x480 640x400 640x350 576x432 576x432 576x432 576x432 512x384 512x384 512x384 512x384 512x384 416x312 400x300 400x300 400x300 400x300 400x300 360x200 320x240 320x240 320x240 320x240 320x200 320x175
Selected XvImage adaptor with yuyv support: NV17 Video Texture on port 355 (grabdisplay)
No XvVideo port available.
WARNING: video memory base unknown, may be caused by a problem
with xdtv_v4l-conf or a non-availability of DGA
and frame buffer devices: CLASSICAL OVERLAY IS DISABLED !
*** GRABBER DEVICE TYPE = v4l2
Warning: Cannot convert string "none" to type relief
Check the linuxtv.org URLs web site. Please wait...
Warning: Missing charsets in String to FontSet conversion
MMX, SSE, AMD MMX extensions, SSE2, have been detected.
Method sse
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa
Te aparecen esos warnings?
alguna sugerencia o idea al respecto?
Gracias
Ahí va el tocho. He cambiado mi nombre por tu_usuario, sólo sale en dos sitios.
## Global options
#
norm = PAL
capture = grab
source = S-Video
color = 32200
bright = 32200
hue = 32200
contrast = 32200
subpage = 888
freqtab = pal-europe-west
# You should uncomment this line
# and modify it by your own specific channel:
# mixer_tvchan = xxxxxx
restoresnd = off
respectnullsnd = off
vop_autograb = on
xawpopup = off
message_timer = 3000
decoration = on
stayontop = on
subtitles = off
theme = (null)
#
# Fullscreen options
#
fullscreen = 800 x 600
fullscreen_mode = 3
pixsize = 128 x 96
windowsize = 704 x 480
colorkey = 123456
capture_size = 768 x 576
#
# Grab options
#
grab_filepath = /home/tu_usuario/Escritorio/captura/xdtvcap.avi
jpeg_compression = 99
#
# XOSD options
#
xosd = off
#
# record options
#
container = AVI
codec = FFMpeg Mpeg4
width = 768
height = 576
bitrate = 2001
quality = 1
stereo_mode = no
audio_codec = UnCompressed
mp3_bitrate = 128
mp3_quality = 5
mp3_vbr_mode = no
mp3_vbr_quality = 8
fps = 25000
max_gap = 80
audio_fragments = 48
audio_sizefragment = 2048
min_quantizer = 2
max_quantizer = 8
audio_buffer_size = 1764
audio_freq = 32000
audio_fmt = s16le
divx_path = /home/tu_usuario/Escritorio/captura/cap.avi
maxsize = 999
display_frame = yes
record_sub = no
record_chg = no
record_delay = 0
streaming_mode = no
streaming_http_port = 63427
preview_player = vlc
#
# record advanced options
#
ffmpeg_v4mv = yes
ffmpeg_naq = no
ffmpeg_gray = no
ffmpeg_gmc = yes
ffmpeg_qpel = no
ffmpeg_ildct = no
ffmpeg_keyint = 200
ffmpeg_vmax_b_frames = 0
ffmpeg_vlelim = 0
ffmpeg_vcelim = 0
ffmpeg_lumi_mask = 0
ffmpeg_dark_mask = 0
ffmpeg_tcplx_mask = 0
ffmpeg_scplx_mask = 0
ffmpeg_dia = 0
ffmpeg_cmp = 0
ffmpeg_subcmp = 0
ffmpeg_trell = no
ffmpeg_last_pred = 0
ffmpeg_predia = 0
ffmpeg_precmp = 0
ffmpeg_umv = no
ffmpeg_aic = no
ffmpeg_mbd = 0
ffmpeg_cbp = no
ffmpeg_obmc = no
ffmpeg_ss = no
ffmpeg_aiv = no
ffmpeg_loop = no
ffmpeg_ilme = no
xvid_vhq = 0
xvid_bvhq = no
xvid_chromame = no
xvid_chroma_opt = no
xvid_hqacpred = no
xvid_trell = no
xvid_cartoon = no
xvid_gray = no
xvid_interlacing = no
xvid_turbo = yes
xvid_qpel = no
xvid_gmc = no
xvid_keyint = 250
xvid_frame_drop_ratio = 0
xvid_vmax_b_frames = 0
xvid_bquant_ratio = 150
xvid_bquant_offset = 100
xvid_packed = yes
xvid_closed_gop = yes
xvid_bframe_threshold = 0
xvid_reaction_delay_factor = 16
xvid_averaging_period = 100
xvid_buffer = 100
xvid_max_I_quantizer = 12
xvid_min_I_quantizer = 2
xvid_max_P_quantizer = 12
xvid_min_P_quantizer = 2
xvid_max_B_quantizer = 12
xvid_min_B_quantizer = 2
#
# eventmap
#
#
# alevt options
#
alevt_defaultpage = 100
alevt_finetune_mode = none
alevt_finetune = 1
alevt_error_reduction = yes
alevt_error_bell = yes
alevt_vbioffset = yes
alevt_charset = latin-1
# For each channel define at least following information
# [Channel Name]
# channel = Channel Number
# norm = PAL|NTSC|SECAM|AUTO
# key = key to press to switch the channel on (KP_End, KP_Next,...)
# capture = off|grabdisplay|overlay
Justo edité el post anterior... lo has visto?
tiene idea sobre los warnings?
Hice el cambio ese para fullscreen_mode (y lo de instalar xfonts-base) mi archivo es:
## Global options
#
norm = PAL-Nc
capture = grab
source = Television
# ________________
color = 26216
bright = 32768
hue = 32768
contrast = 32768
# ________________
deinterlace = Linear Blend
subpage = 888
freqtab = ntsc-us-cable
# You should uncomment this line
# and modify it by your own specific channel:
# mixer_tvchan = xxxxxx
restoresnd = off
respectnullsnd = off
vop_autograb = on
xawpopup = on
message_timer = 800
decoration = on
stayontop = on
subtitles = off
theme = (null)
#
# Fullscreen options
#
fullscreen = 1024 x 768
fullscreen_mode = 3
pixsize = 0 x 0
windowsize = 720 x 576
colorkey = 123456
capture_size = 720 x 576
force_ratio = off
adjust_width = off
#
# Grab options
#
grab_filepath = /home/leo
jpeg_compression = 75
#
# XOSD options
#
xosd = off
xosd_main_color = white
xosd_outline_color = black
xosd_main_font = -*-ledfixed-*-*-*-*-*-*-*-*-*-*-*-*
#
# record options
#
container = AVI
codec = FFMpeg Mpeg2
width = 720
height = 576
bitrate = 6000
quality = 5
stereo_mode = no
audio_codec = FFMpeg AC3
correctdelaylame = yes
mp3_bitrate = 512
mp3_quality = 5
mp3_vbr_mode = no
mp3_vbr_quality = 8
fps = 25000
max_gap = 1
audio_fragments = 100
audio_sizefragment = 10135
min_quantizer = 6
max_quantizer = 6
audio_buffer_size = 65541
audio_freq = 44100
audio_fmt = s16le
divx_path = /home/leo
display_frame = yes
record_sub = no
record_chg = no
record_delay = 0
streaming_mode = no
streaming_http_port = 63427
preview_player = mplayer -nofs -quiet -nosound
#
# record advanced options
#
ffmpeg_v4mv = no
ffmpeg_naq = no
ffmpeg_gray = no
ffmpeg_gmc = no
ffmpeg_qpel = no
ffmpeg_ildct = no
ffmpeg_keyint = 250
ffmpeg_vmax_b_frames = 0
ffmpeg_vlelim = 0
ffmpeg_vcelim = 0
ffmpeg_lumi_mask = 0
ffmpeg_dark_mask = 0
ffmpeg_tcplx_mask = 0
ffmpeg_scplx_mask = 0
ffmpeg_dia = 0
ffmpeg_cmp = 0
ffmpeg_subcmp = 0
ffmpeg_trell = no
ffmpeg_last_pred = 0
ffmpeg_predia = 0
ffmpeg_precmp = 0
ffmpeg_umv = no
ffmpeg_aic = no
ffmpeg_mbd = 0
ffmpeg_cbp = no
ffmpeg_obmc = no
ffmpeg_ss = no
ffmpeg_aiv = no
ffmpeg_loop = no
ffmpeg_ilme = no
xvid_vhq = 0
xvid_bvhq = no
xvid_chromame = no
xvid_chroma_opt = no
xvid_hqacpred = no
xvid_trell = no
xvid_cartoon = no
xvid_gray = no
xvid_interlacing = no
xvid_turbo = yes
xvid_qpel = no
xvid_gmc = no
xvid_keyint = 250
xvid_frame_drop_ratio = 0
xvid_vmax_b_frames = 0
xvid_bquant_ratio = 150
xvid_bquant_offset = 100
xvid_packed = yes
xvid_closed_gop = yes
xvid_bframe_threshold = 0
xvid_reaction_delay_factor = 16
xvid_averaging_period = 100
xvid_buffer = 100
xvid_max_I_quantizer = 12
xvid_min_I_quantizer = 2
xvid_max_P_quantizer = 12
xvid_min_P_quantizer = 2
xvid_max_B_quantizer = 12
xvid_min_B_quantizer = 2
#
# eventmap
#
#
# alevt options
#
alevt_defaultpage = 100
alevt_finetune_mode = none
alevt_finetune = 1
alevt_error_reduction = yes
alevt_error_bell = yes
alevt_vbioffset = yes
alevt_charset = latin-1
# For each channel define at least following information
# [Channel Name]
# channel = Channel Number
# norm = PAL|NTSC|SECAM|AUTO
# key = key to press to switch the channel on (KP_End, KP_Next,...)
# capture = off|grabdisplay|overlay
Al ejecutar el programa ahora anda pero con algunos warnigs que no se si se pueden corregir para evitar problemas:
$ xdtvThis is xdtv 2.4.1cvs15 running on Linux/x86_64 (2.6.29.1-001).
scandir: No existe el fichero o el directorio
filename = /home/leo/.xdtv/xdtvrc
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 131 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
xdtv_v4l-conf had some trouble, trying to continue anyway
xinerama 0: 1024x768+0+0
Warning: Missing charsets in String to FontSet conversion
wmhooks: netwm detected
wmhooks: netwm fullscreen supported
wmhooks: gnome detected
wmhooks: gnome stay on top with _WIN_LAYER
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
available video mode(s): 1024x768 1024x768 1024x768 1024x768 1024x768 960x540 840x525 840x525 832x624 800x600 800x600 800x600 800x600 800x600 800x600 800x512 720x450 720x400 680x384 680x384 640x512 640x480 640x480 640x480 640x480 640x480 640x480 640x480 640x400 640x350 576x432 576x432 576x432 576x432 512x384 512x384 512x384 512x384 512x384 416x312 400x300 400x300 400x300 400x300 400x300 360x200 320x240 320x240 320x240 320x240 320x200 320x175
Selected XvImage adaptor with yuyv support: NV17 Video Texture on port 355 (grabdisplay)
No XvVideo port available.
WARNING: video memory base unknown, may be caused by a problem
with xdtv_v4l-conf or a non-availability of DGA
and frame buffer devices: CLASSICAL OVERLAY IS DISABLED !
*** GRABBER DEVICE TYPE = v4l2
Warning: Cannot convert string "none" to type relief
Check the linuxtv.org URLs web site. Please wait...
Warning: Missing charsets in String to FontSet conversion
MMX, SSE, AMD MMX extensions, SSE2, have been detected.
Method sse
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa
Te aparecen esos warnings?
alguna sugerencia o idea al respecto?
Gracias
Si, ésos errores me salen desde la primera vez que lo usé, y, la verdad, nunca me tomé la molestia de investigarlos, ya que funciona todo perfectamente.
Aunque, al cerrar el programa, me suelta un core dumped, pero bueno, no me afecta, trabaja 24h/7dias, y los archivos de vídeo quedan bien grabados.
Lo del DGA,lo tienes en éste manual de cabecera, casi al final, antes de las combinaciones de teclas.
Muchas cosas están documentadas en linuxtv.org, es posible, si te interesa pulir el sistema, que allí tengas los datos necesarios. Es una magnífica página, a veces, entro allí sólo por ver las novedades, y el futuro que se prepara en el tema vídeo.
Bueno, gracias...
voy a dar por solucionado el tema, cuya solución se explica aquí
http://www.esdebian.org/foro/33447/unable-to-load-any-usable-iso8859-fon...
Bien, espero haberte servido de ayuda.
Respecto a la pregunta que hice, sobre cómo lanzar xdtv en modo grabación, es muy fácila, ya la encontré:
xdtv -e "record"Se puede cambiar "record" (siempre entre comillas), por varias cosas más.
Lee el fichero de configuración e inicia grabando. Lo puse en el inicio del sistema, así, si se va la luz y se acaba la batería del SAI, arranca la máquina, hace el fsck si es necesario, y comienza de nuevo a grabar, sobreescribiendo el primer fichero (el más antiguo, que los numera). Lo que no sé es si luego sigue por el segundo, o crea uno nuevo más una unidad, tengo que comprobarlo.