webmaster at berean-biblechurch.org
2020-May-14 02:42 UTC
[Icecast] can't stream Opus in CAF format
Using FFmpeg, I can stream to a file on disk okay: c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek High Definition Audio)" -c:a libopus -ac 1 -b:a 32000 live.caf But, if I add Icey metadata, FFmpeg throws errors: c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek High Definition Audio)" -c:a libopus -ac 1 -b:a 32000^ -ice_name "live broadcast" -ice_description "desc"^ -ice_genre "genre" -ice_url "https://stream.example.org/live.caf" -user_agent "agent" -content_type "audio/x-caf"^ icecast://source:hackme at localhost:8000/live.caf [caf @ 00000204b419ac80] Muxing variable packet size not supported on non seekable output Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input Error initializing output stream 0:0 -- Any idea why the destination of Icecast makes a difference? Is there something I can adjust in Icecast to make it work? Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200513/412b072c/attachment.html>
Hi, the CAF format is not stremable due to the way the format works. On 14 May 2020, at 4:42, webmaster at berean-biblechurch.org wrote:> Using FFmpeg, I can stream to a file on disk okay: > c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek > High Definition Audio)" -c:a libopus -ac 1 -b:a 32000 live.caf > > But, if I add Icey metadata, FFmpeg throws errors: > c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek > High Definition Audio)" -c:a libopus -ac 1 -b:a 32000^ > -ice_name "live broadcast" -ice_description "desc"^ > -ice_genre "genre" -ice_url "https://stream.example.org/live.caf" > -user_agent "agent" -content_type "audio/x-caf"^ > icecast://source:hackme at localhost:8000/live.caf > [caf @ 00000204b419ac80] Muxing variable packet size not supported on > non seekable output > Could not write header for output file #0 (incorrect codec parameters > ?): Invalid data found when processing input > Error initializing output stream 0:0 -- > > Any idea why the destination of Icecast makes a difference? Is there > something I can adjust in Icecast to make it work? > > Justin_______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
webmaster at berean-biblechurch.org
2020-May-16 01:23 UTC
[Icecast] can't stream Opus in CAF format
Thank you. On 2020-05-14 01:06, Marvin Scholz wrote:> Hi, > > the CAF format is not stremable due to the way the format works. > > On 14 May 2020, at 4:42, webmaster at berean-biblechurch.org wrote: > >> Using FFmpeg, I can stream to a file on disk okay: >> c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek >> High Definition Audio)" -c:a libopus -ac 1 -b:a 32000 live.caf >> >> But, if I add Icey metadata, FFmpeg throws errors: >> c:\apps\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Line In (Realtek >> High Definition Audio)" -c:a libopus -ac 1 -b:a 32000^ >> -ice_name "live broadcast" -ice_description "desc"^ >> -ice_genre "genre" -ice_url "https://stream.example.org/live.caf" >> -user_agent "agent" -content_type "audio/x-caf"^ >> icecast://source:hackme at localhost:8000/live.caf >> [caf @ 00000204b419ac80] Muxing variable packet size not supported on >> non seekable output >> Could not write header for output file #0 (incorrect codec parameters >> ?): Invalid data found when processing input >> Error initializing output stream 0:0 -- >> >> Any idea why the destination of Icecast makes a difference? Is there >> something I can adjust in Icecast to make it work? >> >> Justin_______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast