Resolution issue 920X576 (default?)

Steps to reproduce

The default setting for us with the reference hardware seems to be 920X576, please find below relevant info.

The window size of the camera and presentation are of unequal sizes...

root@captureagent:~# ffmpeg -formats | grep MPEG-2
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 31 2011 18:59:37, gcc: 4.4.3
E dvd MPEG-2 PS format (DVD VOB)
E mpeg2video raw MPEG-2 video
DE mpegts MPEG-2 transport stream format
D mpegtsraw MPEG-2 raw transport stream format
E svcd MPEG-2 PS format (VOB)
E vob MPEG-2 PS format (VOB)
DEVSDT mpeg2video MPEG-2 video

root@captureagent:~# ffmpeg -codecs | grep MPEG-2
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 31 2011 18:59:37, gcc: 4.4.3
ffmpeg: missing argument for option '-codecs'

Capture agent

root@captureagent:~# ffmpeg -i Camera.mpg Op.vob
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 31 2011 18:59:37, gcc: 4.4.3
Input #0, mpeg, from 'Camera.mpg':
Duration: 00:00:59.12, start: 0.500000, bitrate: 244 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 920x576 [PAR 1:1 DAR 115:72], 104857 kb/s, 25 tbr, 90k tbn, 25 tbc
Output #0, svcd, to 'Op.vob':
Stream #0.0: Video: mpeg2video, yuv420p, 920x576 [PAR 1:1 DAR 115:72], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1482 fps=214 q=31.0 Lsize= 2004kB time=59.24 bitrate= 277.1kbits/s
video:1973kB audio:0kB global headers:0kB muxing overhead 1.545578%

Core Server
root@Opencast-RC:~# ffmpeg -i test.mpg op.mpg
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 22 2011 22:12:59 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --extra-cflags='-I${LOCAL_PREFIX}/include' --extra-ldflags='-L${LOCAL_PREFIX}/lib -Wl,-rpath,${LOCAL_PREFIX}/lib' --enable-libxvid --extra-libs=-lxvidcore --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libmp3lame --extra-libs=-lmp3lame --enable-libfaad --extra-libs=-lfaad --enable-libfaac --extra-libs=-lfaac --enable-libvorbis --extra-libs=-lvorbis --enable-libtheora --extra-libs=-ltheora --enable-runtime-cpudetect
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
[mpeg @ 0x264d420]invalid dts/pts combination
Last message repeated 96 times
[NULL @ 0x264e7d0]start time is not set in av_estimate_timings_from_pts
Input #0, mpeg, from 'test.mpg':
Duration: 26:15:11.91, bitrate: 0 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 920x576 [PAR 1:1 DAR 115:72], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, mpeg, to 'op.mpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mpeg1video, yuv420p, 920x576 [PAR 1:1 DAR 115:72], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg @ 0x264d420]invalid dts/pts combination
frame= 97 fps= 0 q=24.8 Lsize= 648kB time=3.84 bitrate=1382.4kbits/s
video:643kB audio:0kB global headers:0kB muxing overhead 0.790616%

Capture agent : 1.1.0282 - Ubuntu 10.04 64-bit server
Camera : Canon VC-50i (Connected on port 0)
Video Capture Card : Bluecherry PV-143
VGA Capture Card : Ephiphan vga2usb-i

We have set the video as PAL in device_config.sh

Configuration file:

capture.device.Camera.src=/dev/camera
capture.device.Camera.outputfile=Camera.mpg
capture.device.Camera.flavor=presenter/source
capture.device.Camera.type=CUSTOM_VIDEO_SRC
capture.device.Camera.customProducer=v4l2src device=/dev/camera ! queue ! videorate ! video/x-raw-rgb ! ffmpegcolorspace ! queue
capture.device.Camera.buffer.bytes=1073741824
capture.device.Laptop.src=/dev/laptop
capture.device.Laptop.outputfile=Laptop.mpg
capture.device.Laptop.flavor=presentation/source
capture.device.Laptop.buffer.bytes=536870912
capture.device.Audio.src=hw:0
capture.device.Audio.outputfile=Audio.mp2
capture.device.Audio.flavor=presenter/source
capture.device.Audio.buffer.bytes=536870912
capture.device.names=Camera,Laptop,Audio

Status

Assignee

Unassigned

Reporter

Ramki

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Components

Affects versions

1.1.x (branch)

Priority

Blocker
Configure