[FFmpeg-user] Can ffmpeg feed shoutcast?
En Figureo Canal
figureo56.com at gmail.com
Sun Nov 22 17:37:33 CET 2015
On Sun, Nov 22, 2015 at 12:18 PM, Simon Thelen <ffmpeg-user at c-14.de> wrote:
> On 15-11-22 at 12:07, En Figureo Canal wrote:
> > I've already tried that and it doesn't work. I get "End of File"
> Have you tried setting -legacy_icecast?
>
> Also, please don't top-post on this mailing list.
>
> --
> Simon Thelen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
Sorry.
I've tried another command:
ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti"
-vn
-acodec libmp3lame -ab 128k -legacy_icecast 1 -content_type audio/mpeg
-ice_name
"DemoStream" -f mp3 icecast://user:pass@ip:8082/2
And starts doing something but it just dies. Remember I'm trying to send
the feed to SHOUTCAST.
Thanks.
>ffmpeg -version
ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avis
ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable
-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--en
able-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-lib
ilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable
-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enab
le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enabl
e-libtwolame --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc -
-enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--enabl
e-decklink --enable-zlib
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 46.100 / 56. 46.100
libavformat 56. 40.100 / 56. 40.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 19.100 / 5. 19.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
>SET
PATH=F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ffmpeg-20150702-git
-03b2b40-win32-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (
x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\S
ystem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files
(x86)\
QuickTime\QTSystem\;C:\Program Files (x86)\Brackets\command
>ECHO.
>ECHO For help run: ffmpeg -h
For help run: ffmpeg -h
>ECHO For formats run: ffmpeg -formats | more
For formats run: ffmpeg -formats | more
>ECHO For codecs run: ffmpeg -codecs | more
For codecs run: ffmpeg -codecs | more
>ECHO.
>ECHO Current directory is now:
"F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-sta
tic\ffmpeg-20150702-git-03b2b40-win32-static\bin"
Current directory is now:
"F:\ffmpeg\ffmpeg-20150702-git-03b2b40-win32-static\ff
mpeg-20150702-git-03b2b40-win32-static\bin"
>ffmpeg -rtbufsize 500M -f dshow -i audio="recorder (Realtek High Definiti"
-vn
-acodec libmp3lame -ab 128k -legacy_icecast 1 -content_type audio/mpeg
-ice_name
"DemoStream" -f mp3 icecast://user:pass@ip:8082/2
ffmpeg version N-73361-g03b2b40 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--ena
ble-decklink --enable-zlib
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 46.100 / 56. 46.100
libavformat 56. 40.100 / 56. 40.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 19.100 / 5. 19.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=recorder (Realtek High Definiti':
Duration: N/A, start: 104958.814000, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Output #0, mp3, to 'icecast://user:pass@ip:8082/2':
Metadata:
TSSE : Lavf56.40.100
Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 128 kb/s
Metadata:
encoder : Lavc56.46.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
av_interleaved_write_frame(): Unknown error
size= 7kB time=00:00:00.41 bitrate= 136.5kbits/s
video:0kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB
muxing ove
rhead: 0.633357%
Conversion failed!
>CMD /F:ON /Q /K
>
More information about the ffmpeg-user
mailing list