[SOLVED] Formerly working config now transcoding minus audio
Everything was working fine, but now Serviio 1.8 is not including any audio when it transcodes a video. The log shows that the FFmpeg command line contains "-an". But I didn't change anything in my profile, and this is definitely the one being used:
Serviio console > Delivery > Transcoding:
Info about the video being transcoded (but all eligible container/codec combos have the same problem):
Serviio debug log excerpt:
What is causing the "-an"?
UPDATE: It was indeed a problem with the library, as suggested by the reply below. It wasn't fixing itself, though, so I ended up deleting my shares and then re-adding them so the library database would be rebuilt from scratch.
- Code:
<Profile id="Hopper" name="Dish Hopper" extendsProfileId="1">
<Detection>
<UPnPSearch>
<ModelName>Hopper</ModelName>
<Manufacturer>Echostar</Manufacturer>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="448">
<Matches container="*" aCodec="lpcm"/>
<Matches container="*" vCodec="h265" />
<Matches container="*" vCodec="mpeg4"/>
<Matches container="*" vCodec="theora"/>
<Matches container="*" vCodec="dvvideo" />
<Matches container="avi"/>
<Matches container="flv"/>
</Video>
<Audio targetContainer="mp3" aBitrate="320">
<Matches container="ape"/>
<Matches container="flac"/>
<Matches container="lpcm"/>
<Matches container="ogg"/>
</Audio>
</Transcoding>
</Profile>
Serviio console > Delivery > Transcoding:
- "Produce the best video quality" - not checked
- "Include all available audio tracks" - not checked, doesn't matter if it is
- "Audio channels" - "Keep original" selected
Info about the video being transcoded (but all eligible container/codec combos have the same problem):
- Code:
General
Complete name : Z:\video\music\songs, high quality, logo-free\1980s dance\misc\The Cover Girls - Show Me.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 168 MiB
Duration : 3mn 47s
Overall bit rate : 6 204 Kbps
Writing application : MEncoder SVN-r30881(20100311-gcc4.3.3)
Writing library : VirtualDub build 32842/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 3mn 47s
Bit rate : 4 781 Kbps
Width : 768 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 (29970/1000) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.361
Stream size : 130 MiB (77%)
Writing library : XviD 64
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 3mn 47s
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 38.3 MiB (23%)
Alignment : Aligned on interleaves
Interleave, duration : 33 ms (1.00 video frame)
Interleave, preload duration : 500 ms
Serviio debug log excerpt:
- Code:
2017-05-11 19:16:47,709 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib\ffmpeg.exe -threads 2 -i Z:\video\music\songs, high quality, logo-free\1980s dance\misc\The Cover Girls - Show Me.avi -y -threads 2 -c:v mpeg2video -pix_fmt yuv420p -qscale:v 3 -r 30000/1001 -g 15 -an -map 0:0 -sn -f mpegts G:\Serviio transcodes\Serviio\transcoding-temp-96f67e309550f774a30ffe29a4df870b.stf
What is causing the "-an"?
UPDATE: It was indeed a problem with the library, as suggested by the reply below. It wasn't fixing itself, though, so I ended up deleting my shares and then re-adding them so the library database would be rebuilt from scratch.
Last edited by mjb on Tue May 29, 2018 10:11 am, edited 1 time in total.
- My current transcoding configuration for Roku Stick, Dish Hopper, and Samsung BD-C6500, + other Serviio notes.