Discussion:
[MPlayer-users] Protocol name not provided, cannot determine if input is local or a network
Bill Crockett
2016-04-11 03:12:34 UTC
Permalink
This is the full message on the consol:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0181e960] Protocol name not provided, cannot
determine if input is local or a network protocol, buffers and access
patterns cannot be configured optimally without knowing the protocol

I have just updated to r37802, but I think this has been shown on revisions
in the past year or two. Does not happen with avi or wav files. Have not
tested on others. Seems to be the above mov, mp4 et cetera that cause the
error.
Carl Eugen Hoyos
2016-04-11 20:49:18 UTC
Permalink
[mov,mp4,m4a,3gp,3g2,mj2 <at> 0181e960] Protocol name not provided,
cannot determine if input is local or a network protocol, buffers and
access patterns cannot be configured optimally without knowing the
protocol
This is very, very unlikely.

Please provide both your command line and your (full!)
console output.

Carl Eugen
Bill Crockett
2016-04-12 04:10:46 UTC
Permalink
Post by Carl Eugen Hoyos
[mov,mp4,m4a,3gp,3g2,mj2 <at> 0181e960] Protocol name not provided,
cannot determine if input is local or a network protocol, buffers and
access patterns cannot be configured optimally without knowing the
protocol
This is very, very unlikely.
Please provide both your command line and your (full!)
console output.
Carl Eugen
Here is an mp4 file:

mplayer chequered_full_yadif.mp4 -identify

MPlayer sherpya-r37802+g666e2ed-5.3.1 (C) 2000-2016 MPlayer Team
181 audio & 389 video codecs

Playing chequered_full_yadif.mp4.
libavformat version 57.26.100 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0181e960]Protocol name not provided, cannot
determine if input is local or a network protocol, buffers and access
patterns cannot be configured optimally without knowing the protocol
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO: [H264] 1280x720 24bpp 25.000 fps 5503.3 kbps (671.8 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.25.101 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Clip info:
major_brand: isom
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=isom
minor_version: 512
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=512
compatible_brands: isomiso2avc1mp41
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomiso2avc1mp41
encoder: Lavf54.63.101
ID_CLIP_INFO_NAME3=encoder
ID_CLIP_INFO_VALUE3=Lavf54.63.101
ID_CLIP_INFO_N=4
Load subtitles in ./
Load subtitles in C:/Program Files (x86)/MPlayer for Windows/mplayer/sub/
ID_FILENAME=chequered_full_yadif.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=5503256
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=288344
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=229.76
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 288.3 kbit/9.39% (ratio: 36043->384000)
ID_AUDIO_BITRATE=288344
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [gl] 1280x720 => 1280x720 Planar YV12

Exiting... (Quit)
ID_EXIT=QUIT
__________________________________________________________________

This is an m4a file:

mplayer audiodump.m4a -identify

MPlayer sherpya-r37802+g666e2ed-5.3.1 (C) 2000-2016 MPlayer Team
181 audio & 389 video codecs

Playing audiodump.m4a.
libavformat version 57.26.100 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0181e960]Protocol name not provided, cannot
determine if input is local or a network protocol, buffers and access
patterns cannot be configured optimally without knowing the protocol
ID_CHAPTER_ID=0
ID_CHAPTER_0_START=55
ID_CHAPTER_0_END=120064
ID_CHAPTER_0_NAME=
ID_AUDIO_ID=0
[lavf] stream 0: audio (aac), -aid 0, -alang und
Clip info:
major_brand: mp42
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=mp42
minor_version: 0
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=0
compatible_brands: M4A mp42isom
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=M4A mp42isom
creation_time: 2016-04-04 08:34:15
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2016-04-04 08:34:15
iTunSMPB: 00000000 00000A40 000001C0 000000000057E400 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000
ID_CLIP_INFO_NAME4=iTunSMPB
ID_CLIP_INFO_VALUE4= 00000000 00000A40 000001C0 000000000057E400 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
encoder: Nero AAC codec / 1.5.4.0
ID_CLIP_INFO_NAME5=encoder
ID_CLIP_INFO_VALUE5=Nero AAC codec / 1.5.4.0
ID_CLIP_INFO_N=6
Load subtitles in ./
Load subtitles in C:/Program Files (x86)/MPlayer for Windows/mplayer/sub/
ID_FILENAME=audiodump.m4a
ID_DEMUXER=lavfpref
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=210680
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=120.06
ID_SEEKABLE=1
ID_CHAPTERS=1
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 57.25.101 (internal)
[aac @ 0195f3e0]Could not update timestamps for skipped samples.
AUDIO: 48000 Hz, 2 ch, floatle, 210.7 kbit/6.86% (ratio: 26335->384000)
ID_AUDIO_BITRATE=210680
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac
Video: no video
Starting playback...

Exiting... (Quit)
ID_EXIT=QUIT
_____________________________________________________________

I just tried a mov video with the same result.
Bill Crockett
2016-04-13 13:26:47 UTC
Permalink
Post by Bill Crockett
Post by Carl Eugen Hoyos
[mov,mp4,m4a,3gp,3g2,mj2 <at> 0181e960] Protocol name not provided,
cannot determine if input is local or a network protocol, buffers and
access patterns cannot be configured optimally without knowing the
protocol
This is very, very unlikely.
Please provide both your command line and your (full!)
console output.
Carl Eugen
mplayer chequered_full_yadif.mp4 -identify
MPlayer sherpya-r37802+g666e2ed-5.3.1 (C) 2000-2016 MPlayer Team
181 audio & 389 video codecs
Playing chequered_full_yadif.mp4.
libavformat version 57.26.100 (internal)
libavformat file format detected.
determine if input is local or a network protocol, buffers and access
patterns cannot be configured optimally without knowing the protocol
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO: [H264] 1280x720 24bpp 25.000 fps 5503.3 kbps (671.8 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 288.3 kbit/9.39% (ratio: 36043->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [gl] 1280x720 => 1280x720 Planar YV12
Exiting... (Quit)
ID_EXIT=QUIT
_____________________________________________________________
I just tried a mov video with the same result.
Just an update. The option -demuxer mov seems to correct it. But I never
had to do that in past svns.

mplayer -demuxer mov hip_full_yadif.mp4

MPlayer sherpya-r37802+g666e2ed-5.3.1 (C) 2000-2016 MPlayer Team

181 audio & 389 video codecs

Playing hip_full_yadif.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
[mov] Subtitle stream found, -sid 2
[mov] Subtitle stream found, -sid 3
VIDEO: [avc1] 1280x720 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.25.101 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 1536.0 kbit/50.00% (ratio: 192000->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl] 1280x720 => 1280x720 Planar YV12

Exiting... (Quit)

It should default to mp4 file format detected without -demuxer.

Loading...