FAQ  •  Register  •  Login

[SOLVED] Formerly working config now transcoding minus audio

<<

mjb

User avatar

Streaming enthusiast

Posts: 45

Joined: Fri Jan 06, 2012 10:42 pm

Post Fri May 12, 2017 1:37 am

[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:

  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
Again, none of this has changed from a formerly working configuration.

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.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sat May 13, 2017 1:18 am

Re: Formerly working config now transcoding minus audio

DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.