We have a problem with audio/video sync with MH 1.1
Agent configuracion:
capture.device.profesor.type=CUSTOM_VIDEO_SRC
capture.device.profesor.customProducer=v4l2src device=/dev/video0 !
image/jpeg,width=960,height=720,framerate=24/1,rate=24 ! queue ! jpegdec
! ffmpegcolorspace
capture.device.profesor.src=/dev/video0
capture.device.profesor.outputfile=profesor.mpg
capture.device.profesor.flavor=presenter/source
capture.device.diapositivas.type=EPIPHAN_VGA2USB
capture.device.diapositivas.src=/dev/video1
capture.device.diapositivas.outputfile=diapositivas.mpg
capture.device.diapositivas.flavor=presentation/source
capture.device.diapositivas.framerate=24
capture.device.audio.src=hw:0
capture.device.audio.outputfile=audio.mp2
capture.device.audio.flavor=audio/source
Info about captured files:
$ mediainfo track-1/diapositivas.mpg
General
Complete name : track-1/diapositivas.mpg
Format : MPEG-PS
File size : 1.77 GiB
Duration : 2h 4mn
Overall bit rate : 2 025 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High-1440
Format settings, Matrix : Default
Duration : 2h 4mn
Bit rate mode : Variable
Bit rate : 1 944 Kbps
Width : 1 024 pixels
Height : 768 pixels
Display aspect ratio : 4/3
Frame rate : 25.000 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.099
Stream size : 1.70 GiB (96%)
$ mediainfo track-2/audio.mp2
General
Complete name : track-2/audio.mp2
Format : MPEG Audio
File size : 171 MiB
Duration : 2h 4mn
Overall bit rate : 192 Kbps
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 2h 4mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 171 MiB
$ mediainfo track-3/profesor.mpg
General
Complete name : track-3/profesor.mpg
Format : MPEG-PS
File size : 1.75 GiB
Duration : 2h 4mn
Overall bit rate : 2 003 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High-1440
Format settings, Matrix : Default
Duration : 2h 4mn
Bit rate mode : Variable
Bit rate : 1 924 Kbps
Width : 960 pixels
Height : 720 pixels
Display aspect ratio : 4/3
Frame rate : 24.000 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.116
Stream size : 1.68 GiB (96%)
As you can see, the duration of all files is 2h 4m
After the Prepare AV operation the presenter/work mpeg file is 1h 55m
$ mediainfo 17ed3f15-e80b-4b0d-a2e0-9fb2c73dc296/profesor.mpg
General
Complete name :
17ed3f15-e80b-4b0d-a2e0-9fb2c73dc296/profesor.mpg
Format : MPEG-PS
File size : 3.17 GiB
Duration : 1h 55mn
Overall bit rate : 3 925 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, Matrix : Default
Duration : 1h 55mn
Bit rate mode : Variable
Bit rate : 3 705 Kbps
Width : 960 pixels
Height : 720 pixels
Display aspect ratio : 4/3
Frame rate : 24.000 fps
Scan type : Progressive
Bits/(Pixel*Frame) : 0.223
Stream size : 2.99 GiB (94%)
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 1h 55mn
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 52.9 MiB (2%)
Why is this happening?
Thanks,
--
Miguel Escriva
Área de Sistemas de Información y Comunicaciones
Universidad Politécnica de Valencia
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users