[MPlayer-users] Watching a filmand recording it at the same time?

Laurent Dufréchou laurent.dufrechou at free.fr
Thu Nov 2 19:19:59 CET 2006


Hello RC,

Ok so I record the file in test.avi.
While doing this I've launched mplayer:
> MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
> CPU:         Intel(R) Pentium(R) M processor 1.73GHz (Family: 6,
> Model: 13, Stepping: 8)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compilé pour CPU x86 avec les extensions: MMX MMX2 SSE SSE2
>
>
> 93 codecs audio & 211 codecs vidéo
> Lecture de test.avi
>
>
> Sortie... (Fin du fichier)    << Exiting... (end of file)

hum ... so was almost what I was saying.. almost ;)

file test.avi gives:
> test.avi: data
then mplayer -v test.avi gives:
> MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
> CPU:         Intel(R) Pentium(R) M processor 1.73GHz (Family: 6,
> Model: 13, Stepping: 8)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compilé pour CPU x86 avec les extensions: MMX MMX2 SSE SSE2
>
>
> get_path('codecs.conf') -> '/home/laurent/.mplayer/codecs.conf'
> Lecture de /home/laurent/.mplayer/codecs.conf: Ne peut ouvrir
> '/home/laurent/.mplayer/codecs.conf': No such file or directory
> Lecture de /usr/share/mplayer/codecs.conf: 93 codecs audio & 211
> codecs vidéo
> Ligne de commande: 'test.avi' '-v'
> init_freetype
> get_path('font/font.desc') -> '/home/laurent/.mplayer/font/font.desc'
> font: can't open file: /home/laurent/.mplayer/font/font.desc
> Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Using nanosleep() timing
> get_path('input.conf') -> '/home/laurent/.mplayer/input.conf'
> Can't open input config file /home/laurent/.mplayer/input.conf: No
> such file or directory
> Parsing input config file /usr/share/mplayer/input.conf
> Input config file /usr/share/mplayer/input.conf parsed: 60 binds
> get_path('test.avi.conf') -> '/home/laurent/.mplayer/test.avi.conf'
> Lecture de test.avi
> get_path('sub/') -> '/home/laurent/.mplayer/sub/'
> [file] File size is 57366220 bytes
> STREAM: [file] test.avi
> STREAM: Description: File
> STREAM: Author: Albeu
> STREAM: Comment: based on the code from ??? (probably Arpi)
> Checking for YUV4MPEG2
> ASF_check: not ASF guid!
> Checking for NuppelVideo
> Checking for REAL
> Checking for SMJPEG
> Searching demuxer type for filename test.avi ext: .avi
> Trying demuxer 3 based on filename extension
> demuxer: continue fuzzy content-based format guessing...
> Checking for Nullsoft Streaming Video
> Checking for MOV
> Checking for VIVO
> header block 1 size: 0
> AVS: avs_check_file - attempting to open file test.avi
> AVS: File is too big, aborting...
> Checking for PVA
> Checking for MPEG-TS...
> TRIED UP TO POSITION 71708, FOUND 47, packet_size= 0, SEEMS A TS? 0
> Checking for LMLM4 Stream Format
> Invalid packet in LMLM4 stream: ch=0 size=-8
> LMLM4 Stream Format not found
> sync_mpeg_ps: seems to be ES/PES stream...
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG packet stats: p100: 534  p101: 4 p1B6: 337 p12x: 10 sli: 4 a: 7
> b: 4 c: 0 idr: 1 sps: 0 pps: 0 PES: 51  MP3: 2972, synced: 0
> sync_mpeg_ps: seems to be ES/PES stream...
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG packet stats: p100: 533  p101: 4 p1B6: 337 p12x: 10 sli: 4 a: 7
> b: 4 c: 0 idr: 1 sps: 0 pps: 0 PES: 51  MP3: 2972, synced: 0
> ==> Flux vidéo trouvé: 0
> ds_fill_buffer: EOF reached (stream: video)
> LAVF_check: no clue about this gibberish!
> demux_aac_probe, failed to detect an AAC stream
>
> vo: x11 uninit called but X11 not inited..
>
> Sortie... (Fin du fichier)

doing file after the recording apps as done is job:
file tes.avi
> test.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video:
> DivX 5, audio: uncompressed PCM (stereo, 48000 Hz)

So it seems this recording app is writing avi file info only when the
it's closing the file.
(I'm don't even know how avi files works) (sure you are more experienced
with this :) )

Perhaps is there a way to force mplayer to read the file in divX raw mode??

Regards,

Laurent



More information about the MPlayer-users mailing list