dvvideo transcoding error
When serviio sends a dvvideo file to ffmpeg for transcoding to mpeg2video, ffmpeg sets the output pixel format to yuv422p by default. This pixel format is unplayable on my Sony Blu-Ray player and I would guess most other devices.
If I manually set pix_fmt=yuv420p in the command line that is sent to ffmpeg I get a playable file.
Is there a way to either change serviio to include the pix_fmt=yuv420p when serving files that match dvvideo tag or some way for me to manually include this tag in the serviio profile? It would be really nice to have a way of passing custom parameters to ffmpeg via a serviio profile. Then we could at least work around issues when the do crop up.
Command line stuff and output from ffmpeg:
F:\Video\Home\1981\Joanne's.avi -y -threads 1 -copyts -c:v mpeg2video -b:v 8000k -maxrate:v 8000k -bufsize:v 8000k -r 30000/1001 -g 15 -c:a ac3 -b:a 384k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-11886-10-ORIGINAL.stf
Output #0, mpegts, to 'C:\Windows\TEMP\Serviio\transcoding-temp-11886-10-ORIGINAL.stf':
Metadata:
encoder : Lavf54.15.102
Stream #0:0: Video: mpeg2video, yuv422p, 720x480 [SAR 8:9 DAR 4:3], q=2-31,8000 kb/s, 90k tbn, 29.97 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (dvvideo -> mpeg2video)
Stream #0:1 -> #0:1 (pcm_s16le -> ac3)
If I manually set pix_fmt=yuv420p in the command line that is sent to ffmpeg I get a playable file.
Is there a way to either change serviio to include the pix_fmt=yuv420p when serving files that match dvvideo tag or some way for me to manually include this tag in the serviio profile? It would be really nice to have a way of passing custom parameters to ffmpeg via a serviio profile. Then we could at least work around issues when the do crop up.
Command line stuff and output from ffmpeg:
F:\Video\Home\1981\Joanne's.avi -y -threads 1 -copyts -c:v mpeg2video -b:v 8000k -maxrate:v 8000k -bufsize:v 8000k -r 30000/1001 -g 15 -c:a ac3 -b:a 384k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-11886-10-ORIGINAL.stf
Output #0, mpegts, to 'C:\Windows\TEMP\Serviio\transcoding-temp-11886-10-ORIGINAL.stf':
Metadata:
encoder : Lavf54.15.102
Stream #0:0: Video: mpeg2video, yuv422p, 720x480 [SAR 8:9 DAR 4:3], q=2-31,8000 kb/s, 90k tbn, 29.97 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (dvvideo -> mpeg2video)
Stream #0:1 -> #0:1 (pcm_s16le -> ac3)