WTV files and SEEK (FF/FR)
I'm a user of the WMC and I record free DTV shows in WTV files. These files are supported by Serviio, and it really works. Thank you!
The current use of the Serviio that I do is when I'm travelling. Using a small Linux server and one small HD I can copy my recodings and see them with any DLNA player. In fact, that's with any Smart TV. The key thing is that Serviio TRANSMUXES the WTV files in realtime to MPEG-TS (even it calls it TRANSCODING, in fact it only copies the streams and changes the container, so isn't a real transcoding). And this works like a charm... except for the missing SEEK functionality.
So, after a lot of tests I feel some bug (or something unimplemented) exists. If I share a .TS file, then I can do FF and RF; but with .WTV files I can't. I tested it too with the VideoLAN UPNP client (last version) using the same profile as with the Smart TV (for convenience I use "Samsung TV C/D-series"). And I'm sure that the problem is not related with the "transcoding", because with other containers I can seek. Perhaps the problem is with the total time of the file that the transcoder inside the Serviio sever requires to know. If that's true, the problem can be fixed reading the correct time from WTV files.
As a tip I changed the profile with this simple modification:
- Code:
<!-- Transmux WTV -->
<Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
<Matches container="wtv" aCodec="ac3" />
</Video>
<Video targetContainer="mpegts" targetACodec="mp2" forceInheritance="true">
<Matches container="wtv" aCodec="mp2" />
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
<Matches container="wtv" />
</Video>
The first and second are for transmuxing all video formats with AC3 and MP2 audio, but the last is for transcoding any other audio format (for example when E-AC3, aka DD+).
I recommend to update all profiles adding support for WTV as not all have declared it, and because the transmuxing to MPEG-TS it's possible then all clients can to support WTV. Futhermore, I recommend to the developer to check every version with WTV files. It's quite simple: you can use testing files or generate them using FFMPEG -i test.ts ... copy -f wtv test.wtv; and use VLC as the client (for seeking).
Regards.