Hi,
I've tested now in LAN, and streaming quality has not improved
Recordings are streaming perfectly with 512k; With live TV at Wifi/512k setting, the stream starts stuttering after a few seconds, freezes, starts again, artefacts etc. Setting bitrate to 256k doesn't help; Streaming live TV in Edge mode works fine.
Could this be the same problem as kuminamoya described on p. 2 of this thread, machine too old or too less RAM? I'm runnig latest c't vdr (Debian) on a P4 2,4 GHZ 512 MB RAM, Fully Featured DVB-S card.
When I test TS generation via command line, lots of error messages are produced, but the TS test file is generated. However, it presents the same artefacts and problem as the stream TS files. One of the error messages says "Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)" Actually, the resulting TS files have 50fps - ist this normal/correct?
vdr:/# /usr/local/bin/ffmpeg -i http://localhost:3000/TS/1
-deinterlace -f mpegts -acodec libmp3lame -ab 64k -ac 1 -s 480x320
-vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range
16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 512k -maxrate 512k
-bufsize 512k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51
-qdiff 4 -level 30 -g 30 -async 2 -threads 4 ./test.ts
FFmpeg version SVN-r22137, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 2 2010 00:12:53 with gcc 4.3.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50. 9. 0 / 50. 9. 0
libavcodec 52.55. 0 / 52.55. 0
libavformat 52.54. 0 / 52.54. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg2video @ 0x94a4710]mpeg_decode_postinit() failure
Last message repeated 6 times
[mpegts @ 0x948e3a0]max_analyze_duration reached
[mpegts @ 0x948e3a0]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://localhost:3000/TS/1':
Duration: N/A, start: 78308.951867, bitrate: 15832 kb/s
Program 28007
Stream #0.0[0xd2]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 26.06 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0xdc](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.2[0xe6](deu): Subtitle: 0x0006
Stream #0.3[0xdd](2ch): Audio: mp2, 48000 Hz, 1 channels, s16, 128 kb/s
Stream #0.4[0xe1](deu): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
[libx264 @ 0x94a38b0]using SAR=32/27
[libx264 @ 0x94a38b0]using cpu capabilities: MMX2 SSE2 Cache64
[libx264 @ 0x94a38b0]profile Baseline, level 3.0
Output #0, mpegts, to './test.ts':
Metadata:
encoder : Lavf52.54.0
Stream #0.0: Video: libx264, yuv420p, 480x320 [PAR 32:27 DAR 16:9], q=10-51, 512 kb/s, 90k tbn, 25 tbc
Stream #0.1(2ch): Audio: libmp3lame, 48000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.3 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x94a4710]warning: first frame is no keyframe
[mpeg2video @ 0x94a4710]ac-tex damaged at 18 0e=5.52 bitrate= 700.0kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]Warning MVs not available
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 34 9e=6.40 bitrate= 688.3kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]Warning MVs not available
[mpeg2video @ 0x94a4710]concealing 90 DC, 90 AC, 90 MV errors
[mpegts @ 0x9530cc0]dts < pcr, TS is invalid
[mpeg2video @ 0x94a4710]ac-tex damaged at 34 30=6.92 bitrate= 686.1kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpegts @ 0x9530cc0]dts < pcr, TS is invalidime=7.88 bitrate= 691.7kbits/s dup=9 drop=0
Last message repeated 12 times
[mpeg2video @ 0x94a4710]ac-tex damaged at 28 5
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 31 23=8.48 bitrate= 681.8kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 31 13
[mpeg2video @ 0x94a4710]invalid cbp at 16 14
[mpeg2video @ 0x94a4710]concealing 90 DC, 90 AC, 90 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 34 27=9.76 bitrate= 660.0kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 34 17=10.40 bitrate= 659.3kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]Warning MVs not available
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 37 5e=11.08 bitrate= 645.7kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]invalid cbp at 13 16ime=11.72 bitrate= 653.2kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 8 24e=12.40 bitrate= 645.6kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 17 30=13.04 bitrate= 654.5kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 21 23
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]invalid cbp at 32 14ime=14.32 bitrate= 654.1kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 90 DC, 90 AC, 90 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 26 22
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x94a4710]ac-tex damaged at 28 33=15.52 bitrate= 658.8kbits/s dup=9 drop=0
[mpeg2video @ 0x94a4710]concealing 45 DC, 45 AC, 45 MV errors
[mpegts @ 0x9530cc0]dts < pcr, TS is invalidime=16.12 bitrate= 653.1kbits/s dup=9 drop=0
Last message repeated 4 times 1348kB time=16.76 bitrate= 658.7kbits/s dup=9 drop=0
[libmp3lame @ 0x9531ce0]lame: output buffer too small (buffer index: 9600, free bytes: 192)
Alles anzeigen
Are there any hints to finetune the TS generation or do I have to buy a new machine/RAM?
Tnaks
Martin