NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 136 137 138 139 140 433 Next »
Transcoding LiveTV

Transcoding LiveTV
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#51
2015-09-01, 02:37 AM
FYI, changed the default recording directory, and it works now! That's not so easy unfortunately, would be nice to have the string quoted on the command line. One other interesting tidbit, I tried just removing the space in the name (Recorded TV -> RecordedTV), but N-PVR seems to put the space back in when I select the folder. Not sure why.

Thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#52
2015-09-01, 03:21 AM
If you remind me tomorrow, I'll give you a patch that handles the spaces.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#53
2015-09-01, 03:25 AM
Will do - thanks so much!
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#54
2015-09-02, 02:35 AM
Just a gentle reminder ... Wink. Thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#55
2015-09-02, 03:16 AM
Try this one.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#56
2015-09-02, 11:30 PM
Works great - thanks!!!
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#57
2015-09-23, 02:15 AM
Sorry to drag up an old thread, but it's related I think.

I got this working great, had it streaming for over an hour on the cell phone tonight! I see Sub said there's 2 files, one in the live TV buffer and one in the recording directory were ffmpeg transcodes the file. I'm getting both files and it's streaming great but I'm getting orphaned files in both the recording directory and the live TV buffer directory. There was 1 left in the buffer directory and 6-7 in ther recorded_TV directory. Is there something I'm missing? I'm using the transcode string madas posted in post #42 and here's the entries from the config.xml that I think are pertinent:

--------------------------------
<RecordingDirectory>D:\recorded_TV\</RecordingDirectory>

<RecordingDirectoryTranslation>D:\buffer\</RecordingDirectoryTranslation>
<LiveTVBufferDirectory>D:\buffer\</LiveTVBufferDirectory>

<AllowRemoteAPI>true</AllowRemoteAPI>
<AllowRemoteTranscode>true</AllowRemoteTranscode>
<AllowRemoteStreaming>true</AllowRemoteStreaming>
<TranscodeExe>.\other\ffmpeg-20150921\bin\ffmpeg.exe</TranscodeExe>
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec ac3 -ab 96k -ar 44100 -ac 2 -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -maxrate [BITRATE] -flags +loop -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -bufsize 96K -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgs>
--------------------------------------

Attached is the log. The latest stream starts at 2015-09-22 18:49:28.405 [DEBUG][21] StartStream(7421:ESPN-HD)

Also, I'm using the latest build of ffmpeg (20150921) and the latest version of Npvr downloaded today. I'm surmising the patch up stream is already included in the latest version???

On another note - I'm trying to stream to a android phone over 3g/4g so a smaller file size is a consideration. I was able to stream tonight with

http://serverip:8866/transcode?channel=1...itrate=900

but I got quite a few hiccups which I'm sure is due to the connection speed on the phone. Does anyone have a better <TranscodeArgs> or ideas to cut down on the data stream size? I'm not ffmpeg fluent... it might as well be Mandarin Chinese Smile
[ATTACH=CONFIG]40911[/ATTACH]
Thanks

Snag
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#58
2015-09-23, 12:04 PM (This post was last modified: 2015-09-23, 01:12 PM by madas.)
Hi Snag,

Did you try just reducing the resolution and bitrate to a lower number?

probably I would start by just reducing the bitrate to like 500 or 600. Do this in the URL that you use to start the session.

M
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#59
2015-09-24, 01:59 AM
I think my main problem is the marginal data stream on the cell phone with 3g. Changing the resolution to 480X320 got me to the point the stream would play reasonably well with a decent picture but with a few freezes here and there. At 720X406 it wouldn't hardly play, mostly frozen. I've tried changing the bitrate but 900 seems to be the only rate that actually plays. When I change to 500, 450, 400 etc the stream never starts. VLC tries, the cone keeps spinning, but never actually displays a picture or sound. I'm thinking the audio is stereo, maybe doping it to mono might help out reducing the data stream? It's a cell phone, mono audio would be fine if I can figure out how to make ffmpeg output mono audio. I think its the -ar 44100 but I can't seem to find the correct settings for mono. I've played around a bi trying different values but it doesn't seem to help any.

Any ideas?
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#60
2015-09-24, 05:50 PM
add -report to the command line and try it again with a lower bit rate. Then you can look for the ffmpeg***.log file and see why it doesn't like it.

For the audio (-ar) you can try reducing to around 11025. I believe this is analog telephone quality
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 4 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Black screen on LiveTV Lambrozo 10 2,945 2019-05-11, 06:48 PM
Last Post: Lambrozo
  Emby LiveTV NPVR Plugin Loading Issue rene.teniere 1 1,111 2019-01-26, 07:07 PM
Last Post: mvallevand
  Recording without transcoding javidial 9 2,414 2018-12-01, 12:59 AM
Last Post: javidial
  Recording Failure - HDHR Transcoding craigrs84 6 2,263 2018-10-15, 02:23 AM
Last Post: pkscout
  LiveTV playback all broken up after win 1803 update jordy1955 13 4,733 2018-05-15, 11:14 PM
Last Post: gEd
  blank screen on liveTv kevincz 14 3,904 2018-03-03, 01:43 AM
Last Post: sub
  NextPVR crashes after clicking on "liveTV kevincz 9 2,428 2018-02-16, 06:56 PM
Last Post: mvallevand
  HDHomerun Extend Transcoding Not Working satcoms 12 4,857 2017-12-09, 04:16 PM
Last Post: sub
  Questions about transcoding from IPTV sources JP23 32 10,758 2017-10-31, 09:33 AM
Last Post: pme
  4.04 crashes when starting to LiveTV on 11.1 eastavin 0 844 2017-07-24, 12:06 PM
Last Post: eastavin

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

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

Linear Mode
Threaded Mode