Hi all,
Having trouble with transcoding livetv. The following link works fine (good.zip) - this has no transcoding
http://serverip:8866/streamer/vlc/stream...?channel=8
This does not (bad.zip) - this uses transcoding
http://serverip:8866/streamer/vlc/stream...trate=900k
ffmpeg seems to start for a few seconds then stop.
I went into the log and tried running the ffmpeg command manually and got this
--------------------------------------------------------
C:\>"C:\Program Files (x86)\NPVR\other\ffmpeg.exe" -y -v 0 -i http://127.0.0.1:
866/live?channel=8 -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s 320x240
-vcodec libx264 -b 256k -flags +loop -cmp +chroma -refs 1 -coder 0 -me_range 16
-keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize
6k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30
aspect 320:240 -g 30 -async 2 D:\Media\NPVR\live-tWTNH-DT-5012-1.ts
FFmpeg version SVN-r18639, Copyright © 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-postproc --enable-gpl --enable
libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libx264 --enable-libxvid --disable-ffserver --enabl
-avisynth --enable-pthreads
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 21 2009 13:44:38, gcc: 4.2.4 (TDM-1 for MinGW)
Seems stream 0 codec frame rate differs from container frame rate: 119.88 (1200
0/1001) -> 59.92 (45000/751)
Input #0, mpegts, from 'http://127.0.0.1:8866/live?channel=8':
Duration: N/A, start: 2679.469878, bitrate: 14162 kb/s
Program 3
Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
13650 kb/s, 59.92 tbr, 90k tbn, 119.88 tbc
Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.0, s16, 384 kb/s
Stream #0.2[0x35](spa): Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s
[libx264 @ 0x38c1bf0]using SAR=1/1
[libx264 @ 0x38c1bf0]using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisal
gn LZCNT
[libx264 @ 0x38c1bf0]max bitrate less than average bitrate, ignored.
[libx264 @ 0x38c1bf0]profile Baseline, level 3.0
Output #0, mpegts, to 'D:\Media\NPVR\live-tWTNH-DT-5012-1.ts':
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=10-51, 2
6 kb/s, 90k tbn, 59.92 tbc
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[ac3 @ 0x2c0e600]frame sync error
Error while decoding stream #0.1
--------------------------------------------------------
however it does keep running (but i see no data)
any idea?
Setup is the latest npvr 3.2.9 with a HDHR Dual and a HDHR Prime
I found a lot of threads on here related to ffmpeg but they all appeared to be pretty old. Does someone have a new version with options that works?
Thanks
M
Having trouble with transcoding livetv. The following link works fine (good.zip) - this has no transcoding
http://serverip:8866/streamer/vlc/stream...?channel=8
This does not (bad.zip) - this uses transcoding
http://serverip:8866/streamer/vlc/stream...trate=900k
ffmpeg seems to start for a few seconds then stop.
I went into the log and tried running the ffmpeg command manually and got this
--------------------------------------------------------
C:\>"C:\Program Files (x86)\NPVR\other\ffmpeg.exe" -y -v 0 -i http://127.0.0.1:
866/live?channel=8 -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s 320x240
-vcodec libx264 -b 256k -flags +loop -cmp +chroma -refs 1 -coder 0 -me_range 16
-keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize
6k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30
aspect 320:240 -g 30 -async 2 D:\Media\NPVR\live-tWTNH-DT-5012-1.ts
FFmpeg version SVN-r18639, Copyright © 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-postproc --enable-gpl --enable
libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libx264 --enable-libxvid --disable-ffserver --enabl
-avisynth --enable-pthreads
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 21 2009 13:44:38, gcc: 4.2.4 (TDM-1 for MinGW)
Seems stream 0 codec frame rate differs from container frame rate: 119.88 (1200
0/1001) -> 59.92 (45000/751)
Input #0, mpegts, from 'http://127.0.0.1:8866/live?channel=8':
Duration: N/A, start: 2679.469878, bitrate: 14162 kb/s
Program 3
Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
13650 kb/s, 59.92 tbr, 90k tbn, 119.88 tbc
Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.0, s16, 384 kb/s
Stream #0.2[0x35](spa): Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s
[libx264 @ 0x38c1bf0]using SAR=1/1
[libx264 @ 0x38c1bf0]using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisal
gn LZCNT
[libx264 @ 0x38c1bf0]max bitrate less than average bitrate, ignored.
[libx264 @ 0x38c1bf0]profile Baseline, level 3.0
Output #0, mpegts, to 'D:\Media\NPVR\live-tWTNH-DT-5012-1.ts':
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=10-51, 2
6 kb/s, 90k tbn, 59.92 tbc
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[ac3 @ 0x2c0e600]frame sync error
Error while decoding stream #0.1
--------------------------------------------------------
however it does keep running (but i see no data)
any idea?
Setup is the latest npvr 3.2.9 with a HDHR Dual and a HDHR Prime
I found a lot of threads on here related to ffmpeg but they all appeared to be pretty old. Does someone have a new version with options that works?
Thanks
M