[MPlayer-users] encoding and splitting an avi file

Mihai RUSU dizzy at roedu.net
Tue Feb 4 12:02:55 CET 2003


Hi

Always when using avisplit to split 2 avis I get that problem. To solve it
(sometimes) it works with this:

mencoder -ni -forceidx cd1broken.avi -ovc copy -oac copy -o cd1good.avi

and repeat it for cd2 ...

It worked for me on some movies (but didnt worked too well on others) :)

On Tue, 4 Feb 2003, Catalin Muresan wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> 	Hi,
>
> 	I've encoded a dvd to a 1400Mb file:
>
> -rw-r--r--    1 root     1466608978 Feb  3 22:27 td.avi
>
> 	playback is perfect, etc.
>
> 	I then split it into 2 files:
>
> # avisplit -o td -s 702 -i td.avi
> [avilib] V: 23.976 fps, codec=DIVX, frames=172989, width=720, height=368
> [avilib] A: 48000 Hz, format=0x2000, bits=16, channels=2, bitrate=384 kbps,
> [avilib]    14431 chunks, 346328064 bytes
> [td-0000.avi] (000000-065757), size 701.1 MB
> [td-0001.avi] (065758-172988), size 701.2 MB
>
> # ls -l *000*
> -rw-r--r--    1 root     735191844 Feb  4 11:38 td-0000.avi
> -rw-r--r--    1 root     735224570 Feb  4 11:39 td-0001.avi
>
> 	then i've tried to playback the avis, for the first i get:
>
> A:   8.3 V:   8.1 A-V:  0.254 ct:  0.126  195/195   4% 93%  0.7% 30 0 49%
> Badly interleaved AVI file detected - switching to -ni mode...
>
> 	seek is very very slow, i said "what the hell" and did:
>
> # mencoder td-0000.avi -o td-1.avi -oac copy -ovc copy
> ...
> Pos:  16.0s    383f ( 1%)  31fps Trem:  14min 140mb  A-V:0.042 [654:384]
> Badly interleaved AVI file detected - switching to -ni mode...
> Pos: 231.1s   5541f (22%) 150fps Trem:   2min 176mb  A-V:0.042 [1041:384]]
> ...
> Writing AVI index...
> Fixing AVI header...
> Video stream: 1124.956 kbit/s  (140619 bps)  size: 385672843 bytes  2742.671 secs  65758 frames
> Audio stream:  384.000 kbit/s  (48000 bps)  size: 131688000 bytes  2743.500 secs
>
> # ls -l *-1*
> -rw-r--r--    1 root     root     519105288 Feb  4 12:06 td-1.avi
>
> 	why only 500 or so MB ???
> 	ok, next problem, the 2nd avi:
>
> # mplayer td-0001.avi
> Playing td-0001.avi
> Cache fill:  0.00% (0 bytes)    AVI file format detected.
> VIDEO:  [DIVX]  720x368  24bpp  23.98 fps  1305.8 kbps (159.4 kbyte/s)
> Clip info:
>  Software: transcode-0.6.3.20021219
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
>
>
> MPlayer interrupted by signal 11 in module: init_audio_codec
> - MPlayer crashed by bad usage of CPU/FPU/RAM.
>   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
>   disassembly. For details, see DOCS/bugreports.html#crash.b.
> - MPlayer crashed. This shouldn't happen.
>   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc
>   version. If you think it's MPlayer's fault, please read DOCS/bugreports.html
>   and follow the instructions there. We can't and won't help unless you provide
>   this information when reporting a possible bug.
>
>
> 	is this a "well known" error with some software i'm using ? i did
> something wrong ? if a full bug report is needed, tell me.
>
> 	thankyou
>
>
> /kat
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>

----------------------------
Mihai RUSU

Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.



More information about the MPlayer-users mailing list