Hi

I am trying to use ffserver to transcode some MPEGTS files (an HLS) to webm. Configs below. I am using ffmpeg launched from within ffserver. The error I am seeing with ffserver -d, is:

[libvpx @ 0x2b22740] Failed to set VP8E_SET_ARNR_TYPE codec control: Invalid parameter
[libvpx @ 0x2b22740]   Additional information: arnr_type out of range [1..3]

I have no idea either where I should set this parameter, or what it should be set to. Or, for that matter, what it does.
Can anyone advise?

The HLS in question is live, and it works.

Configs and console output:

ffserver.conf:

Port 8010
BindAddress 0.0.0.0
MaxClients 1000
MaxHTTPConnections 1010
MaxBandwidth 5000000
<Feed stream.ffm>
file /var/www/video/.rawstream.ffm
Launch ffmpeg -i /var/www/video/stream.m3u8
FileMaxSize 1G
ACL allow 127.0.0.1
</Feed>
<Stream stream.webm>
Feed stream.ffm
Format webm
AudioBitRate 128
AudioSampleRate 48000
AudioChannels 2
VideoCodec libvpx
VideoSize 320x160
VideoFrameRate 15
AVOptionVideo flags +global_header
AVOptionAudio flags +global_header
PreRoll 15
StartSendOnKey
VideoBitRate 500
</Stream>

Console output of ffserver -d:

ffserver version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 18 2014 04:01:59 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Tue Jul 22 08:18:41 2014 FFserver started.
Tue Jul 22 08:18:41 2014 Launch command line: ffmpeg -i /var/www/video/stream.m3u8 http://127.0.0.1:8010/stream.ffm
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 18 2014 04:01:59 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[hls,applehttp @ 0x2e60c20] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from '/var/www/video/stream.m3u8':
  Duration: 00:00:00.06, start: 17901.661767, bitrate: 96 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 145 kb/s Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 720x480, 14.99 fps, 14.99 tbr, 90k tbn, 29.97 tbc
Tue Jul 22 08:18:41 2014 127.0.0.1 - - New connection: GET /stream.ffm
Tue Jul 22 08:18:41 2014 127.0.0.1 - - [GET] "/stream.ffm HTTP/1.1" 200 4175
Tue Jul 22 08:18:41 2014 127.0.0.1 - - New connection: POST /stream.ffm
[libvpx @ 0x300e900] v1.3.0
[libvpx @ 0x300e900] Failed to set VP8E_SET_ARNR_TYPE codec control: Invalid parameter
[libvpx @ 0x300e900]   Additional information: arnr_type out of range [1..3]
Output #0, ffm, to 'http://127.0.0.1:8010/stream.ffm':
  Metadata:
    creation_time   : now
    encoder         : Lavf55.48.101
    Stream #0:0: Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
encoder : Lavc55.69.100 libvorbisTue Jul 22 08:18:41 2014 [NULL @ 0x1e32b60] Stream #0:1: Video: vp8 (libvpx), yuv420p, 320x160, q=2-31, 500 kb/s, 14.99 fpsTue Jul 22 08:18:41 2014 127.0.0.1 - - [POST] "/stream.ffm HTTP/1.1" 200 4096
, 14.99 tbc
    Metadata:
      encoder         : Lavc55.69.100 libvpx
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> vorbis (libvorbis))
  Stream #0:1 -> #0:1 (h264 (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
av_interleaved_write_frame(): Connection reset by peer
frame= 1 fps=0.0 q=0.0 Lsize= 24kB time=00:00:00.40 bitrate= 486.7kbits/s video:20kB audio:6kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: unknown
stream.ffm: Pid 5091 exited with status 13 after 0 seconds

M3U8 from stream in progress:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:14
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:11
#EXTINF:10.010000,
stream00014.ts
#EXTINF:10.010000,
stream00015.ts
#EXTINF:10.010000,
stream00016.ts
#EXTINF:10.010000,
stream00017.ts
#EXTINF:10.010000,
stream00018.ts
#EXTINF:10.010000,
stream00019.ts
#EXTINF:10.010000,
stream00020.ts
#EXTINF:10.010000,
stream00021.ts
#EXTINF:10.010000,
stream00022.ts
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to