[MPlayer-users] mencoder -endpos <size>mb does not work, neither does mplayer -sb XXXXX -dumpstream

Jouni.Lohikoski@iki.fi jlohikos at cc.hut.fi
Tue Jan 3 14:45:44 CET 2006


Nico Sabbi wrote:
> -endpos takes a TIME value, not size

>From Mplayer/Mencoder manual:
"
-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see -ss and -sb)
              Stop encoding at the given time or byte position.
              NOTE: Byte position will not be accurate, as it can  only  stop
              at a frame boundary.

              EXAMPLE:
                 -endpos 56
                      Encode only 56 seconds.
                 -endpos 01:10:00
                      Encode only 1 hour 10 minutes.
                 -endpos 100mb
                      Encode only 100 MBytes.
"
>> 2) for the 2nd part of the split
> wmv is seekable, use the first approach

First approach, if you mean with mencoder, does not work.

$ mencoder -v -sb 409993216 video1.wmv -ovc copy -oac copy -mc 0 -noskip -o video2.wmv

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MEncoder 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Duron Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi

init_freetype
get_path('font/font.desc') -> '/home/jlo/.mplayer/font/font.desc'
font: can't open file: /home/jlo/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 565284864 bytes
STREAM: [file] video1.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x21b19000
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename video1.wmv ext: .wmv
Trying demuxer 6 based on filename extension
ASF_check: not ASF guid!
demuxer: continue fuzzy content-based format guessing...
Checking for MOV
Checking for VIVO
AVS: avs_check_file - attempting to open file video1.wmv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 410061738, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=13747 size=164195064
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 174
Not MPEG System Stream format... (maybe Transport Stream?)
Checking for DV
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish!
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...




More information about the MPlayer-users mailing list