FAQ  •  Register  •  Login

Bluray rips with VC1 video

<<

akajester

Serviio newbie

Posts: 15

Joined: Wed Mar 07, 2012 3:45 pm

Post Wed Mar 07, 2012 5:51 pm

Bluray rips with VC1 video

Hello, first of all thanks for the amazing serviio program. I tested numerous programs and this one worked best. It's nice to see such a dedicated group of people working to make this program greater.
Thank you!

So, I've spent a few days working on this and I'm completely obsessed. My movie collection is all Matroska container files. Files downloaded play fine. Files I've created using makemkv direct from BD's won't stream to my Sony BDR-s570.

I've been modifying the profile.xml and I believe I have that all set. I've also updated FFMPEG and verified that the files work using the -i option. I had some issues with compressed headers and I remuxed the files to fix that. I also had a few files with unsupported subtitle tracks and fixed that. So, I'm left with files that run cleanly through FFMPEG without error (or at least without any errors that are different from the videos that play).

My sony bluray player says unsupported codec or video file when trying to play these files. I've added the "VC1" and "DCA" options to ensure they're encoded. I also had problems with high bitrate causing skips on my player even though it's wired to the serviio server with gigabit ethernet. so my profile also limits the bitrate which has helped other files work better.

Here's my profile.xml (yes I'm encoding pretty much all my mkv files at this point):
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15000" targetACodec="ac3" aBitrate="320">
<!-- FFmpeg cannot currently remux dts audio properly so it must be transcoded, but all other audio is left alone -->
<Matches container="matroska" vCodec="h264" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="matroska" vCodec="vp8" />
<Matches container="matroska" aCodec="vorbis" />
<Matches container="mpegts" vCodec="h264" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
</Video>
<!-- unsupported codecs will be transcoded to mpegts with mpeg2video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15000" targetACodec="ac3">
<Matches container="asf" />
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="avi" vCodec="dvvideo" />
<!-- digital camera video formats -->
<Matches container="avi" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mjpeg" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="adts" />
</Audio>

Here's some output from FFMPEG -i
Stream #0:0(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1920x1
080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s (default)
Metadata:
title : 3/2+1
Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
[buffer @ 03396260] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:

Incompatible sample format 's16' for codec 'libvorbis', auto-selecting format 'f
lt'
[libx264 @ 033CEB00] using SAR=1/1
[libx264 @ 033CEB00] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisali
gn LZCNT
[libx264 @ 033CEB00] profile High, level 4.0
[libx264 @ 033CEB00] 264 - core 120 r2146 bcd41db - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
ma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_c
ompat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 we
ightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=
0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
strptime() unavailable on this system, cannot convert the date string.
Output #0, matroska, to 'c:\windows\temp\temp.mkv':

Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--
1, 1k tbn, 23.98 tbc (default)
Stream #0:1(eng): Audio: vorbis, 48000 Hz, 5.1(side), flt (default)
Metadata:
title : 3/2+1
Stream #0:2(eng): Subtitle: ssa (default)
Stream mapping:
Stream #0:0 -> #0:0 (vc1 -> libx264)
Stream #0:1 -> #0:1 (ac3 -> libvorbis)
Stream #0:2 -> #0:2 (pgssub -> ass)
Press [q] to stop, [?] for help
frame= 5 fps= 0 q=0.0 size= 12kB time=00:00:00.00 bitrate= 0.0kbits/s
frame= 18 fps= 12 q=-1.0 Lsize= 21kB time=00:00:00.00 bitrate= 0.0kbits
/s
video:2kB audio:6kB global headers:7kB muxing overhead 31.658857%
[libx264 @ 033CEB00] frame I:1 Avg QP: 5.00 size: 426
[libx264 @ 033CEB00] frame P:5 Avg QP:31.00 size: 73
[libx264 @ 033CEB00] frame B:12 Avg QP:31.00 size: 68
[libx264 @ 033CEB00] consecutive B-frames: 11.1% 0.0% 0.0% 88.9%
[libx264 @ 033CEB00] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 033CEB00] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0%
0.0% 0.0% skip:100.0%
[libx264 @ 033CEB00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0%
direct: 0.0% skip:100.0%
[libx264 @ 033CEB00] 8x8 transform intra:0.0%
[libx264 @ 033CEB00] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.
0%
[libx264 @ 033CEB00] i16 v,h,dc,p: 99% 0% 1% 0%
[libx264 @ 033CEB00] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 033CEB00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 033CEB00] kb/s:17.05

If anyone can point me in the right direction I'd really appreciate it. Sorry if I didn't provide enough info. I'll do my best to answer any questions.

Thanks!

-akajester
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Mar 08, 2012 8:55 pm

Re: Bluray rips with VC1 video

if you enable detailed logging, is there an error when playing the file?
<<

akajester

Serviio newbie

Posts: 15

Joined: Wed Mar 07, 2012 3:45 pm

Post Fri Mar 09, 2012 2:44 pm

Re: Bluray rips with VC1 video

Thanks for the response. I'm not sure what happened. When I was modifying the config xml I'd restart the service and it seemed that the changes weren't helping. The next day I booted up the serviio box and they all played perfectly! I still had issues with a certain trilogy of movies I ripped from my own bd's, but I just deleted them and started over. Something must have been wrong with those files, not serviio or ffmpeg. So as of now DTS works and VC1 videos work too.

I know transcoding almost everything isn't the best way to do things. Unfortunately the profiles don't support bitrate checking only container and audio/video type matching. So I'm stuck encoding everything because I can't guarantee the bitrate will be below 20mb for my sony bd player. With the quad care phenom server it's only 25% cpu for a 1080p movie, so no big deal.

Thank you for your help!

-akajester
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Apr 11, 2012 11:21 pm

Re: Bluray rips with VC1 video

The shame is that the Sony BDP is meant to support VC1, but in WMV-HD files - not MKV. Except that doesn't seem to work properly, even from USB.
I had hoped that remuxing VC1 into mpegts might work but the test clips I created (over a year ago, admittedly) didn't work. However, the problem could be the immaturity of the VC-1-into-mpegts muxer code in FFmpeg/TSMuxer and not necessarily the BDP's decoder.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 27 guests

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