Page 1 of 1

BUG 1.1 (same as 1.0.1) no max bit rate and 720p support

PostPosted: Tue Dec 25, 2012 6:20 pm
by robertsearle
Dropping of max bit rate and 720p. Same bug as fixed with 1.0.1

Profile Changes from 1.0.1
  Code:
803,808c803,806
<                       <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="10000" targetACodec="ac3" maxHeight="720" aBitrate="320" forceVTranscoding="true" >
<                               <Matches container="*" vCodec="h264" />
<                               <Matches container="matroska" />
<                               <Matches container="mpegts"  />
<                               <Matches container="mp4"  />
<                               <Matches container="avi"  />
---
>                       <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320">
>                               <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
>                               <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
>                               <Matches container="matroska" vCodec="vp8" />


Old values from 1.0.1
  Code:
/usr/local/serviio/bin/ffmpeg -i /blue-ray/YYYYYY.mkv -y -threads 4 -copyts -c:v mpeg2video           

MISSING: (CAN"T FIGURE OUT HOW TO HIGHLIGHT)           -b:v 10000k -maxrate:v 10000k -bufsize:v 10000k -vf scale=1280:720 -r 24000/1001 -g 15

-c:a ac3 -b:a 320k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-74-10-ORIGINAL.stf



New Values from 1.1
  Code:
/usr/local/serviio/bin/ffmpeg -fflags +genpts -threads 4 -i   /blue-ray/YYYYYYY.mkv -y -copyts -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -b:a 320k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-74-10-ORIGINAL.stf

Re: BUG 1.1 (same as 1.0.1) no max bit rate and 720p support

PostPosted: Tue Dec 25, 2012 8:25 pm
by zip
Not sure what you mean? From your examples the second profile only remixes h264, therefore it uses codec copy rather than transcoding with a bitrate and resolution limit.

Re: BUG 1.1 (same as 1.0.1) no max bit rate and 720p support

PostPosted: Tue Dec 25, 2012 10:13 pm
by robertsearle
Yep it was a problem with the profile. My bad.