hi, for the past three days i've been trying to set up an asf stream which can be played with windows media player and i haven't managed. input is from a from a hauppauge wintv hvr 1300 card (Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder). (almost) all combinations of options in ffmpeg and ffserver which i've tried produce a result which can be played in vlc and mplayer and exactly none of them works with WMP. "error message" is always immediately "cannot play the file". what i always see in ffserver output is "Codec for stream 0 does not use global headers but container format requires global headers", but i don't know if this is the real problem and how to cure it. vlc/mplayer don't seem to care.
the minimal setup which works with vlc/mplayer is described below. all other (sensible) setups i've tried (various "-f" and "-vcodec" as outfile options for ffmpeg, various "VideoCodec" for ffserver for <Stream> setup in ffserver.conf, using /dev/video1 as input which gives mpeg2video) basically don't make a difference, result as mentioned above. ffmpeg package is from unstable repository on http://www.debian-multimedia.org. any help appreciated thx matthias ffmpeg commandline: ffmpeg \ -f video4linux2 -s vga -vc 1 -i /dev/video0 \ -an http://127.0.0.1:8090/feed1.ffm output from ffmpeg: Input #0, video4linux2, from '/dev/video0': Duration: N/A, start: 1255431980.590040, bitrate: -2147483 kb/s Stream #0.0: Video: rawvideo, yuyv422, 640x480, -2147483 kb/s, 1000k tbr, 1000k tbn, 1000k tbc Output #0, ffm, to 'http://192.168.80.216:8090/feed1.ffm': Stream #0.0: Video: msmpeg4, yuv420p, 160x128, q=3-31, 64 kb/s, 1000k tbn, 5 tbc ffserver configuration: <Feed feed1.ffm> File /tmp/feed1.ffm </Feed> <Stream test.asf> Feed feed1.ffm Format asf NoAudio </Stream> _______________________________________________ ffserver-user mailing list ffserver-user@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user