[libav-bugs] [Bug 21] New: MJPEG in AVI, stutter and artifacts

bugzilla-daemon at batanen.kinali.ch bugzilla-daemon at batanen.kinali.ch
Sun Jul 24 02:30:25 CEST 2011


http://bugzilla.libav.org/show_bug.cgi?id=21

           Summary: MJPEG in AVI, stutter and artifacts
           Product: Libav
           Version: git HEAD
          Platform: PC
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavcodec
        AssignedTo: libav-bugs at libav.org
        ReportedBy: tdskywalker at gmail.com


When playing the following sample with ffplay or transcoding it with 
ffmpeg, the video stutters (missing or dropped frames?) and weird horizontal
artifacts appear:

http://localhostr.com/file/1J2xjVu/cartrack.avi
MD5 (cartrack.avi) = bec6565767b35b1f98501a1dcaa1d2ad

ffmpeg -i cartrack.avi -vcodec mpeg4 -sameq -acodec copy 
~/Desktop/out.mkv
ffmpeg version v0.7-510-g8c0fa61, Copyright (c) 2000-2011 the Libav 
developers
  built on Jul 24 2011 01:13:45 with gcc 4.2.1 (Apple Inc. build 5666) 
(dot 3)
  configuration: --extra-cflags=-m64 --extra-ldflags=-m64 --arch=x86_64
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  4. 0 /  2.  4. 0
  libswscale    2.  0. 0 /  2.  0. 0
Input #0, avi, from 'cartrack.avi':
  Duration: 00:00:09.60, start: 0.000000, bitrate: 26001 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 608x464, 29.97 fps, 29.97 tbr, 
29.97 tbn, 29.97 tbc
    Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Incompatible pixel format 'yuvj422p' for codec 'mpeg4', auto-selecting 
format 'yuv420p'
[buffer @ 0x100e01e20] w:608 h:464 pixfmt:yuvj422p
[ffsink @ 0x100e020a0] auto-inserting filter 'auto-inserted scaler 0' 
between the filter 'src' and the filter 'out'
[scale @ 0x100e02380] w:608 h:464 fmt:yuvj422p -> w:608 h:464 
fmt:yuv420p flags:0x4
Output #0, matroska, to '/Users/tim/Desktop/out.mkv':
  Metadata:
    encoder         : Lavf53.3.0
    Stream #0.0: Video: mpeg4, yuv420p, 608x464, q=2-31, 200 kb/s, 1k 
tbn, 29.97 tbc
    Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, 1411 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[mjpeg @ 0x101010200] EOI missing, emulating
    Last message repeated 49 times 1763kB time=4.97 
bitrate=2904.4kbits/s    
frame=   50 fps=  0 q=2.0 Lsize=    3721kB time=9.61 
bitrate=3172.3kbits/s    
video:2062kB audio:1655kB global headers:0kB muxing overhead 0.110059%

QuickTime shows a black screen (no video).

The file was created with a "DC10+" card (Pinnacle?). The MainConcept 
MJPEG decoder (VfW) reportedly handles it fine:

http://www.mainconcept.com/en/products/apps-plug-ins/codecs-
conversion/motion-jpeg.html
https://forum.handbrake.fr/viewtopic.php?f=11&t=21690

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the libav-bugs mailing list