[VDPAU] Need Help

Sandro Henriques sandro at zazeen.com
Mon Jan 18 07:04:56 PST 2016


Hello,

 

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. 

 

Any help ? 

 

here is my command .

 

 

${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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/vdpau/attachments/20160118/8a01a68f/attachment.html>


More information about the VDPAU mailing list