NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 4 5 6 7 8 … 47 Next »
Transcoding from Web Interface for live tv not working

 
  • 0 Vote(s) - 0 Average
Transcoding from Web Interface for live tv not working
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#1
2014-07-05, 12:58 AM (This post was last modified: 2014-07-05, 01:45 AM by madas.)
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2014-07-05, 02:58 PM
The steaming part for live tv from the guide is managed by a setup sub provides.... I just set it up that it can play through the VLC plugin.

Make sure you have the most recent VLC plugin installed....probably won't make a difference but it is a good practice. Smile

I don't use the transcode of live tv because it is just too buggy. I just stream at full rate and don't have a problem with ffmpeg when not transcoding.

NEWA does offer VLC based transcoding if you install VLC on the server and configure the settings in the config tab of NEWA (info on wiki). You can stream a current programme from within the guide by opening the programme and clicking on the stream now button (which only appears when you have VLC installed and configured).
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#3
2014-07-05, 05:13 PM (This post was last modified: 2014-07-05, 05:17 PM by madas.)
Ah - i never noticed that other stream button, i was always hitting the view live button. When I hit the stream i get

"*** Starting Stream and then will tranfer window to Streamer page ***" appear at the bottom of the window - but nothing else happens. I have the latest VLC and the latest VLC plug-in

I know it was the native streaming that was giving me the issue - thats why I posted in the main forum. Someone moved it into this sub-forum. Will sub see it in there?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#4
2014-07-05, 06:12 PM
madas Wrote:Ah - i never noticed that other stream button, i was always hitting the view live button. When I hit the stream i get

"*** Starting Stream and then will tranfer window to Streamer page ***" appear at the bottom of the window - but nothing else happens. I have the latest VLC and the latest VLC plug-in

I know it was the native streaming that was giving me the issue - thats why I posted in the main forum. Someone moved it into this sub-forum. Will sub see it in there?

Sub doesn't provide support in some the other forums as strongly as he does the main one, but in the the transcoding case he's been pretty clear in other posts http://forums.nextpvr.com/showthread.php...post447618 that changes aren't a priority. The problem with ffmpeg is changing things for you could break things for other.

The version of ffmpet that sub distributes is very old so it doesn't surprise me that some users have problems. I suggest seeing if you get ffmpeg transcoding with a newer version and an updated command line.

Martin
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#5
2014-07-05, 06:19 PM
I tried a few others versions briefly - there are so many options - I wonder if anyone else has already found any settings that work (and a binary that works well)
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#6
2014-07-07, 03:43 PM
madas Wrote:Ah - i never noticed that other stream button, i was always hitting the view live button. When I hit the stream i get

"*** Starting Stream and then will tranfer window to Streamer page ***" appear at the bottom of the window - but nothing else happens. I have the latest VLC and the latest VLC plug-in

I know it was the native streaming that was giving me the issue - thats why I posted in the main forum. Someone moved it into this sub-forum. Will sub see it in there?

Can you post you web.log file following this behavior.... I can see if I see anything in there.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#7
2014-07-07, 06:49 PM
Web logs attached.

There are some file not found messages

VLC location appears to be fine

"C:\Program Files (x86)\VideoLAN\VLC\"

and this is where vlc.exe is.

Thanks

M
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recorded/live tv stops randomly spudjg1 5 3,946 2019-08-14, 08:39 PM
Last Post: spudjg1
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,531 2018-05-09, 12:50 AM
Last Post: jksmurf
  Classic web interface issues turndave 3 3,474 2017-12-18, 04:07 AM
Last Post: turndave
  NEWA Web Admin working OK, but have question about modern GUI playback controls tinstaafl 0 2,292 2017-03-19, 10:11 PM
Last Post: tinstaafl
  "Resume" not working lost@c 29 11,586 2017-03-07, 06:15 PM
Last Post: lost@c
  SSL (HTTPS) Access to Web Interface arrmo 21 10,108 2017-02-18, 01:49 PM
Last Post: arrmo
  Can't stream recordings to desktop browser but Live TV works. Bobins 8 4,452 2016-12-15, 07:40 PM
Last Post: Bobins
  NEWA Modern Interface Home Screen Doesn't Display Available Disk Space on First Load BrettB 1 2,193 2016-11-20, 05:03 PM
Last Post: mvallevand
  "Push" to New Interface arrmo 2 2,519 2016-11-20, 04:22 PM
Last Post: arrmo
  Windows Gadget no longer working Bobins 1 2,188 2016-09-28, 02:38 AM
Last Post: UncleJohnsBand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode