i noticed that my pinnacle 300i could accept full resolution settings:
v4l2-ctl --set-fmt-video=width=720,height=576
only the first time the command is fired.
after that, evey time i try to set that resolution with the same
command, i get instead only the half vertical resolution:
v4l2-ctl --get-fmt-video
Format Video Capture:
Width/Height : 720/288
Pixel Format : 'YU12'
Field : Bottom
Bytes per Line : 720
Size Image : 311040
Colorspace : SMPTE 170M
Transfer Function : Default
YCbCr/HSV Encoding: Default
Quantization : Default
Flags :
I noticed that behaviour when streaming with ffmpeg:
ffmpeg -re -f video4linux2 -i /dev/video0 -f pulse -ar 44100 -strict
experimental -acodec aac -ab 56k -vcodec libx264 -vb 452k -profile:v
high -level 40 -g 100 -f flv
"rtmp://vps222134.ovh.net:8081/publish/first?passsegretapervideostreaming"
first time i get audio and video full frame and no problems.
second time instead ffmpeg drops a lot of frames and fires warnings:
" ... Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8) ..."
--
Open TV Architecture project: http://sourceforge.net/projects/otva/
Messagenet VOIP: 5338759
YouTube Channel: v1p3r's lab
VIMEO HD videos: http://www.vimeo.com/user1912745/videos