#552: Field order messed up with MPG files
-------------------------------------------+--------------------------------
Reporter: Sape | Owner: cinele...@…
Type: defect | Status: new
Priority: high | Component: File Loading
Version: 2.1 | Severity: blocker
Keywords: field order messed up - mpeg-2 |
-------------------------------------------+--------------------------------
I use Cinelerra version 2.1 CV build date dom feb 1 02:25:05 UTC 2009 to
create a DVD from recorded mpeg-2 footage. My problem is that Cinelerra
messes up the field order in some frames when the files are loaded and
played back in the viewer window. This defect still exists after rendering
in the end result. Every player, like Avidemux plays the input files
without hick ups. Avidemux also does show the defect in the rendered m2v
file.
I have a JVC camera that produces MOD files. I convert these with Modcopy
to MPG (which is in fact renaming) with corrected aspect ratio from 4:3 to
16:9 and a more sensible file name (year-date-time rather than MOV-hex
code). Files are 25 frames/s and 50 fields/s interlaced. See ffmpeg -i
output of the original file:
ffmpeg -i MOV040.MOD
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c)
2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --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-gpl --enable-postproc --enable-swscale
--enable-x11grab --enable-libdc1394 --extra-
cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-
shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
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 Oct 13 2009 22:35:00, gcc: 4.4.1
Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (25/1)
Input #0, mpeg, from 'MOV040.MOD':
Duration: 00:00:05.72, start: 0.239456, bitrate: 9409 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR
4:3], 9200 kb/s, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
At least one output file must be specified
and the ffmpeg -i output of the converted file:
ffmpeg -i MOV-20081003-074430.mpg
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c)
2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --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-gpl --enable-postproc --enable-swscale
--enable-x11grab --enable-libdc1394 --extra-
cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-
shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
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 Oct 13 2009 22:35:00, gcc: 4.4.1
Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (25/1)
Input #0, mpeg, from 'MOV-20081003-074430.mpg':
Duration: 00:00:05.72, start: 0.239456, bitrate: 9409 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR
16:9], 9200 kb/s, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
At least one output file must be specified.
When I load the MPG file in the viewer window I notice that the field
order is messed up in some frames. In case of a scene with approaching
cars like in attached files, they suddenly jump back. After rendering this
is still present. My end product should be a playable DVD for a TV set, so
I assume I leave it interlaced.
I tried also:
1. simply renaming MOV040.MOD to MOV040MODcopiedto.MPG to exclude any 4:3
to 16:9 conversion error. Same result.
2. Trying Xvid mpeg-4 conversion MOD040.avi. Failed to load in Cinelerra.
3. Converting this .avi back to MPG. This worked out well, except the file
has become progressive.
Am I overlooking anything?
I would prefer not a labourous fix as my project consists of about 700
clips.
--
Ticket URL: <http://bugs.cinelerra.org/ticket/552>
CinelerraCV <http://bugs.cinelerra.org>
My example project
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra