[MPlayer-users] repeating edl
Gilles Pelletier
pellgill at gmail.com
Wed Apr 23 20:34:56 CEST 2008
On Tue, Apr 22, 2008 at 5:38 PM, The Wanderer
<inverseparadox at comcast.net> wrote:
> Gilles Pelletier wrote:
>
> > I want to cut out two bad sections of my video, using edl tips that I
> > got from this list.
> > I am testing the edl command on mplayer in order to eventually edit
> > my videos using mencoder.
> > Using -edlout, I created a file containing the following:
> > 0.899991 1.299987 0
> > 3.033303 3.299967 0
> > When I play the file using the following command:
> > mplayer -msglevel identify=6 -geometry 100%:0 -edl edit videos/00263.avi
> > the video repeately plays to .9 seconds then starts over.
>
> My (only mildly informed) guess would be that it is reaching that point,
> attempting to seek to 3.033303 seconds, and finding that the closest
> point it can reach is 0 - so it starts over at the beginning. If that is
> the cause, then I *think* that MEncoder, using -hr-edl-seek, should not
> have this problem.
>
> --
> The Wanderer
>
> My usual .sig is on vacation while I adjust to my new computer
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
Also the following command:
$ mplayer -msglevel identify=6 -geometry 100%:0 -ss 0.9 -endpos 1.3
videos/00263.avi
gives the following output if I press '.' as soon as possible:
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing videos/00263.avi.
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO: [MJPG] 640x480 24bpp 30.000 fps 9477.2 kbps (1156.9 kbyte/s)
Clip info:
Digitization Time: Sun Mar 2 16:24:34 2008
ID_CLIP_INFO_NAME0=Digitization Time
ID_CLIP_INFO_VALUE0=Sun Mar 2 16:24:34 2008
Software: CanonMVI06
ID_CLIP_INFO_NAME1=Software
ID_CLIP_INFO_VALUE1=CanonMVI06
ID_CLIP_INFO_N=2
ID_FILENAME=videos/00263.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=MJPG
ID_VIDEO_BITRATE=9477208
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=1411200
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.03
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
ID_VIDEO_CODEC=ffmjpeg
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
ID_AUDIO_BITRATE=1411200
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO_ALSA] alsa-lib: pcm_hw.c:1099:(snd_pcm_hw_open) open
/dev/snd/pcmC0D0p failed: No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x876e990]SwScaler: BICUBIC scaler, from yuv422p to
yuv420p using MMX2
[swscaler @ 0x876e990]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x876e990]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x876e990]SwScaler: using 1-tap MMX "scaler" for vertical
scaling (YV12 like)
[swscaler @ 0x876e990]SwScaler: 640x480 -> 640x480
VO: [xv] 640x480 => 640x480 Planar YV12
V: 0.1 3/ 3 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.1 4/ 4 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.1 5/ 5 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.2 6/ 6 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.2 7/ 7 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.2 8/ 8 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.3 9/ 9 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.3 10/ 10 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.3 11/ 11 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.4 12/ 12 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.4 13/ 13 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.4 14/ 14 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.5 15/ 15 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.5 16/ 16 ??% ??% ??,?% 0 0
ID_PAUSEDPAUSE =====
V: 0.5 17/ 17 42% 22% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.6 18/ 18 40% 22% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.6 19/ 19 39% 22% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.6 20/ 20 38% 21% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.7 21/ 21 37% 21% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.7 22/ 22 37% 21% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.7 23/ 23 36% 21% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.8 24/ 24 35% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.8 25/ 25 34% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.8 26/ 26 34% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.9 27/ 27 33% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.9 28/ 28 33% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 0.9 29/ 29 32% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 1.0 30/ 30 32% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 1.0 31/ 31 32% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 1.0 32/ 32 31% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 1.1 33/ 33 31% 20% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 1.1 34/ 34 31% 19% 0.0% 0 0
ID_PAUSEDPAUSE =====
V: 2.2 68/ 68 26% 18% 0.0% 0 0
Exiting... (End of file)
[gillesg at localhost BaptemeCorali]$
As you can see, it begins before 0.9 and ends properly. I guess the
difference between the 2.3 and the 2.2 must be due to the keyframe
locations?
More information about the MPlayer-users
mailing list