Transcoding HD .wtv files
This works nicely for SD files, but not for HD files. There is stuttering. I am on a fixed line (not wifi) but my PC is already a few years old. I am wondering if I should transcode the files in advance. I tried to look at what serviio/ffmpeg has done with the file:
ffmpeg -i wtv hd file: (size 5GB)
Duration: 00:49:57.80, start: 2.548022, bitrate: 13863 kb/s
Stream #0:0[0x4f](deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:1[0x50]: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 10000k tbn, 100 tbc
Stream #0:2[0x51](deu): Subtitle: dvb_teletext
Stream #0:3[0x52](mul): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:4[0x0]: Video: mjpeg, yuvj420p, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
ffmpeg -i .stf file from serviio: (15 GB ?!)
Duration: 00:49:58.76, start: 1.400000, bitrate: 39953 kb/s
Program 1
Metadata:
service_name : PHOENIX HD
service_provider: PHOENIX HD
Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x101](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
The command that ffmpeg has used (I set up debug):
ffmpeg.exe -threads auto -i XXXXX\HD.wtv -y -threads auto -c:v libx264 -profile:v baseline -level 3 -preset veryfast -crf 10 -r 50 -g 15 -bsf:v h264_mp4toannexb -flags -global_header -c:a ac3 -b:a 192k -ac 2 -map 0:1 -map 0:0 -sn -f mpegts XXXXXX\AppData\Local\Temp\Serviio\transcoding-temp-1592-9-ORIGINAL.stf
My questions:
1) why is the resulting file so huge?
2) what setting should I try so that it is less huge but in the same quality?
What I'd like to get is something that is about the size as the original file, but in a format that Sam Sung, or Teufel (user agent: "IPI/1.0 UPnP/1.0 DLNADOC/1.50") can handle.
Direct transcoding-while-streaming into such a format would be nice, but I'd already be happy with some offline conversion parameters. Most of my recordings are not watched immediately, but in a few days.
3) What does the extension ".stf" stand for?