Bug in transcoding video with speex audio which may impact 1.5 speex support

Issue #806 resolved
Former user created an issue

I determined the need for speedx support because Serviio was transcoding the streams with -an which is the correct result for unsupported audio codecs.

I have now found a stream containing speedx which Serviio transcodes to mp3 with -map 0:2 which causes it to fail. This is obviously a bug, which may impact your speedx solution in 1.5

"rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfUrl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECCDN_debug.swf pageUrl=https://www.filmon.com/ live=1"

Input #0, flv, from 'rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfU rl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECC DN_debug.swf pageUrl=https://www.filmon.com/ live=1': Duration: N/A, start: 0.000000, bitrate: 34 kb/s Stream #0:0: Video: flv1, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 34 kb/s 1.93 A-V: -0.006 fd= 0 aq= 2KB vq= 14KB sq= 0B f=0/0

"C:\Program Files\Serviio\lib\ffmpeg.exe" -analyzeduration 10000000 -fflags +genpts -threads 8 -i "rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfUrl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECCDN_debug.swf pageUrl=https://www.filmon.com/ live=1" -y -threads 8 -c:v copy -c:a libmp3lame -b:a 64k -ar 44100 -ac 1 -map 0:1 -map 0:2 -sn -f flv pipe:

Interestingly this only occurs with a web resource with the Content container: ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfUrl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECCDN_debug.swf pageUrl=https://www.filmon.com/ live=1, thumbnailUrl=http://static.filmon.com/couch/channels/324/big_logo.png, expiresImmediately=true, cacheKey=Filmon_324_480, live=true, ]

However the live-stream using this same url issues the correct transcode command. Go figure!

rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfUrl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECCDN_debug.swf pageUrl=https://www.filmon.com/ live=1

"C:\Program Files\Serviio\lib\ffmpeg.exe" -analyzeduration 10000000 -fflags +genpts -threads 8 -i "rtmp://pub1.usa.battlecam.com/battlecam/ playpath=bc_1 swfUrl=http://www.battlecam.com/application/themes/base/flash/broadcast/VideoChatECCDN_debug.swf pageUrl=https://www.filmon.com/ live=1" -y -threads 8 -c:v copy -an -map 0:0 -sn -f flv pipe:

Comments (5)

  1. Former user Account Deleted

    The second part of this report is incorrect. This stream with speex audio fails both as a live-stream and when included in a web resource. The correct transcode above was issued by my wrapper which fixes the bug in the interim.

  2. Former user Account Deleted

    After testing, I am unable to recreate the map 0:2 command. I will retest after speex support is implemented. Lets close it for now.

  3. Log in to comment