[MPlayer-dev-eng] [PATCH] suppressing warnings when streaming with ffmpeg://

Zongyao Qu zongyao.qu at gmail.com
Thu Jan 23 04:01:39 CET 2014


When playing online stream by using ffmpeg://http://....

The following warning are always coming out.
---------
MPlayer UNKNOWN-4.2.1 (C) 2000-2014 MPlayer Team


Playing ffmpeg://
http://r15---sn-ogu7zn7z.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=919120%2C914073%2C916612%2C936207%2C936117%2C937404%2C936910%2C936913%2C907231%2C921090&key=yt5&ip=222.228.216.113&mt=1390445924&sver=3&expire=1390466924&source=youtube&id=2180eef29cd68739&upn=y9PBpuSXPQQ&mv=m&ms=au&itag=22&signature=337F02CE31F2604CFC5D536723DE6D92EA48FC1F.BD41F2DE2752FACDDAB57467439B25EF02A06E94
.

libavformat version 55.22.103 (internal)


*Using network protocols without global network initialization. Please use
avformat_network_init(), this will become mandatory later.Using network
protocols without global network initialization. Please use
avformat_network_init(), this will become mandatory later. *libavformat
file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x720  24bpp  25.000 fps  2824.5 kbps (344.8 kbyte/s)
------
I think the reason is that stream_ffmpeg.c does not call
avformat_network_init() correctly.
the patch should fix it.

Best Regards,
Zongyao QU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_ffmpeg.patch
Type: application/octet-stream
Size: 411 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20140123/c978b22f/attachment.obj>


More information about the MPlayer-dev-eng mailing list