#3418: Cannot stream h264 to libvorbis/libtheora with ffserver ----------------------------------+------------------------------------ Reporter: pferland | Owner: mastered Type: defect | Status: open Priority: normal | Component: ffserver Version: | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+------------------------------------ Comment (by taeuber): This is true with version: ffserver_g -v 9 -loglevel 99 -report ffserver version N-80494-g9204a84 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --enable-libvorbis --enable-libmp3lame --enable-libopus libavutil 55. 24.100 / 55. 24.100 libavcodec 57. 46.100 / 57. 46.100 libavformat 57. 38.102 / 57. 38.102 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 46.102 / 6. 46.102 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 It also is not possible to stream opus streams or vorbis streams in matroska format: Tue Jun 21 22:04:28 2016 [file @ 0x2d66de0]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:28 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:28 2016 [ffm @ 0x2d6d6a0]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6f0a0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6f0a0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6f0a0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6fae0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6fae0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d6fae0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d70a00]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d70a00]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d70a00]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:28 2016 [NULL @ 0x2d70a00]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:28 2016 [AVIOContext @ 0x2d75d00]Statistics: 32768 bytes read, 0 seeks Tue Jun 21 22:04:28 2016 FFserver started. Tue Jun 21 22:04:32 2016 [file @ 0x2d66de0]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:32 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:32 2016 [ffm @ 0x2d73f20]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75940]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75940]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75940]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d76380]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d76380]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d76380]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d772a0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d772a0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d772a0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d772a0]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:32 2016 [ffm @ 0x2d71690]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Tue Jun 21 22:04:32 2016 [ffm @ 0x2d71690]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Tue Jun 21 22:04:32 2016 [ffm @ 0x2d71690]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Tue Jun 21 22:04:32 2016 writing recommended configuration: b=48000,ac=1,ar=48000 Tue Jun 21 22:04:32 2016 writing recommended configuration: b=48000,ac=1,ar=48000 Tue Jun 21 22:04:32 2016 writing recommended configuration: b=48000,ac=1,ar=48000,flags=+global_header Tue Jun 21 22:04:32 2016 127.0.0.1 - - [GET] "/immen.ffm HTTP/1.1" 200 4175 Tue Jun 21 22:04:32 2016 [AVIOContext @ 0x2d7c5a0]Statistics: 40960 bytes read, 2 seeks Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'ab' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'frame_size' to value '1152' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'channel_layout' to value '4' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'time_base' to value '1/48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'delay' to value '1105' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d77c40]Setting entry with key 'pkt_timebase' to value '1/1000000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'ab' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'frame_size' to value '64' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'channel_layout' to value '4' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'time_base' to value '1/48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d792c0]Setting entry with key 'pkt_timebase' to value '1/1000000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'ab' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'flags' to value '0x00400000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'frame_size' to value '960' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'compression_level' to value '10' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'channel_layout' to value '4' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'time_base' to value '1/48000' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'delay' to value '312' Tue Jun 21 22:04:32 2016 [NULL @ 0x2d75460]Setting entry with key 'pkt_timebase' to value '1/1000000' Tue Jun 21 22:04:36 2016 [file @ 0x2d66ce0]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:36 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:36 2016 [ffm @ 0x2d73580]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:36 2016 [NULL @ 0x2d79620]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d79620]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d79620]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d77740]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d77740]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d77740]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d7a8a0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d7a8a0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d7a8a0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:36 2016 [NULL @ 0x2d7a8a0]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:36 2016 [matroska @ 0x2d78dd0]Extradata corrupt. Tue Jun 21 22:04:36 2016 Error writing frame to output for stream 'immen.mka': Operation not permitted Tue Jun 21 22:04:36 2016 192.168.188.22 - - [GET] "/immen.mka HTTP/1.1" 200 505 Tue Jun 21 22:04:36 2016 [AVIOContext @ 0x2d79cc0]Statistics: 40960 bytes read, 2 seeks Tue Jun 21 22:04:38 2016 [file @ 0x2d66ce0]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:38 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:38 2016 [ffm @ 0x2d73580]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:38 2016 [NULL @ 0x2d79620]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d79620]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d79620]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d76340]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d76340]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d76340]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d771c0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d771c0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d771c0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:38 2016 [NULL @ 0x2d771c0]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:38 2016 [oga @ 0x2d78dd0]No extradata present Tue Jun 21 22:04:38 2016 Error writing output header for stream 'immen.ogg': Invalid data found when processing input Tue Jun 21 22:04:38 2016 192.168.188.22 - - [GET] "/immen.ogg HTTP/1.1" 200 62 Tue Jun 21 22:04:38 2016 [AVIOContext @ 0x2d79cc0]Statistics: 40960 bytes read, 2 seeks Tue Jun 21 22:04:40 2016 [file @ 0x2d79c40]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:40 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:40 2016 [ffm @ 0x2d76340]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:40 2016 [NULL @ 0x2d73580]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d73580]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d73580]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d74fc0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d74fc0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d74fc0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d758e0]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d758e0]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d758e0]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:40 2016 [NULL @ 0x2d758e0]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:40 2016 [opus @ 0x2d77310]No extradata present Tue Jun 21 22:04:40 2016 Error writing output header for stream 'immen.opus': Invalid data found when processing input Tue Jun 21 22:04:40 2016 192.168.188.22 - - [GET] "/immen.opus HTTP/1.1" 200 62 Tue Jun 21 22:04:40 2016 [AVIOContext @ 0x2d66ce0]Statistics: 40960 bytes read, 2 seeks Tue Jun 21 22:04:41 2016 [file @ 0x2d66ce0]Setting default whitelist 'file,crypto' Tue Jun 21 22:04:41 2016 Probing ffm score:101 size:2048 Tue Jun 21 22:04:41 2016 [ffm @ 0x2d74fc0]Format ffm probed with size=2048 and score=101 Tue Jun 21 22:04:41 2016 [NULL @ 0x2d79720]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d79720]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d79720]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d76340]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d76340]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d76340]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d75a60]Setting entry with key 'b' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d75a60]Setting entry with key 'ac' to value '1' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d75a60]Setting entry with key 'ar' to value '48000' Tue Jun 21 22:04:41 2016 [NULL @ 0x2d75a60]Setting entry with key 'flags' to value '+global_header' Tue Jun 21 22:04:44 2016 192.168.188.22 - - [GET] "/immen.mp3 HTTP/1.1" 200 18927 Tue Jun 21 22:04:44 2016 [AVIOContext @ 0x2d79c40]Statistics: 98304 bytes read, 2 seeks Tue Jun 21 22:04:48 2016 127.0.0.1 - - [POST] "/immen.ffm HTTP/1.1" 200 315392 -- Ticket URL: <https://trac.ffmpeg.org/ticket/3418#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker