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) nDroid v
« Previous 1 2 3 4 5 6 7 Next »
No audio when transcoding HD channels

 
  • 0 Vote(s) - 0 Average
No audio when transcoding HD channels
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#11
2013-04-04, 12:04 AM
gEd Wrote:Does not te fact that NEWA streams the HD channel fine suggest that the parameters being passed to it from ndroid are not right?
The only parameters nDroid passes to the npvr web server are X & Y resolution (pixels) and bitrate (KB/s).

The presets available from the nDroid transcode option are (obviously) low, medium and high res each with 2 bitrates. Admittedly I did get the actual values from a wikipedia article but I picked them based on true 16:9 aspect ratio and the fact they're standard formats for various systems.

WHen you say NEWA streams the channel fine - what transcode settings are you using with NEWA?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,899
Threads: 955
Joined: May 2006
#12
2013-04-04, 12:22 AM
NEWA doesn't use ffmpeg, it uses vlc so it is not a good comparison. sub's ffmpeg is old that the command line has changed quite a bit. A quick looks shows one major change libfaac was removed years ago, because of GPL concerns.

Martin
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#13
2013-04-04, 02:24 PM
Does anything else within npvr use ffmpeg and the transcode settings?
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#14
2013-04-04, 03:06 PM
At a slight tangent ... the only decoder that I can persuade to play audio for UK HD channels is LAV. ffdshow doesn't work for me. It may be that ffmpeg can't handle HE-AAC audio (or it may need an up to date version or some specific parameters).
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#15
2013-04-04, 05:58 PM
ok, so Martin was right about libaac not working so I replaced it with ac3 codec (libmp3lame also works).

Also, afetr a silly amount of trial and error, I found that -cmp +chroma is not compatible with latest version of ffmpeg so I removed it.
Also.... I set maxrate to be the same as bitrate as I think it is supposed to be if you are aiming for CBR.

Seems to play HD content ok at Medium 800K setting on my Nexus 4 on my home wifi (N). The higher rates stutter. May experiment more but tbh, I don't actually play tv on my phone anyway...

<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -loglevel debug -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>
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#16
2013-04-04, 08:23 PM
Thanks for the update - hopefully it will be useful for others in the future.
gEd Wrote:Seems to play HD content ok at Medium 800K setting on my Nexus 4 on my home wifi (N). The higher rates stutter. May experiment more but tbh, I don't actually play tv on my phone anyway...
Ultimately, streaming any media (live or recorded) will come down to network capabaility, device spec, media player app capabilities etc etc. As with npvr itself, there are a number of variables and getting the right combination might take time.

I also don't play live tv on either my phone or tablet other than for testing purposes and without an HD source I couldn't even test for that. Thanks for taking the time to work through it.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ability to play channels with no EPG grimfandango 1 4,516 2014-06-07, 12:47 AM
Last Post: bgowland
  Transcoding Live TV to Android t^2 21 10,325 2013-12-31, 07:33 PM
Last Post: bgowland
  ffmpeg transcoding only utilizing 50% CPU. poor_red_neck 2 3,952 2013-12-31, 07:30 PM
Last Post: bgowland
  transcoding level set by network? fuzzweed 1 1,964 2013-12-06, 10:05 PM
Last Post: bgowland
  nDroid: I need testers with lots of channels bgowland 2 2,186 2013-02-06, 12:25 AM
Last Post: bgowland
  Transcoding - dont get it Elmo Putney 3 2,239 2013-02-02, 04:48 PM
Last Post: bgowland
  1.8.5 and false Transcoding setting odin 6 3,284 2013-01-26, 04:23 PM
Last Post: bgowland
  Not getting any guide data and missing channels Zogg 10 4,983 2012-09-04, 08:47 PM
Last Post: Zogg
  Feature request: Left & right swipe to move between channels. gEd 3 2,520 2012-05-10, 07:16 PM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode