[MPlayer-users] ID_LENGTH=0 with finite streaming media (no live)

nicolas.baly at epfl.ch nicolas.baly at epfl.ch
Mon Jan 23 13:57:24 CET 2006


Hi,

I got an erroneous ID_LENGTH output with mplayer -identify on a finite length
stream (about 10 min. - no live)...

Here is the command line:
mplayer -vo null -ao null -identify -cache-min 0 -frames 0
rtsp://ia300120.us.archive.org:554/1/items/more_dangerous_then_dynamite/more_dangerous_then_dynamite_64kb.mp4

And the output (below the complete output):
ID_LENGTH=0.00

..which should be around 10.00.


By the way, if somebody can tell me how to dump this stream, I get the following
error message...

Here is the command line:
mplayer -dumpstream -dumpfile stream.mp4 <same-url>

And the error message:
"Cannot dump this stream - no file descriptor available."

Thanks,

nico


COMPLETE (-identify) OUTPUT::

MPlayer dev-CVS-060122-13:08-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon
Nocona,Irwindale (Family: 15, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing
rtsp://ia300120.us.archive.org:554/1/items/more_dangerous_then_dynamite/more_dangerous_then_dynamite_64kb.mp4.
STREAM_RTSP, URL:
rtsp://ia300120.us.archive.org:554/1/items/more_dangerous_then_dynamite/more_dangerous_then_dynamite_64kb.mp4
Resolving ia300120.us.archive.org for AF_INET...
Connecting to server ia300120.us.archive.org[207.241.234.220]: 554...
rtsp_session: Not a Real server. Server type is 'DSS/4.1.3 (Build/412.45;
Platform/Linux)'.
STREAM_LIVE555, URL:
rtsp://ia300120.us.archive.org:554/1/items/more_dangerous_then_dynamite/more_dangerous_then_dynamite_64kb.mp4
Stream not seekable!
Initiated "video/MP4V-ES" RTP subsession
Initiated "audio/MPEG4-GENERIC" RTP subsession
ID_VIDEO_ID=0
demux_rtp: Guessed the video frame rate as 30 frames-per-second.
        (If this is wrong, use the "-fps <frame-rate>" option instead.)
ID_AUDIO_ID=0
VIDEO:  [mp4v]  0x0  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
ID_FILENAME=rtsp://ia300120.us.archive.org:554/1/items/more_dangerous_then_dynamite/more_dangerous_then_dynamite_64kb.mp4
ID_DEMUXER=rtp
ID_VIDEO_FORMAT=mp4v
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=0
ID_VIDEO_HEIGHT=0
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=faad
ID_AUDIO_FORMAT=mp4a
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=0.00
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...


Exiting... (End of file)




More information about the MPlayer-users mailing list