Video shearing

macOS specific usage questions
BlahUser
New Cone
New Cone
Posts: 8
Joined: 20 Feb 2008 23:47

Video shearing

Postby BlahUser » 20 Feb 2008 23:51

Hello,

On some videos that I created using ffmpeg from a series of static pictures, the image is always sheared. It plays fine in other players (quicktime etc)
I have had this happen for lots of different videos, it is not isolated.
ffmpeg -r 10 -b 1800 -i Frame%d.png test1800.mp4
I am using 0.8.6d Janus

Does anyone know what is causing this, or how to resolve this issue. I am happy to post the offending video or a screenshot somewhere if it helps

Thankyou

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video shearing

Postby Jean-Baptiste Kempf » 21 Feb 2008 08:49

messages ?
Samples ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

BlahUser
New Cone
New Cone
Posts: 8
Joined: 20 Feb 2008 23:47

Re: Video shearing

Postby BlahUser » 23 Feb 2008 07:31

Hello,

I have posted an example video and screenshot here:

http://rapidshare.com/files/94150260/test.mp4.html
http://rapidshare.com/files/94150680/Picture_1.png.html

Apologies for the terrible hosting service :( If any more information is needed let me know what to do!

Output from running VLC from the command line then using the menu to navigate to the file, with verbose (level 2) output:
[00000001] main private debug: opening config file /Users/BlahUser/Library/Preferences/VLC/vlcrc
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /Users/BlahUser/Library/Preferences/VLC/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `./modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `./plugins'
[00000001] main private debug: module bank initialized, found 210 modules
[00000001] main private debug: opening config file /Users/BlahUser/Library/Preferences/VLC/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000273] main playlist debug: waiting for thread completion
[00000273] main playlist debug: thread 42023424 (playlist) created at priority -47 (playlist/playlist.c:184)
[00000274] main private debug: waiting for thread completion
[00000274] main private debug: thread 42048512 (preparser) created at priority -47 (playlist/playlist.c:210)
[00000275] main interface debug: looking for interface module: 1 candidate
[00000275] main interface debug: using interface module "hotkeys"
[00000275] main interface debug: thread 42915328 (interface) created at priority -47 (interface/interface.c:198)
[00000277] main interface debug: looking for interface module: 3 candidates
[00000277] main interface debug: using interface module "macosx"
[00000277] main interface debug: thread 41963008 (manage) created at priority -47 (interface/interface.c:164)
[00000273] main playlist debug: adding playlist item `test.mp4' ( file:///Users/BlahUser/VideoDir/test.mp4 )
[00000273] main playlist debug: creating new input thread
[00000278] main input debug: waiting for thread completion
[00000278] main input debug: thread 43501056 (input) created at priority 37 (input/input.c:265)
[00000278] main input debug: creating statistics handler
[00000278] main input debug: `file:///Users/BlahUser/VideoDir/test.mp4' gives access `file' demux `' path `/Users/BlahUser/VideoDir/test.mp4'
[00000278] main input debug: creating demux: access='file' demux='' path='/Users/BlahUser/VideoDir/test.mp4'
[00000280] main demuxer debug: looking for access_demux module: 0 candidates
[00000280] main demuxer warning: no access_demux module matched "file"
[00000278] main input debug: creating access 'file' path='/Users/BlahUser/VideoDir/test.mp4'
[00000281] main access debug: looking for access2 module: 6 candidates
[00000281] access_file access debug: opening file `/Users/BlahUser/VideoDir/test.mp4'
[00000281] main access debug: using access2 module "access_file"
[00000283] main private debug: pre-buffering...
[00000283] main private debug: received first data for our buffer
[00000278] main input debug: creating demux: access='file' demux='' path='/Users/BlahUser/VideoDir/test.mp4'
[00000284] main demuxer debug: looking for demux2 module: 44 candidates
[00000283] mp4 private debug: found Box: ftyp size 20
[00000283] mp4 private debug: found Box: free size 8
[00000283] mp4 private debug: skip box: "free"
[00000283] mp4 private debug: found Box: mdat size 1259964
[00000283] mp4 private debug: skip box: "mdat"
[00000283] mp4 private debug: found Box: moov size 1853
[00000283] mp4 private debug: found Box: mvhd size 108
[00000283] mp4 private debug: read box: "mvhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s time scale 1000 duration 694977d-48h:00m:00s rate 1.000000 volume 1.000000 next track id 2
[00000283] mp4 private debug: found Box: trak size 1729
[00000283] mp4 private debug: found Box: tkhd size 92
[00000283] mp4 private debug: read box: "tkhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s duration 706580805d-17h:46m:40s track ID 1 layer 0 volume 0.000000 width 865.000000 height 796.000000
[00000283] mp4 private debug: found Box: mdia size 1629
[00000283] mp4 private debug: found Box: mdhd size 32
[00000283] mp4 private debug: read box: "mdhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s time scale 10 duration 694977d-48h:02m:22s language und
[00000283] mp4 private debug: found Box: hdlr size 45
[00000283] mp4 private debug: read box: "hdlr" handler type vide name
VideoHandler
[00000283] mp4 private debug: found Box: minf size 1544
[00000283] mp4 private debug: found Box: vmhd size 20
[00000283] mp4 private debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0)
[00000283] mp4 private debug: found Box: dinf size 36
[00000283] mp4 private debug: found Box: dref size 28
[00000283] mp4 private debug: found Box: url size 12
[00000283] mp4 private debug: read box: "url" url: (null)
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: read box: "dref" entry-count 1
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: found Box: stbl size 1480
[00000283] mp4 private debug: found Box: stsd size 184
[00000283] mp4 private debug: found Box: mp4v size 168
[00000283] mp4 private debug: found Box: esds size 82
[00000283] mp4 private debug: found esds MPEG4ESDescr (68Bytes)
[00000283] mp4 private debug: found esds MP4DecConfigDescr (60Bytes)
[00000283] mp4 private debug: found esds MP4DecSpecificDescr (45Bytes)
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: read box: "vide" in stsd 865x796 depth 24
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: read box: "stsd" entry-count 1
[00000283] mp4 private debug: found Box: stts size 24
[00000283] mp4 private debug: read box: "stts" entry-count 1
[00000283] mp4 private debug: found Box: stss size 64
[00000283] mp4 private debug: read box: "stss" entry-count 12
[00000283] mp4 private debug: found Box: stsc size 28
[00000283] mp4 private debug: read box: "stsc" entry-count 1
[00000283] mp4 private debug: found Box: stsz size 588
[00000283] mp4 private debug: read box: "stsz" sample-size 0 sample-count 142
[00000283] mp4 private debug: found Box: stco size 584
[00000283] mp4 private debug: read box: "co64" entry-count 142
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: found Box: udta size 8
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: out of bound child
[00000283] mp4 private debug: dumping root Box "root"
[00000283] mp4 private debug: | + ftyp size 20
[00000283] mp4 private debug: | + free size 8
[00000283] mp4 private debug: | + mdat size 1259964
[00000283] mp4 private debug: | + moov size 1853
[00000283] mp4 private debug: | | + mvhd size 108
[00000283] mp4 private debug: | | + trak size 1729
[00000283] mp4 private debug: | | | + tkhd size 92
[00000283] mp4 private debug: | | | + mdia size 1629
[00000283] mp4 private debug: | | | | + mdhd size 32
[00000283] mp4 private debug: | | | | + hdlr size 45
[00000283] mp4 private debug: | | | | + minf size 1544
[00000283] mp4 private debug: | | | | | + vmhd size 20
[00000283] mp4 private debug: | | | | | + dinf size 36
[00000283] mp4 private debug: | | | | | | + dref size 28
[00000283] mp4 private debug: | | | | | | | + url size 12
[00000283] mp4 private debug: | | | | | + stbl size 1480
[00000283] mp4 private debug: | | | | | | + stsd size 184
[00000283] mp4 private debug: | | | | | | | + mp4v size 168
[00000283] mp4 private debug: | | | | | | | | + esds size 82
[00000283] mp4 private debug: | | | | | | + stts size 24
[00000283] mp4 private debug: | | | | | | + stss size 64
[00000283] mp4 private debug: | | | | | | + stsc size 28
[00000283] mp4 private debug: | | | | | | + stsz size 588
[00000283] mp4 private debug: | | | | | | + stco size 584
[00000283] mp4 private debug: | | + udta size 8
[00000284] mp4 demuxer debug: ISO Media file (isom) version 512.
[00000284] mp4 demuxer debug: find 1 tracks
[00000284] mp4 demuxer debug: track[Id 0x1] read 142 chunk
[00000284] mp4 demuxer debug: track[Id 0x1] read 142 samples length:14s
[00000278] main input debug: selecting program id=0
[00000284] mp4 demuxer debug: adding track[Id 0x1] video (enable) language undef
[00000284] main demuxer debug: using demux2 module "mp4"
[00000284] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!
[00000278] main input debug: looking for a subtitle file in /Users/BlahUser/VideoDir/
[00000286] main decoder debug: looking for decoder module: 25 candidates
[00000277] macosx interface debug: input has changed, refreshing interface
[00000286] ffmpeg decoder debug: libavcodec initialized (interface 3349504 )
[00000286] ffmpeg decoder debug: postprocessing disabled
[00000286] ffmpeg decoder debug: using direct rendering
[00000286] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000286] main decoder debug: using decoder module "ffmpeg"
[00000286] main decoder debug: thread 44621824 (decoder) created at priority -47 (input/decoder.c:159)
[00000278] main input debug: `file:///Users/BlahUser/VideoDir/test.mp4' successfully opened
[00000284] mp4 demuxer debug: track[Id 0x1] using Sync Sample Box (stss)
[00000284] mp4 demuxer debug: stts gives 0 --> 0 (sample number)
[00000286] ffmpeg decoder debug: disabling direct rendering
[00000286] main decoder debug: no usable vout present, spawning one
[00000309] main video output debug: window size: 865x796
[00000309] main video output debug: looking for video output module: 4 candidates
[00000309] opengl video output debug: Texture size: 865x796
[00000312] main private debug: looking for opengl provider module: 1 candidate
[00000312] macosx private debug: display is Quartz Extreme accelerated
[00000312] main private debug: using opengl provider module "macosx"
[00000309] main video output debug: using video output module "opengl"
[00000309] main video output debug: waiting for thread completion
[00000309] main video output debug: got 1 direct buffer(s)
[00000309] main video output debug: picture in 865x796 (0,0,865x796), chroma I420, ar 469447:432000, sar 1:1
[00000309] main video output debug: picture user 865x796 (0,0,865x796), chroma I420, ar 469447:432000, sar 1:1
[00000309] main video output debug: picture out 865x796 (0,0,865x796), chroma UYVY, ar 469447:432000, sar 1:1
[00000309] main video output debug: looking for chroma module: 9 candidates
[00000309] ffmpeg video output debug: no resampling
[00000309] ffmpeg video output debug: libavcodec already initialized
[00000309] main video output debug: using chroma module "ffmpeg"
[00000309] main video output debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
[00000309] main video output debug: thread 45243904 (video output) created at priority 37 (video_output/video_output.c:421)
[00000310] main private debug: Registering subpicture channel, ID: 2
[00000310] main private debug: Registering subpicture channel, ID: 3
[00000310] main private debug: Registering subpicture channel, ID: 4
[00000310] main private debug: Registering subpicture channel, ID: 5
[00000278] main input debug: EOF reached
[00000277] macosx interface debug: input has stopped, refreshing interface
[00000278] main input debug: closing input
[00000284] mp4 demuxer debug: freeing all memory
[00000284] main demuxer debug: removing module "mp4"
[00000281] main access debug: removing module "access_file"
[00000286] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000286] main decoder debug: removing module "ffmpeg"
[00000286] main decoder debug: thread 44621824 joined (input/decoder.c:191)
[00000286] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000278] main input debug: thread 43501056 joined (input/input.c:412)
[00000273] main playlist: nothing to play
[00000273] main playlist debug: garbage collector destroys 1 vout
[00000309] main video output debug: removing module "ffmpeg"
[00000312] main private debug: removing module "macosx"
[00000309] main video output debug: removing module "opengl"
[00000309] main video output debug: thread 45243904 joined (video_output/video_output.c:461)
[00000001] main private debug: removing all interfaces
[00000277] main interface debug: thread 41963008 joined (interface/interface.c:258)
[00000277] main interface debug: removing module "macosx"
[00000275] main interface debug: thread 42915328 joined (interface/interface.c:258)
[00000275] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000274] main private debug: thread 42048512 joined (playlist/playlist.c:247)
[00000273] main playlist debug: thread 42023424 joined (playlist/playlist.c:248)
[00000273] main playlist: stopping playback
[00000273] main playlist debug: deleting playlist item `test.mp4'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: saving plugins cache file /Users/BlahUser/Library/Preferences/VLC/cache/plugins-04041e.dat
Here is the output from ffmpeg, when I encoded the pngs (the PNGs were created from TIFFS, using imagemagick):
ffmpeg -r 10 -b 1800 -i Frame%d.png test.mp4
FFmpeg version SVN-r6596, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --libdir=/usr/ --enable-mp3lame --cpu=pentium4
libavutil version: 49.0.1
libavcodec version: 51.16.0
libavformat version: 50.5.0
built on Oct 9 2006 12:54:29, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
Input #0, image2, from 'Frame%d.png':
Duration: 00:00:14.2, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, rgb24, 865x796, 10.00 fps(r)
Output #0, mp4, to 'test.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 865x796, q=2-31, 1 kb/s, 10.00 fps(c]
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 142 q=31.0 Lsize= 1232kB time=14.2 bitrate= 710.9kbits/s
video:1230kB audio:0kB global headers:0kB muxing overhead 0.146349%

BlahUser
New Cone
New Cone
Posts: 8
Joined: 20 Feb 2008 23:47

Re: Video shearing

Postby BlahUser » 26 Mar 2009 04:49

Update:

Last time i was using macOSX 10.4 with x86; this time its on a powerbook G4 (Grishenko 0.9.8) -- I have uploaded new screenshots and a video sample (links below). With the same file the error doesn't happen under debian lenny.

Updated Links:
http://dhd.selfip.com/427e/data.avi (4MB)
http://dhd.selfip.com/427e/vlc-shear.png (176KB)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video shearing

Postby Jean-Baptiste Kempf » 28 Mar 2009 23:11

Forbidden .avi.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

BlahUser
New Cone
New Cone
Posts: 8
Joined: 20 Feb 2008 23:47

Re: Video shearing

Postby BlahUser » 29 Mar 2009 05:42

Sorry, fixed

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video shearing

Postby Jean-Baptiste Kempf » 29 Mar 2009 12:48

Works perfectly on Linux and Windows using 0.9.9 and 1.0.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests