#2064 closed defect (fixed)
Neverending process mencoder when using "-oac copy -ovc copy"
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | mencoder |
Version: | 1.0rc4 | Severity: | critical |
Keywords: | Cc: | compn | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The bug is very new. It appeared since my last MPlayer update this week using YaST. I use openSUSE 11.4.
My new MPlayer containing the bug is MPlayer-1.0rc4_r34866-2.1.i586. No newer update availubla until now.
The bug appears with following codec when using "mencoder -oac copy -ovc copy ...":
libavformat version 54.3.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 640x360 24bpp 25.000 fps 672.1 kbps (82.0 kbyte/s)
Load subtitles in /tmp/ogg/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.14.101 (internal)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
For example I want to correct aspect ratio:
mencoder -oac copy -ovc copy -force-avi-aspect 1.33 in.avi -o out1.avi
Then output file is written, but very fast neverending "Skipping frame!" appears after written output file, mencoder doesn't end.
Skipping frame!
Pos: 454.9s 33532f (100%) 7664.46fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Pos: 454.9s 33533f (100%) 7664.69fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Pos: 454.9s 33534f (100%) 7664.91fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Pos: 454.9s 33535f (100%) 7665.14fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Pos: 454.9s 33536f (100%) 7665.37fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Cs: 454.9s 33537f (100%) 7665.60fps Trem: 0min 42mb A-V:0.040 [658:127]
Skipping frame!
Pos: 454.9s 33538f (100%) 7660.58fps Trem: 0min 42mb A-V:0.040 [658:127]
I end mencoder with ctrl-c, process ends:
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Video stream: 658.986 kbit/s (82373 B/s) size: 37469941 bytes 454.880 secs 33538 frames
Audio stream: 128.000 kbit/s (15999 B/s) size: 7278341 bytes 454.896 secs
Then I did:
mencoder -oac copy -ovc copy -force-avi-aspect 1.33 in.avi -o out2.avi
Aborted again with ctrl-c.
Then compared out1.avi and out2.avi using md5sum. The same md5sum. Files are identic.
mplayer plays the output file with correct 1.33 aspect. So output file is complete and ok.
But when putting 2 files together this bug is devastating:
mencoder -oac copy -ovc copy in1.avi in2.avi -o out.avi
It only copies in1.avi to out.avi.
Again neverending "Skipping frame!" and mencoder doesn't end until ctrl-c.
The bug did never appear before when processing this codec. I do aspect ratio correction and putting files together using mencoder every day.
The bug is new.
I didn't test video files with other codecs.
I can test and provide more information if needed.
Change History (6)
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Author: reimar
Date: Wed May 2 20:57:24 2012
New Revision: 34884
Log:
mencoder: Fix hang with -ovc copy or -ovc frameno.
It was introduced in r34860.
comment:3 by , 12 years ago
Keywords: | VERIFIED added |
---|---|
Resolution: | fixed → later |
could you try using mencoder from svn ?
No sorry.
Don't want to install all the libraries for compiling.
Don't want to install software outside of software management tool of my distro.
This PC isn't used for software experiments.
I will wait for the next MPlayer update in software management tool of my distro.
There are MPlayer updates by PackMan about once a month.
I will report.
comment:4 by , 12 years ago
New update was available today:
MPlayer-1.0rc4_r34866-3.1.i586
I installed it.
Bug is still there.
Problem not solved.
comment:5 by , 12 years ago
As the commit message indicates, it was fixed in r34884.
So there is no point in testing versions older than this. By its name, yours is still 18 revisions to old to have that fix.
comment:6 by , 12 years ago
Keywords: | VERIFIED removed |
---|---|
Resolution: | later → fixed |
I installed new MPlayer-1.0rc4_r34962-1.1.i586 today.
Bug is away.
Problem solved.
I met the guy who makes MPlayer packages for Suse on #packman on irc.freenode.net and described the problem. He made rpm from source.
could you try using mencoder from svn ? sometimes distros change and break things.