Re: [FFmpeg-devel] [WIP] [PATCH v5 0/1] add Software Defined Radio support

2023-06-27 Thread Michael Niedermayer
On Tue, Jun 27, 2023 at 02:16:50PM +1000, Peter Ross wrote:
> On Tue, Jun 27, 2023 at 01:53:01AM +0200, Michael Niedermayer wrote:
> > Changes since v4:
> > * vissualization shows modulation and frequency
> > * limit station search to AM shortwave and FM broadcast band
> > * enable FM Probing with some minor adjustments, it seems good enough
> > * FM Mono demodulation
> 
> fantastic work!
> 
> is the fm demodulator supposed to work automagically?
> i don't seem to discover anything with this command:
> 
> ffplay -sdr_freq 105.5M -station_freq 107.5M -f sdr foo

I used this:
./ffplay -sdr_freq 89M -f sdr abc  -video_size 1600x600
(that was with a rtlsdr blog v3)
should be all automatic except right and left arrow keys to switch stations
but iam sure there are bugs

This also needs these patches that are unchanged from my previous submission:
commit feecac41f63a951b151c95a476d9c3ae17af6f48
Author: Michael Niedermayer 
Date:   Fri Jun 16 19:22:49 2023 +0200

avcodec: Rename ff_kbd_window_init() as it will be needed from outside 
libavcodec

commit 9780472946a34bb67eeb4c5aa8acc627e9e6bf68
Author: Michael Niedermayer 
Date:   Wed Jun 14 17:22:55 2023 +0200

avcodec/kbdwin: Support arbitrary sized windows

Signed-off-by: Michael Niedermayer 

commit fa7d5f46f6b7cdafef0dc2d57bb8480ae67778be
Author: Michael Niedermayer 
Date:   Mon Jun 5 15:56:58 2023 +0200

avcodec/pcm: allow Changing parameters

SDR needs this for switching between mono and stereo stations

Signed-off-by: Michael Niedermayer 

commit 2ec856e06b3fda5aff6005439415e5ad0d691f66
Author: Michael Niedermayer 
Date:   Tue May 30 02:59:11 2023 +0200

avutil/tx_template: extend to 2M

Signed-off-by: Michael Niedermayer 


thx

[...]


-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-devel] [WIP] [PATCH v5 0/1] add Software Defined Radio support

2023-06-26 Thread Peter Ross
On Tue, Jun 27, 2023 at 01:53:01AM +0200, Michael Niedermayer wrote:
> Changes since v4:
> * vissualization shows modulation and frequency
> * limit station search to AM shortwave and FM broadcast band
> * enable FM Probing with some minor adjustments, it seems good enough
> * FM Mono demodulation

fantastic work!

is the fm demodulator supposed to work automagically?
i don't seem to discover anything with this command:

ffplay -sdr_freq 105.5M -station_freq 107.5M -f sdr foo

also tried fiddling with -rtlsdr_fixes

whereas i do get signal with:

rtl_fm -f 107.5M -M wbfm

> * some seeking fixes 
> 
> Known issues:
> * wraparound with seeking is not behaving ideal
> * not all options are documented
> * no fate test

testing this patch against master i bump into the problem of 
avpriv_kbd_window_init being undefined.
also if i naively replace it with ff_kbd_window_init, observe FF_KBD_WINDOW_MAX 
assert in kbd_window_init.

cheers,

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-devel] [WIP] [PATCH v5 0/1] add Software Defined Radio support

2023-06-26 Thread Michael Niedermayer
Changes since v4:
* vissualization shows modulation and frequency
* limit station search to AM shortwave and FM broadcast band
* enable FM Probing with some minor adjustments, it seems good enough
* FM Mono demodulation
* some seeking fixes 

Known issues:
* wraparound with seeking is not behaving ideal
* not all options are documented
* no fate test



___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".