<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I am using vdpau 1.1.1 with ffmpeg and I can't seem to get decoding done on the H264. Mpeg2video works fine but on the H264 decoding and then I am | to another ffmpeg session to transcode with nvenc to encoder works fine. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Any help ? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>here is my command .<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>${ffmpeg} -vcodec h264_vdpau -threads 1 -i "$stream" -c:v h264 -pix_fmt yuv420p -c:a copy -map 0:p:$6 -f mpegts - | tee >(${ffmpeg} -i - -vf "field,setsar=1:1,setdar=16:9" -metadata title="${CHN}" -coder 1 -r 30 -threads 2 -copytb 1 -c:v nvenc -2pass 1 -af "volume=10dB" -preset llhq -g 60 -s 1280x720 -b:v 1800k -maxrate 2500k -profile:v high -level 4.2 -gpu $gpu0 -c:a aac -b:a 128k -flags -loop -cmp +chroma -subq 2 -trellis 1 -me_method dia -me_range 40 -bf 0 -b_strategy 1 -keyint_min 60 -i_qfactor 0.71 -qcomp 0.6 -qmin 22 -qmax 35 -qdiff 4 -slices 2 -strict -2 -refs 2 -hls_time 6 -hls_flags delete_segments -start_number $start -hls_list_size 5 ${HLS_PATH}/${CHN}/${CHN}2M.m3u8 2>/var/log/channels/${CHN}/720p.txt) >(${ffmpeg} -i - -vf "field,setsar=1:1,setdar=16:9" -metadata title="${CHN}" -coder 1 -r 30 -threads 2 -copytb 1 -c:v nvenc -2pass 1 -af "volume=10dB" -preset llhq -g 60 -s 854x480 -b:v 1000k -maxrate 2000k -profile:v high -level 4.2 -gpu $gpu0 -c:a aac -b:a 128k -flags -loop -cmp +chroma -subq 2 -trellis 1 -me_method dia -me_range 40 -bf 0 -b_strategy 1 -keyint_min 60 -i_qfactor 0.71 -qcomp 0.6 -qmin 22 -qmax 35 -qdiff 4 -slices 2 -strict -2 -refs 2 -hls_time 6 -hls_flags delete_segments -start_number $start -hls_list_size 5 ${HLS_PATH}/${CHN}/${CHN}1M.m3u8 2>/var/log/channels/${CHN}/480p.txt) >/dev/null<o:p></o:p></span></p></div></body></html>