[MPlayer-users] pipe info from mencoder --> forget

j.a.l j.a.l at free.fr
Thu Apr 10 22:29:09 CEST 2003

j.a.l wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> weird thing :
> mencoder -oac copy -ovc frameno -o frameno.avi stream.dump
> all right get info printed.
> mencoder -oac copy -ovc frameno -o frameno.avi stream.dump 1> info
> File not found: 'frameno.avi'
> : No such file or directory
> Could not determine number of frames (for absolute seek)
> what's that ????? ( now )
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

THIS IS FOR DEVEL, not really user but many people may have interest on it :

make some change on my code :
i used to do :

g_spawn_async_with_pipes( NULL, argv, NULL, G_SPAWN_SEARCH_PATH,

read_channel = g_io_channel_unix_new( s_out );
g_io_channel_set_flags( read_channel, G_IO_FLAG_NONBLOCK | 

frameno_timer_id = gtk_timeout_add( 500, 
(GtkFunction)lm_encoder_parser_frameno_callback, NULL );	

Work fine with mplayer, not with mencoder... don't ask me why, had the 
same error with cdrecord output.

replace the g_io_channel with a "classic" select/read loop/fill buffer 
into the timer loop and everything go fine.

if you need further info, mail me.

More information about the MPlayer-users mailing list