Hi, and thanx for reply. 2016-10-06 11:06 GMT+03:00 Carl Eugen Hoyos <[email protected]>:
> 2016-10-06 9:37 GMT+02:00 Roman <[email protected]>: > > > Here are some logs: > > Command line and complete, uncut console output missing. > Sorry. I've attached them. -- Best regards, Roman.
ffmpeg started on 2016-10-06 at 14:26:09 Report written to "/home/radio/2016-10-06-14-26-09-mp3.log" Command line: /home/radio/ffmpeg/latest/ffmpeg -f s16le -ar 48000 -ac 2 -timeout 3000000 -i http://StreamHOST:5000 -b:a 192k -compression_level 0 -ac 2 -ar 44100 -af "volume=3dB" -f mp3 -ice_name HitFM -ice_public 0 icecast://source:secret-password@localhost:80/HitFM_192 -b:a 96k -compression_level 0 -ac 2 -ar 44100 -af "volume=3dB" -f mp3 -ice_name HitFM -ice_public 0 icecast://source:secret-password@localhost:80/HitFM_96 -b:a 320k -compression_level 0 -ac 2 -ar 44100 -af "volume=3dB" -f mp3 -ice_name HitFM -ice_public 0 icecast://source:secret-password@localhost:80/HitFM_320 ffmpeg version 2.6.3- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-16) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9 libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Splitting the commandline. Reading option '-f' ... matched as option 'f' (force format) with argument 's16le'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-timeout' ... matched as AVOption 'timeout' with argument '3000000'. Reading option '-i' ... matched as input file with argument 'http://StreamHOST:5000'. Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '192k'. Reading option '-compression_level' ... matched as AVOption 'compression_level' with argument '0'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'volume=3dB'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'. Reading option '-ice_name' ... matched as AVOption 'ice_name' with argument 'HitFM'. Reading option '-ice_public' ... matched as AVOption 'ice_public' with argument '0'. Reading option 'icecast://source:secret-password@localhost:80/HitFM_192' ... matched as output file. Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '96k'. Reading option '-compression_level' ... matched as AVOption 'compression_level' with argument '0'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'volume=3dB'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'. Reading option '-ice_name' ... matched as AVOption 'ice_name' with argument 'HitFM'. Reading option '-ice_public' ... matched as AVOption 'ice_public' with argument '0'. Reading option 'icecast://source:secret-password@localhost:80/HitFM_96' ... matched as output file. Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '320k'. Reading option '-compression_level' ... matched as AVOption 'compression_level' with argument '0'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'volume=3dB'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'. Reading option '-ice_name' ... matched as AVOption 'ice_name' with argument 'HitFM'. Reading option '-ice_public' ... matched as AVOption 'ice_public' with argument '0'. Reading option 'icecast://source:secret-password@localhost:80/HitFM_320' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file http://StreamHOST:5000. Applying option f (force format) with argument s16le. Applying option ar (set audio sampling rate (in Hz)) with argument 48000. Applying option ac (set number of audio channels) with argument 2. Successfully parsed a group of options. Opening an input file: http://StreamHOST:5000. [http @ 0x4003e80] request: GET / HTTP/1.1 User-Agent: Lavf/56.25.101 Accept: */* Range: bytes=0- Connection: close Host: StreamHOST:5000 Icy-MetaData: 1 [http @ 0x4003e80] header='ICY 200 OK' [http @ 0x4003e80] http_code=200 [http @ 0x4003e80] header='Content-Type:audio/raw' [http @ 0x4003e80] header='Server:DEVAStreamServer 1.4' [http @ 0x4003e80] header='icy-pub:1' [http @ 0x4003e80] header='icy-br:1536' [http @ 0x4003e80] header='icy-name:DB9000-TX-HitFM' [http @ 0x4003e80] header='icy-metaint:32768' [http @ 0x4003e80] header='Cache-Control:no-cache' [http @ 0x4003e80] header='' [s16le @ 0x4003880] Before avformat_find_stream_info() pos: 0 bytes read:1400 seeks:0 [s16le @ 0x4003880] All info found [s16le @ 0x4003880] After avformat_find_stream_info() pos: 204800 bytes read:204800 seeks:0 frames:50 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, s16le, from 'http://StreamHOST:5000': Metadata: icy-pub : 1 icy-br : 1536 icy-name : DB9000-TX-HitFM Duration: N/A, bitrate: 1536 kb/s Stream #0:0, 50, 1/48000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Successfully opened the file. Parsing a group of options: output file icecast://source:secret-password@localhost:80/HitFM_192. Applying option b:a (video bitrate (please use -b:v)) with argument 192k. Applying option ac (set number of audio channels) with argument 2. Applying option ar (set audio sampling rate (in Hz)) with argument 44100. Applying option af (set audio filters) with argument volume=3dB. Applying option f (force format) with argument mp3. Successfully parsed a group of options. Opening an output file: icecast://source:secret-password@localhost:80/HitFM_192. [http @ 0x40486c0] request: PUT /HitFM_192 HTTP/1.1 User-Agent: Lavf/56.25.101 Accept: */* Expect: 100-continue Connection: close Host: localhost:80 Content-Type: audio/mpeg Icy-MetaData: 1 Ice-Name: HitFM Ice-Public: 0 Authorization: Basic c291cmNlOm9oUG9obGljaDk= [http @ 0x40486c0] header='HTTP/1.1 100 Continue' [http @ 0x40486c0] http_code=100 [http @ 0x40486c0] header='' Successfully opened the file. Parsing a group of options: output file icecast://source:secret-password@localhost:80/HitFM_96. Applying option b:a (video bitrate (please use -b:v)) with argument 96k. Applying option ac (set number of audio channels) with argument 2. Applying option ar (set audio sampling rate (in Hz)) with argument 44100. Applying option af (set audio filters) with argument volume=3dB. Applying option f (force format) with argument mp3. Successfully parsed a group of options. Opening an output file: icecast://source:secret-password@localhost:80/HitFM_96. [http @ 0x4055da0] request: PUT /HitFM_96 HTTP/1.1 User-Agent: Lavf/56.25.101 Accept: */* Expect: 100-continue Connection: close Host: localhost:80 Content-Type: audio/mpeg Icy-MetaData: 1 Ice-Name: HitFM Ice-Public: 0 Authorization: Basic c291cmNlOnRoZWlmNUhhaFQ= [http @ 0x4055da0] header='HTTP/1.1 100 Continue' [http @ 0x4055da0] http_code=100 [http @ 0x4055da0] header='' Successfully opened the file. Parsing a group of options: output file icecast://source:secret-password@localhost:80/HitFM_320. Applying option b:a (video bitrate (please use -b:v)) with argument 320k. Applying option ac (set number of audio channels) with argument 2. Applying option ar (set audio sampling rate (in Hz)) with argument 44100. Applying option af (set audio filters) with argument volume=3dB. Applying option f (force format) with argument mp3. Successfully parsed a group of options. Opening an output file: icecast://source:secret-password@localhost:80/HitFM_320. [http @ 0x4062200] request: PUT /HitFM_320 HTTP/1.1 User-Agent: Lavf/56.25.101 Accept: */* Expect: 100-continue Connection: close Host: localhost:80 Content-Type: audio/mpeg Icy-MetaData: 1 Ice-Name: HitFM Ice-Public: 0 Authorization: Basic c291cmNlOnRoZWlmNUhhaFQ= [http @ 0x4062200] header='HTTP/1.1 100 Continue' [http @ 0x4062200] http_code=100 [http @ 0x4062200] header='' Successfully opened the file. detected 2 logical cores [Parsed_volume_0 @ 0x3fdb420] Setting 'volume' to value '3dB' [graph 0 input from stream 0:0 @ 0x3fef920] Setting 'time_base' to value '1/48000' [graph 0 input from stream 0:0 @ 0x3fef920] Setting 'sample_rate' to value '48000' [graph 0 input from stream 0:0 @ 0x3fef920] Setting 'sample_fmt' to value 's16' [graph 0 input from stream 0:0 @ 0x3fef920] Setting 'channel_layout' to value '0x3' [graph 0 input from stream 0:0 @ 0x3fef920] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3 [audio format for output stream 0:0 @ 0x3fefc60] Setting 'sample_fmts' to value 's32p|fltp|s16p' [audio format for output stream 0:0 @ 0x3fefc60] Setting 'sample_rates' to value '44100' [audio format for output stream 0:0 @ 0x3fefc60] Setting 'channel_layouts' to value '0x3' [Parsed_volume_0 @ 0x3fdb420] auto-inserting filter 'auto-inserted resampler 0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_volume_0' [AVFilterGraph @ 0x3fdb800] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0x3fdc5e0] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:44100Hz [auto-inserted resampler 0 @ 0x3fdc5e0] tb:0.000023 sample_rate:44100.000000 nb_channels:2.000000 [Parsed_volume_0 @ 0x3fdb420] n:nan t:nan pts:nan precision:float volume:1.412538 volume_dB:3.000000 [Parsed_volume_0 @ 0x40036e0] Setting 'volume' to value '3dB' [graph 1 input from stream 0:0 @ 0x3ff9ce0] Setting 'time_base' to value '1/48000' [graph 1 input from stream 0:0 @ 0x3ff9ce0] Setting 'sample_rate' to value '48000' [graph 1 input from stream 0:0 @ 0x3ff9ce0] Setting 'sample_fmt' to value 's16' [graph 1 input from stream 0:0 @ 0x3ff9ce0] Setting 'channel_layout' to value '0x3' [graph 1 input from stream 0:0 @ 0x3ff9ce0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3 [audio format for output stream 1:0 @ 0x3fe1240] Setting 'sample_fmts' to value 's32p|fltp|s16p' [audio format for output stream 1:0 @ 0x3fe1240] Setting 'sample_rates' to value '44100' [audio format for output stream 1:0 @ 0x3fe1240] Setting 'channel_layouts' to value '0x3' [Parsed_volume_0 @ 0x40036e0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'graph 1 input from stream 0:0' and the filter 'Parsed_volume_0' [AVFilterGraph @ 0x3ff9520] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0x3fe2ae0] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:44100Hz [auto-inserted resampler 0 @ 0x3fe2ae0] tb:0.000023 sample_rate:44100.000000 nb_channels:2.000000 [Parsed_volume_0 @ 0x40036e0] n:nan t:nan pts:nan precision:float volume:1.412538 volume_dB:3.000000 [Parsed_volume_0 @ 0x3fe1d60] Setting 'volume' to value '3dB' [graph 2 input from stream 0:0 @ 0x3fe16c0] Setting 'time_base' to value '1/48000' [graph 2 input from stream 0:0 @ 0x3fe16c0] Setting 'sample_rate' to value '48000' [graph 2 input from stream 0:0 @ 0x3fe16c0] Setting 'sample_fmt' to value 's16' [graph 2 input from stream 0:0 @ 0x3fe16c0] Setting 'channel_layout' to value '0x3' [graph 2 input from stream 0:0 @ 0x3fe16c0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3 [audio format for output stream 2:0 @ 0x3fe2860] Setting 'sample_fmts' to value 's32p|fltp|s16p' [audio format for output stream 2:0 @ 0x3fe2860] Setting 'sample_rates' to value '44100' [audio format for output stream 2:0 @ 0x3fe2860] Setting 'channel_layouts' to value '0x3' [Parsed_volume_0 @ 0x3fe1d60] auto-inserting filter 'auto-inserted resampler 0' between the filter 'graph 2 input from stream 0:0' and the filter 'Parsed_volume_0' [AVFilterGraph @ 0x3fe14c0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0x3fe4c80] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:44100Hz [auto-inserted resampler 0 @ 0x3fe4c80] tb:0.000023 sample_rate:44100.000000 nb_channels:2.000000 [Parsed_volume_0 @ 0x3fe1d60] n:nan t:nan pts:nan precision:float volume:1.412538 volume_dB:3.000000 [icecast @ 0x40482e0] It seems you are streaming an unsupported format. [icecast @ 0x40482e0] It might work, but is not officially supported in Icecast! [icecast @ 0x40559c0] It seems you are streaming an unsupported format. [icecast @ 0x40559c0] It might work, but is not officially supported in Icecast! [icecast @ 0x4061e00] It seems you are streaming an unsupported format. [icecast @ 0x4061e00] It might work, but is not officially supported in Icecast! Output #0, mp3, to 'icecast://source:secret-password@localhost:80/HitFM_192': Metadata: icy-pub : 1 icy-br : 1536 icy-name : DB9000-TX-HitFM TSSE : Lavf56.25.101 Stream #0:0, 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 192 kb/s Metadata: encoder : Lavc56.26.100 libmp3lame Output #1, mp3, to 'icecast://source:secret-password@localhost:80/HitFM_96': Metadata: icy-pub : 1 icy-br : 1536 icy-name : DB9000-TX-HitFM TSSE : Lavf56.25.101 Stream #1:0, 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 96 kb/s Metadata: encoder : Lavc56.26.100 libmp3lame Output #2, mp3, to 'icecast://source:secret-password@localhost:80/HitFM_320': Metadata: icy-pub : 1 icy-br : 1536 icy-name : DB9000-TX-HitFM TSSE : Lavf56.25.101 Stream #2:0, 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc56.26.100 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame)) Stream #0:0 -> #1:0 (pcm_s16le (native) -> mp3 (libmp3lame)) Stream #0:0 -> #2:0 (pcm_s16le (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [pcm_s16le @ 0x400e880] Invalid PCM packet, data has size 1 but at least a size of 4 was expected Error while decoding stream #0:0: Invalid data found when processing input http://StreamHOST:5000: Connection timed out [output stream 1:0 @ 0x3fdbee0] EOF on sink link output stream 1:0:default. [output stream 0:0 @ 0x4063c60] EOF on sink link output stream 0:0:default. [output stream 2:0 @ 0x3fe2460] EOF on sink link output stream 2:0:default. No more output streams to write to, finishing. [libmp3lame @ 0x4047ac0] Trying to remove 776 more samples than there are in the queue [libmp3lame @ 0x40552a0] Trying to remove 776 more samples than there are in the queue [libmp3lame @ 0x40616e0] Trying to remove 776 more samples than there are in the queue size= 4710kB time=00:03:20.93 bitrate= 192.0kbits/s video:0kB audio:14915kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (http://StreamHOST:5000): Input stream #0:0 (audio): 9419 packets read (38576129 bytes); 9418 frames decoded (9644032 samples); Total: 9419 packets (38576129 bytes) demuxed Output file #0 (icecast://source:secret-password@localhost:80/HitFM_192): Output stream #0:0 (audio): 7692 frames encoded (8860455 samples); 7693 packets muxed (4823040 bytes); Total: 7693 packets (4823040 bytes) muxed Output file #1 (icecast://source:secret-password@localhost:80/HitFM_96): Output stream #1:0 (audio): 7692 frames encoded (8860455 samples); 7693 packets muxed (2411520 bytes); Total: 7693 packets (2411520 bytes) muxed Output file #2 (icecast://source:secret-password@localhost:80/HitFM_320): Output stream #2:0 (audio): 7692 frames encoded (8860455 samples); 7693 packets muxed (8038400 bytes); Total: 7693 packets (8038400 bytes) muxed 9418 frames successfully decoded, 1 decoding errors [AVIOContext @ 0x4053280] Statistics: 0 seeks, 7694 writeouts [AVIOContext @ 0x4055b60] Statistics: 0 seeks, 7694 writeouts [AVIOContext @ 0x4062020] Statistics: 0 seeks, 7694 writeouts [AVIOContext @ 0x400dc60] Statistics: 38576129 bytes read, 0 seeks
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
