NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
Windows FM Radio support in v5.

 
  • 0 Vote(s) - 0 Average
Windows FM Radio support in v5.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#51
2022-02-11, 01:57 AM
There is no point in trying anything without getting that ffplay line command line working. It sounds like the vlc line isn't tuning which can by tricky.

Did you take out -v panic and see any other errors

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#52
2022-02-11, 02:04 AM (This post was last modified: 2022-02-11, 02:06 AM by canadianeh.)
I'm not really seeing any other errors.

edit: after taking the screenshot and closing the window, I get these errors:

av_interleaved_write_frame(): Invalid argument8kbits/s speed= 1x
Error writing trailer of pipe:: Invalid argument
size= 196kB time=00:03:57.24 bitrate= 6.8kbits/s speed= 1x
video:0kB audio:66kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 196.988739%
[aac @ 01b24b80] Qavg: 65536.000
Conversion failed!


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#53
2022-02-11, 02:12 AM
If you aren't getting audio with the -v panic added using ffplay that means the tuning line with vlc isn't working. You will just have to play around with it you said you had it working. If you tune with WinTV you can probably comment out the first line of the batch file to confirm that audio is working.

I wish there was an easier way to tune, which is why I think that it is easier just to use internet radio.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#54
2022-02-11, 02:19 AM
Could you paste in the contents of your AnalogRadio.bat file. I just confirmed everything is working here with a Hauppauge tuner.

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#55
2022-02-11, 02:27 AM
(2022-02-11, 02:19 AM)mvallevand Wrote: Could you paste in the contents of your AnalogRadio.bat file.  I just confirmed everything is working here with a Hauppauge tuner.

Martin

Sure, no problem:

@echo off
"C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --stop-time 1 --no-audio --no-video --no-sout-video dshow://  :dshow-adev="AVerMedia USB Polaris Analog Capture"  :dshow-tuner-frequency=%1 :dshow-tuner-input=2 :dshow-amtuner-mode=2 vlc://quit
"C:\Program Files\NextPVR\Other\ffmpeg.exe" -v panic -f dshow -i audio="AVerMedia USB Polaris Analog Capture" -acodec aac -ab 198000 -f mpegts -

Can you explain what the two separate lines are supposed to do?  If I run just the ffmpeg line, it loads up and then shows trash on the screen, which I assume is the digitized audio feed.

I think I also have an old Happauge 955 in the basement somewhere.  I can give that a shot tomorrow, if you think it would be worth it?

Thank you for all of your help, by the way.  I appreciate it.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#56
2022-02-11, 02:37 AM
The first one tunes the second plays. The output from the batch file is audio streaming so don't run it as is that is why I test it via ffplay

You might need to manually tune in VLC to find out pin numbers, I don't think a Hauppauge tuner would be easier to figure out.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#57
2022-02-11, 06:39 PM (This post was last modified: 2022-02-11, 08:26 PM by mvallevand.)
Looking at your batch file you might want to try changing :dshow-adev="AVerMedia USB Polaris Analog Capture" to :dshow-vdev="AVerMedia USB Polaris Analog Capture" If you followed https://forums.nextpvr.com/showthread.ph...#pid539810 and you got the tuner I note that is the video device. Also maybe change :dshow-amtuner-mode=2 to 3

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#58
2022-02-12, 06:32 PM
So I gave up with the AVermedia Card, since it was behaving weirdly in VLC.  I switched to the Hauppauge Q955 another guy started to test with earlier in this thread, but there is no confirmation he ever got it working.

I can now get a white screen (video) and the proper audio inside of VLC.  In the advanced options, I can see the config working inside of VLC is the following:

:dshow-vdev=Hauppauge Cx23100 Video Capture :dshow-adev=Hauppauge Cx23100 Video Capture  :dshow-aspect-ratio=4\:3 :dshow-chroma= :dshow-fps=0 :no-dshow-config :dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=0 :dshow-tuner-country=0 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=2 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :live-caching=300

I still cannot for the life of me get ffmpeg to produce audio via the batch file.  

Any last thoughts before I bag this idea?  My updated file is this:

@echo off
"C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --stop-time 1 --no-audio --no-video --no-sout-video dshow://  :dshow-vdev="Hauppauge Cx23100 Video Capture" :dshow-adev="Hauppauge Cx23100 Video Capture" :dshow-tuner-frequency=%1 :dshow-tuner-input=0 :dshow-amtuner-mode=2 vlc://quit
"C:\Program Files\NextPVR\Other\ffmpeg.exe" -v panic -f dshow -i audio="Hauppauge Cx23100 Audio Capture" -acodec aac -ab 198000 -f mpegts -


For the ffmpeg line, I've tried both the Audio and Video value for the capture device.  I never get sound output with ffmpeg, regardless of what I try.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#59
2022-02-12, 06:43 PM (This post was last modified: 2022-02-12, 06:43 PM by mvallevand.)
You never will get sound with ffmpeg. If you tune with VLC and stop VLC what about

ffplay -f dshow -i audio="Hauppauge Cx23100 Audio Capture"

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#60
2022-02-12, 07:12 PM
(2022-02-12, 06:43 PM)mvallevand Wrote: You never will get sound with ffmpeg.  If you tune with VLC and stop VLC what about

ffplay -f dshow -i audio="Hauppauge Cx23100 Audio Capture"

Martin

Doing that launches a small black window, but still plays no sound.  I also tried the Video capture value - nada.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,319 2022-11-23, 01:22 PM
Last Post: mvallevand
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,314 2022-11-20, 04:28 PM
Last Post: mvallevand
  IPTV Pretuning and Internet Radio mvallevand 5 3,114 2019-02-04, 12:02 AM
Last Post: mvallevand
  Problems with Windows UWP App spitefulgod 4 3,766 2016-12-15, 08:35 PM
Last Post: spitefulgod
  Any ideas about programming for Windows Firewall? bgowland 4 5,560 2014-04-10, 09:05 AM
Last Post: bgowland
  Windows Shortcuts ACTCMS 4 2,683 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 3,336 2011-03-30, 03:29 AM
Last Post: mvallevand
  Which channel logo image formats does npvr support? bgowland 2 2,043 2011-03-06, 05:43 AM
Last Post: bgowland
  Webservice API to support Android App development Barsk 4 3,215 2010-10-19, 07:31 AM
Last Post: Barsk
  Using Windows file system shortcuts ACTCMS 0 1,778 2010-01-26, 11:45 PM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode