Still not succesfull ...
When I start ./istream.sh from the command line with
./istream.sh http://127.0.0.1:3000/TS/10 512k 64k 480x360
I get the following:
FFmpeg version SVN-r21853, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 16 2010 20:50:01 with gcc 4.3.2
configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvorbis
libavutil 50. 9. 0 / 50. 9. 0
libavcodec 52.54. 0 / 52.54. 0
libavformat 52.52. 0 / 52.52. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg2video @ 0x9298fb0]mpeg_decode_postinit() failure
Last message repeated 3 times
[mpegts @ 0x92833a0]max_analyze_duration reached
[mpegts @ 0x92833a0]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mpegts, from 'http://127.0.0.1:3000/TS/10':
Duration: N/A, start: 534.257333, bitrate: 15896 kb/s
Program 28106
Stream #0.0[0x65]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x66](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.2[0x67](2ch): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
Stream #0.3[0x819]: Data: 0x0005
Stream #0.4[0x54]: Data: 0x0006
Stream #0.5[0x68](deu): Subtitle: 0x0006
Stream #0.6[0x6a](deu): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
Stream #0.7[0x818]: Data: 0x000b
Stream #0.8[0x81c]: Data: 0x000b
Stream #0.9[0x81d]: Data: 0x000b
Stream #0.10[0x87b]: Data: 0x000b
Stream #0.11[0x42a]: Data: 0x000c
[libx264 @ 0x973db10]using SAR=4/3
[libx264 @ 0x973db10]using cpu capabilities: MMX2 SSE2Slow
[libx264 @ 0x973db10]profile Baseline, level 3.0
Output #0, mpegts, to 'pipe:':
Metadata:
encoder : Lavf52.52.0
Stream #0.0: Video: libx264, yuv420p, 480x360 [PAR 4:3 DAR 16:9], q=10-51, 512 kb/s, 90k tbn, 25 tbc
Stream #0.1(deu): Audio: libmp3lame, 48000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x9298fb0]warning: first frame is no keyframe
[mpegts @ 0xa858150]max_analyze_duration reached4.88 bitrate= 678.6kbits/s dup=6 drop=0
[mpegts @ 0xa858150]Estimating duration from bitrate, this may be inaccurate
Output #0, mpegts, to 'stream':
Stream #0.0: Video: libx264, yuv420p, 480x360, q=2-31, 90k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, 1 channels, 64 kb/s
[mpegts @ 0xa93f330]stream 0, bit rate is not set, this will cause problems
[mpegts @ 0xa93f330]dts < pcr, TS is invalid
Last message repeated 6 times
[mpegts @ 0xa93f330]st:1 error, non monotone timestamps 63000 >= 63000
Warning: Could not write frame of stream
[mpegts @ 0xa93f330]dts < pcr, TS is invalid
Last message repeated 4259 times 899kB time=10.96 bitrate= 672.0kbits/s dup=6 drop=0
When I try to play the resulting .ts files in /ram, vlc reports an error.
Playing other h264 Samples works without any problems.
Is this a problem with ffmpeg (svn checkout from today)?
Roupi