Hi!
This is the ffmpeg output of the workers:
$ ffmpeg -strict inofficial -i profesor.mpg -i audio.mp2 -sameq
-shortest output.mpg
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on May 24 2011 11:34:03 with gcc 4.4.5
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 @ 0xa13b420]invalid dts/pts combination
Last message repeated 152 times
[mpeg @ 0xa13b420]max_analyze_duration reached
[NULL @ 0xa13c700]start time is not set in av_estimate_timings_from_pts
Input #0, mpeg, from 'profesor.mpg':
Duration: N/A, bitrate: N/A
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1184x656 [PAR 1:1
DAR 74:41], 104857 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc
[mp3 @ 0xa1418a0]max_analyze_duration reached
[mp3 @ 0xa1418a0]Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from 'audio.mp2':
Duration: 00:09:57.75, start: 0.000000, bitrate: 192 kb/s
Stream #1.0: Audio: mp2, 44100 Hz, 2 channels, s16, 192 kb/s
File 'salida.mpg' already exists. Overwrite ? [y/N] y
Output #0, mpeg, to 'salida.mpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mpeg1video, yuv420p, 1184x656 [PAR 1:1 DAR
74:41], q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
[mpeg @ 0xa13b420]invalid dts/pts combination
frame=12190 fps= 92 q=0.0 Lsize= 259818kB time=406.28
bitrate=5238.8kbits/s dup=0 drop=1
video:255481kB audio:3174kB global headers:0kB muxing overhead 0.449615%
And this is the OLD ffmpeg output:
$ ffmpeg -strict inofficial -i profesor.mpg -i audio.mp2 -sameq
-shortest output.mpg
FFmpeg version SVN-r10464, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb
--enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686
--enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.5.0
libavcodec version: 51.43.0
libavformat version: 51.12.2
built on Sep 10 2007 10:31:22, gcc: 4.2.1
Input #0, mpeg, from 'profesor.mpg':
Duration: 00:09:57.9, start: 0.696756, bitrate: 2002 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1184x656, 104857
kb/s, 30.00 fps(r)
Input #1, mp3, from 'audio.mp2':
Duration: 00:09:57.7, bitrate: 191 kb/s
Stream #1.0: Audio: mp2, 44100 Hz, stereo, 192 kb/s
Output #0, mpeg, to 'salida_win.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 1184x656, q=2-31, 200 kb/s,
30.00 fps(c)
Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
frame=17939 fps=149 q=0.0 Lsize= 294176kB time=597.9 bitrate=4030.4kbits/s
video:169778kB audio:4671kB global headers:0kB muxing overhead 68.630850%
You can download the original videos captured by MH and the two muxed
from this URL: http://polimedia.upv.es/pub/matterhorn/mh_outsync.zip
Thanks,
Miguel
El 24/05/2011 21:27, Christopher Brooks escribió:
It's really odd that one ffmpeg would have the issue and not another;
suggests to me that it's an ffmpeg bug not a matterhorn one.
If you ffmpeg -i the two media files with both sets of ffmpeg what do
the durations look like?
Which version of ffmpeg are you using on the workers?
Chris
On Tue, 24 May 2011 15:58:38 +0200 Miguel Escrivà
<[email protected]> wrote:
Hi Christopher!
Any news in this issue?
I discovered that If I mux the video with and old ffmpeg I have
compiled in windows the output file is correct, but I don't know why
ffmpeg I have installed into the workers encodes the video bad.
Do you have any idea why is this happening? This is driving me mad.
////--
Miguel Escriva
Área de Sistemas de Información y Comunicaciones
Universidad Politécnica de Valencia
El 13/05/2011 8:22, Miguel Escrivà escribió:
Hi Christopher!
I don't see any info about dropping frames in the agent logs.
--
Miguel Escriva
Área de Sistemas de Información y Comunicaciones
Universidad Politécnica de Valencia
El 12/05/2011 17:23, Christopher Brooks escribió:
On Thu, 12 May 2011 14:07:18 +0200
Miguel Escrivà<[email protected]> wrote:
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
Hi Miguel,
Anything in your capture agent debug logs about dropping frames?
Chris
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users