Hi,
did you try the latest git ?
There was an issue where the PID files where not creared correctly ...
Could you test please ?
Thanks
Hi,
did you try the latest git ?
There was an issue where the PID files where not creared correctly ...
Could you test please ?
Thanks
ZitatOriginally posted by pandel
"Error:streaming could not start correctly"
* FFmpeg: running
* Segmenter: stopped
Same problem here with latest git:
FFmpeg version SVN-r22824, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 10 2010 03:17:54 with gcc 4.4.1
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
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg2video @ 0x2e39390]mpeg_decode_postinit() failure
Last message repeated 10 times
[mpegts @ 0x2e33420]max_analyze_duration reached
[mpegts @ 0x2e33420]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/1':
Duration: N/A, start: 41015.144444, bitrate: 15896 kb/s
Program 28106
Stream #0.0[0x65]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 26.94 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 @ 0x2e384d0]using SAR=32/27
[libx264 @ 0x2e384d0]using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
[libx264 @ 0x2e384d0]profile Baseline, level 3.0
[mpegts @ 0x33c4970]muxrate 1 bps, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'pipe:':
Metadata:
encoder : Lavf52.61.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, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.2 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x2e39390]warning: first frame is no keyframe
2326kB time=26.84 bitrate= 710.0kbits/s dup=6 drop=0
Alles anzeigen
[2010/04/19 03:35:58] Executing action [getRunningSessions]
[2010/04/19 03:35:58] Listing sessions
[2010/04/19 03:35:59] Executing action [getTvCat]
[2010/04/19 03:35:59] VDR: vdrgetcategories()
[2010/04/19 03:36:00] Executing action [getTvChan]
[2010/04/19 03:36:00] VDR: vdrgetchannels(category=Standard, now=1)
[2010/04/19 03:36:00] Sending SVDRP command: LSTE NOW
[2010/04/19 03:36:01] SVDRP command result received
[2010/04/19 03:36:02] Executing action [getChanInfo]
[2010/04/19 03:36:02] VDR: vdrgetchaninfo(channum=1)
[2010/04/19 03:36:02] VDR: vdrgetchanname(channum=1)
[2010/04/19 03:36:02] Sending SVDRP command: LSTC 1
[2010/04/19 03:36:02] SVDRP command result received
[2010/04/19 03:36:02] VDR: vdrgetepgat(channum=1, at=now)
[2010/04/19 03:36:02] Sending SVDRP command: LSTE 1 now
[2010/04/19 03:36:02] SVDRP command result received
[2010/04/19 03:36:02] VDR: vdrgetepgat(channum=1, at=next)
[2010/04/19 03:36:02] Sending SVDRP command: LSTE 1 next
[2010/04/19 03:36:03] SVDRP command result received
[2010/04/19 03:36:04] Executing action [startBroadcast]
[2010/04/19 03:36:04] Creating a new session for "http://127.0.0.1:3000/TS/1" (tv, wifi)
[2010/04/19 03:36:04] Creating new session dir ram/session0
[2010/04/19 03:36:04] VDR: vdrgetchanname(channum=1)
[2010/04/19 03:36:04] Sending SVDRP command: LSTC 1
[2010/04/19 03:36:05] SVDRP command result received
[2010/04/19 03:36:05] Generating stream logo for file Das Erste of type tv
[2010/04/19 03:36:05] Executing generation cmd: cp "../logos/nologoTV.png" ../ram/session0/thumb.png
[2010/04/19 03:36:05] Sending encoding command: ./istream.sh "http://127.0.0.1:3000/TS/1" 512k 128k 480x320 /istreamdev/ 2 /usr/bin/ffmpeg /var/www/istreamdev/segmenter/segmenter session0 "/tmp/istreamdev-ffmpeg.log" "" >/dev/null 2>&1 &
[2010/04/19 03:36:07] Writting stream info from session session0 (type=tv, mode=wifi, url=http://127.0.0.1:3000/TS/1, channame=Das Erste)
[2010/04/19 03:36:07] Executing action [getStreamInfo]
[2010/04/19 03:36:07] Getting info for session session0
[2010/04/19 03:36:07] VDR: vdrgetchannum(chan=Das Erste)
[2010/04/19 03:36:07] VDR: vdrgetepgat(channum=1, at=now)
[2010/04/19 03:36:07] Sending SVDRP command: LSTE 1 now
[2010/04/19 03:36:08] SVDRP command result received
[2010/04/19 03:36:08] VDR: vdrgetepgat(channum=1, at=next)
[2010/04/19 03:36:08] Sending SVDRP command: LSTE 1 next
[2010/04/19 03:36:08] SVDRP command result received
[2010/04/19 03:36:08] Executing action [getStreamStatus]
[2010/04/19 03:36:08] Returning status: <b>Error: streaming could not start correclty</b><br><br> * FFmpeg: <i>running</i><br> * Segmenter: <i>stopped</i>
Alles anzeigen
root 1922 1 0 Apr18 ? Ss 0:00 /usr/sbin/apache2 -k start
www-data 1977 1922 0 Apr18 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 1978 1922 0 Apr18 ? S 0:01 \_ /usr/sbin/apache2 -k start
www-data 1980 1922 0 Apr18 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 1981 1922 0 Apr18 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 4169 1922 0 03:31 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 4170 1922 0 03:31 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 4171 1922 0 03:31 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 4174 1922 0 03:31 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 4192 1922 0 03:31 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 10621 1922 0 03:36 ? S 0:00 \_ /usr/sbin/apache2 -k start
www-data 10584 1 0 03:36 ? S 0:00 /bin/bash ./istream.sh http://127.0.0.1:3000/TS/1 512k 128k 480x320 /istreamdev/ 2 /usr/bin/ffmpeg /var/www/istreamdev/segmenter/segmenter session0 /tmp/istreamdev-ffmpeg.log
www-data 10586 10584 33 03:36 ? Sl 0:51 \_ /usr/bin/ffmpeg -i http://127.0.0.1:3000/TS/1 -deinterlace -f mpegts -acodec libmp3lame -ab 128k -ac 2 -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 -
www-data 10595 1 0 03:36 ? S 0:00 /bin/bash ./istream.sh http://127.0.0.1:3000/TS/1 512k 128k 480x320 /istreamdev/ 2 /usr/bin/ffmpeg /var/www/istreamdev/segmenter/segmenter session0 /tmp/istreamdev-ffmpeg.log
www-data 10596 10595 0 03:36 ? S 0:00 \_ /var/www/istreamdev/segmenter/segmenter ./fifo 10 stream stream.m3u8 /istreamdev/ram/session0/ 2
Alles anzeigen
If I start segementer in this state manual it sometimes work, but segementer often dies and the iphone stream is pixelated:
/var/www/istreamdev/ram/session0# /var/www/istreamdev/segmenter/segmenter ./fifo 10 stream stream.m3u8 /istreamdev/ram/session0/ 2
[NULL @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[h264 @ 0x22fea00]non-existing PPS referenced
[h264 @ 0x22fea00]non-existing PPS 0 referenced
[h264 @ 0x22fea00]decode_slice_header error
[h264 @ 0x22fea00]no frame!
[mpegts @ 0x22c80b0]max_analyze_duration reached
[mpegts @ 0x22c80b0]Estimating duration from bitrate, this may be inaccurate
Output #0, mpegts, to 'stream':
Stream #0.0: Video: libx264, yuv420p, 480x320, q=2-31, 90k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, 128 kb/s
[mpegts @ 0x2315c50]muxrate 1 bps, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
[mpegts @ 0x2315c50]st:1 error, non monotone timestamps 46710720 >= 46710720
Warning: Could not write frame of stream
Alles anzeigen
and sometimes not:
/var/www/istreamdev/segmenter/segmenter ./fifo 10 stream stream.m3u8 /istreamdev/ram/session0/ 2
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 3 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 3 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 4 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 3 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 3 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 7 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 4 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 3 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp2 @ 0x172d570]codec type or id mismatches
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp1 @ 0x172d570]codec type or id mismatches
Last message repeated 1 times
[mp2 @ 0x172d570]codec type or id mismatches
Last message repeated 2 times
[mp3 @ 0x172d570]codec type or id mismatches
[mp2 @ 0x172d570]codec type or id mismatches
[mpegts @ 0x172a0b0]max_analyze_duration reached
[mpegts @ 0x172a0b0]Estimating duration from bitrate, this may be inaccurate
Output #0, mpegts, to 'stream':
Stream #0.0: Video: mp2, q=2-31, 90k tbn, 90k tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, 128 kb/s
[mp2 @ 0x1761810]codec type or id mismatches
Could not open video decoder, key frames will not be honored
[mpegts @ 0x17607d0]dimensions not set
Could not write mpegts header to first output file
Alles anzeigen
CPU is idling.....
Any ideas?
Thanks!
First of all : Thanks for this beautiful piece of Software!
Runs very smartly in conjunction with my iPod touch and Wi-Fi after upgrading my iPod to 3.1.3. BTW: Before, with 3.0.?, and jailbroken, I got only the audiopart (without video) from films (supposedly obsolete QuickTime?).
But unfortunately, there are obvious problems with uncommonly used characters in filenames - in this case: ' - maybe others, too.
Assumed the audiofilename is :
play-back is not possible. Instead I got an error message: "Filmwiedergabe fehlgeschlagen - Die Datei wurde nicht gefunden". which means: "playback not possible - file not found"
At the same time, apache2 logs :
[Mon Apr 19 13:49:11 2010] [error] [client 192.168.252.245] File does not exist: /srv/www/htdocs/istreamdev/playlist/01 Feathers-Oar-Blades (Taken From
Yes, truncated at '.
Hint: The temporary link for this file was correctly added in the right directory (/srv/www/htdocs/ipstreamdev/playlist) :
$ ls -1 /srv/www/htdocs/istreamdev/playlist
/srv/www/htdocs/istreamdev/playlist/01 Feathers-Oar-Blades (Taken From 'Lullabies', October 1982).mp3
...
...
Tao
I've corrected this. You can update from Git repo.
Thanks for your quick response, it works! ~ Tao
As your cpu seems to be slow, I think the problem come from here. The script timeout before the stream is ready.
Perhaps we should add more tempo for the timeout.
Hey alib,
I also think that it might be a timing problem. But: from selecting a channel for live view to starting the quicktime viewer takes significantly more time than selecting a recording. When I select a channel it takes 5 - 10 seconds (on the iphone) until the stream is ready for viewing. When I select a recording it's only about 1-2 seconds and the page tells me that the stream could not be created.
So it seems as if the stream creation for a recording is too fast... Mmmhhh??
No it's normal that recording encoding is faster than live video. For Live video, ffmpeg have to wait for each frame at 25fps. For recording it already has the whole video so it can encode to max speed. On my cpu it can encode to 100 fps.
So it's normal if your stream is ready faster for video and recordings.
I don't see where your problem come from here as there's nothing in your log that could help.
What kind of DVB stream you have ? DVB-c , t, s ?
DVB-T
Generally, many thanks for your patience alib, but I think, as it is working somehow, I won't think about it much longer. Perhaps it is a strange timing problem which has to do with my network setup.
Keep up the good work!
I've updated my Debian today, and it updated ffmpeg and libavcodec, etc.
Now I have the same problem as you.
The stream generated by the new ffmpeg is ok after some test.
The problem is on Segmenter side.
If i reinstall libavcodec/format/device to svn20100126 , and recompile segmenter it works ok. With svn20100411, segmenter stays without doing nothing, saying on the console:
[NULL @ 0x833dcb0]non-existing PPS referenced
[h264 @ 0x833dcb0]non-existing PPS 0 referenced
[h264 @ 0x833dcb0]decode_slice_header error
[h264 @ 0x833dcb0]no frame!
[h264 @ 0x833dcb0]non-existing PPS referenced
[h264 @ 0x833dcb0]non-existing PPS 0 referenced
[h264 @ 0x833dcb0]decode_slice_header error
[h264 @ 0x833dcb0]no frame!
[h264 @ 0x833dcb0]non-existing PPS referenced
[h264 @ 0x833dcb0]non-existing PPS 0 referenced
[h264 @ 0x833dcb0]decode_slice_header error
[h264 @ 0x833dcb0]no frame!
[mpegts @ 0x833a840]max_analyze_duration reached
Alles anzeigen
I can't track the problem in segmenter. I think it needs to be updated to new stuff in libavcodec/format, but i can't do this.
For the moment use older ffmpeg & libavcodec ...
Oha!
So perhaps, when I have time, I'll take a look at the versions of ffmpeg / libavcodec that I used. After installing yaVDR I tried iStreamdev with the default distro packages, but that didn't work (missing x264 support). I downloaded the sources for x264 and ffmpeg via svn/git and recompiled everything myself. I never used the stock Debian packages.
As I'm not able to fix this I'll wait and see...
Ok, now I recompiled everything from scratch, using the latest git and svn repos from ffmpeg, x264 and istreamdev. And now, recordings completely stopped working !!!
I upload both logfiles created by istreamdev. Perhaps someone finds the solution. For me it looks as if ffmpeg isn't finding the video when started from the istream.sh. When I start ffmpeg by hand it starts...
And there is a new problem, too. When I select the program guide, what's now, and select a specific entry from the list, the page turns, and the only thing I can see in the text field is the word 'null', and also the TV logo isn't there. And when I try to find something in a special channel for 'today' no search result returns.
But: If I enter the same channel via 'Watch TV' and select something, I get the specific EPG entry and can start watching successfully.
Can you check your rights ?
Perhaps www-data user don't have rights to read your vdr recordings ?
Because if it works when you try by hand with the same command, there's no reason it doesn't works. When you tryed by hand, were you logued as www-data user ?
I'll check that definitely. FYI, when I tried by hand, I wasn't logged in as www-data, but as my normal user.
What I don't understand is that it worked somehow until I updated everything. But also, maybe it has something to do with the fact that I first tried with an unmodified recording. In the meantime I used VDR to cut my films and so I only had processed films left yesterday.
Yes, I now, it took some time... the access rights are totally well.
I found the problem with viewing recordings. I modified session.php to see whats going on when it starts istream.sh (changed that >/dev/null to >/tmp/teststream.log behind the istream.sh start command). Then I tried to start a recording from a film directory named "%The_Sixth_Sense".
Now the ouput from teststream.log:
cat:/video.00/%%The_Sixth_Sense/2010-04-07-17.22.55.23-0.rec/0*: No such file or directory
Could not open input file, make sure it is an mpegts file: -1
Do you notice the two %%? The php script adds a second % to the directory name and then it surely cannot find the recording. Do you know why this line of code exists in session.php:
$cmd = str_replace('%', '%%', $cmd);
????
I made a simple symlink from "%The_Sixth_Sense" to "The_Sixth_Sense" and tried to start the film from that symlinked directory. Everything went perfectly well!
I think, if I comment out the line of code, everything will be fine...
Hi Pandel,
Will be corrected in next rls so.
Good news, update your ffmpeg to latest git and recompile segmenter after. It will solve the problem of streams not working on istreamdev.
Hi alib,
I know about the good news ;-)) I wrote a little script that downloads the newest git and recompiles everything from scratch, which I ran yesterday.
Nice to know that you fix the istreamdev issue in the next release!
Bye!
Gibts eignetlich schon irgndwie ne Anleitung wie man das Streaming auf dem ipad zum laufen bekommt ?
Hab zwar kein iPad und will auch keins, aber sollte das nicht auf die gleiche Weise laufen? Das müßte doch softwareseits auf dem iPad der gleiche Kram sein, wie auf dem iPhone, oder nicht?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!