Page 1 of 1
how to know if video is currently transcoding (re encoding)
Posted: Mon Feb 10, 2020 3:15 pm
by Hojojo
how to be sure that the video is not (transcoding) ? , i know the audio is transcoding because the audio format dts is not supported.
but the video ? if it was transcoding there should be high cpu usage right ? my cpu is average and i don't notice any cpu usage?
does that means only the audio is transcoding and the video is untouched ?
Re: how to know if video is currently transcoding (re encoding)
Posted: Mon Feb 10, 2020 3:33 pm
by mik_s
A good indicator of when a file is being transcoded is higher CPU usage, but how obvious that is depends on your system. If it is a modern powerful computer you might not see as much difference compared to an older one with only a few cores then it will be easier to tell.
If you turn on "add engine names after filenames" in the navigation tab then you will be able to see what files will be transcoded if played as it will show (ffmpeg) for example added to the end of the filename.
Re: how to know if video is currently transcoding (re encoding)
Posted: Mon Feb 10, 2020 5:06 pm
by Hojojo
does any file played through ffmpeg , means its transcoded (re-encoded)?
is it possible that the video file goes through it untouched bet gets its audio transcoded ?
Re: how to know if video is currently transcoding (re encoding)
Posted: Mon Feb 10, 2020 5:47 pm
by Hojojo
mik_s wrote: ↑Mon Feb 10, 2020 3:33 pm
A good indicator of when a file is being transcoded is higher CPU usage, but how obvious that is depends on your system. If it is a modern powerful computer you might not see as much difference compared to an older one with only a few cores then it will be easier to tell.
If you turn on "add engine names after filenames" in the navigation tab then you will be able to see what files will be transcoded if played as it will show (ffmpeg) for example added to the end of the filename.
my cpu is i5 4460
mencoder uses 97% of the cpu
ffmpeg uses 20% of the cpu
tsmuxer uses 6% of the cpu
what does that means?
Re: how to know if video is currently transcoding (re encoding)
Posted: Tue Feb 11, 2020 2:48 am
by Nadahar
It would be possible to just transcode the audio and remux it, but this is not implemented in UMS as far as I know. As to the CPU uses you provide, I have no good explanation. Instead of relying on CPU usage to determine what's happening, I would use the log. Change log level to "trace", and the search the log for "startPlaying".