id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1148	"Error when playing stream test.asf from standard ffserver.conf ""Invalid data found when processing input"""	tps		"Hi All,

I use ffplay to play the stream test.asf using ffserver and the standard ffserver.conf file.

ffplay exits with ""http://localhost:8090/test.asf: Invalid data found when processing input""

Below I show output of three terminal windows. 

The first terminal runs ffserver.

The second terminal window sends data to ffserver from a dv camera using dvgrab and ffmpeg.

The third terminal window calls ffplay to play the stream test.asf

1. ffserver:

tps@T420:~/data/ffmpeg$ ./ffserver -v 9 -loglevel 99 -f doc/ffserver.conf
ffserver version N-39323-gab31db0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 29 2012 14:28:47 with gcc 4.6.1
  configuration: 
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.100 /  2. 66.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
Thu Mar 29 14:30:06 2012 [ffm @ 0x2bda160]Format ffm probed with size=2048 and score=101
Thu Mar 29 14:30:06 2012 Deleting feed file '/tmp/feed1.ffm' as stream counts differ (2 != 4)
Thu Mar 29 14:30:06 2012 FFserver started.
Thu Mar 29 14:30:22 2012 [ffm @ 0x2be0980]Format ffm probed with size=2048 and score=101
Thu Mar 29 14:30:22 2012 127.0.0.1 - - [GET] ""/feed1.ffm HTTP/1.1"" 200 4175
Thu Mar 29 14:30:44 2012 127.0.0.1 - - [GET] ""/test.asf HTTP/1.1"" 200 117
Thu Mar 29 14:30:49 2012 127.0.0.1 - - [POST] ""/feed1.ffm HTTP/1.1"" 200 1716224
^C
tps@T420:~/data/ffmpeg$ 

2. dvgrab and ffmpeg:

tps@T420:~/data/ffmpeg$ dvgrab -format dv1 - | /home/tps/data/ffmpeg/ffmpeg -f dv -i - -v 9 -loglevel 99 http://localhost:8090/feed1.ffm
ffmpeg version N-39323-gab31db0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 29 2012 14:28:47 with gcc 4.6.1
  configuration: 
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.100 /  2. 66.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
Found AV/C device with GUID 0x0080880309603c32
libiec61883 error: Failed to get channels available.
Waiting for DV...
[dv @ 0x1f8e3e0] All info found
[dv @ 0x1f8e3e0] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0, 1, 1/25: Video: dvvideo, yuv420p, 720x576, 1/25, 28800 kb/s, SAR 64:45 DAR 16:9, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
    Stream #0:2, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
Capture Started
[ffm @ 0x1fa67a0] Format ffm probed with size=2048 and score=101
[buffer @ 0x1fa39a0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:
[scale @ 0x1fa41a0] w:720 h:576 fmt:yuv420p sar:64/45 -> w:160 h:128 fmt:yuv420p sar:64/45 flags:0x4
[buffer @ 0x1fcfea0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:
[scale @ 0x2033280] w:720 h:576 fmt:yuv420p sar:64/45 -> w:352 h:240 fmt:yuv420p sar:40/33 flags:0x4
[mpeg1video @ 0x1fbb8e0] intra_quant_bias = 96 inter_quant_bias = 0
[msmpeg4 @ 0x1fbbf40] intra_quant_bias = 0 inter_quant_bias = -64
[dvvideo @ 0x1fa4aa0] detected 4 logical cores
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0, 0, 1/1000000: Audio: mp2, 44100 Hz, 1 channels, s16, 32 kb/s
    Stream #0:1, 0, 1/1000000: Video: mpeg1video, yuv420p, 160x128 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 64 kb/s, 1000k tbn, 25 tbc
    Stream #0:2, 0, 1/1000000: Audio: wmav2, 22050 Hz, 1 channels, s16, 63 kb/s
    Stream #0:3, 0, 1/1000000: Video: msmpeg4, yuv420p, 352x240 [SAR 40:33 DAR 16:9], 1/25, q=2-31, 256 kb/s, 1000k tbn, 25 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (pcm_s16le -> mp2)
  Stream #0:0 -> #0:1 (dvvideo -> mpeg1video)
  Stream #0:1 -> #0:2 (pcm_s16le -> wmav2)
  Stream #0:0 -> #0:3 (dvvideo -> msmpeg4)
0.500000 0.500000 
0.500000 0.500000 
^Cframe=  671 fps= 25 q=6.4 Lq=3.2 size=    1676kB time=00:00:26.79 bitrate= 512.5kbits/s    
video:1301kB audio:314kB global headers:0kB muxing overhead 3.776274%
Received signal 2: terminating.

tps@T420:~/data/ffmpeg$ 

3. ffplay:

tps@T420:~/data/ffmpeg$ ./ffplay -v 9 -loglevel 99 http://localhost:8090/test.asf
ffplay version N-39323-gab31db0 Copyright (c) 2003-2012 the FFmpeg developers
  built on Mar 29 2012 14:28:47 with gcc 4.6.1
  configuration: 
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.100 /  2. 66.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
http://localhost:8090/test.asf: Invalid data found when processing input

tps@T420:~/data/ffmpeg$ 

Thanks

Thomas S

"	defect	new	normal	undetermined	unspecified						0	0
