Re: Découpage de fichier mpg

Top Page

Reply to this message
Author: Frédéric Mantegazza
Date:  
To: guilde
Subject: Re: Découpage de fichier mpg
On Tuesday 18 September 2007 19:44, Mathieu L. wrote:

> mencoder -o smallpart.mgp -oac copy -ovc copy -ss xx:xx:xx -endpos
> yy:yy:yy input.mpg


Bon, ça a bien marché ! Par contre, le fichier résultant n'est lisible que
par mplayer ; ni xine ni vlc n'arrive à le lire, alors qu'ils arrivent à
lire l'original...

Si j'abusais, je vous demanderais comment le convertir en DV, pour pouvoir
l'éditer dans Kino... Car j'ai essayé de l'importer : il a mouliné 1
heure, pour dire que le format à la fin n'était pas lisible... Pas glop.

MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (Family: 15, Model: 2,
Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0xc424bae
AVI file format detected.
VIDEO: [] 544x576 24bpp 25.000 fps 2544.9 kbps (310.7 kbyte/s)
[V] filefmt:3 fourcc:0x10000002 size:544x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [dsize=4:3]
Opening video filter: [expand w=720 h=540]
Expand: 720 x 540, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 544 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VDec: vo config request - 544 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 6 -> 5
SwScaler: reducing / aligning filtersize 6 -> 5
[swscaler @ 0x8412910]SwScaler: BICUBIC scaler, from yuv420p to yuv420p
using MMX2
[swscaler @ 0x8412910]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x8412910]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x8412910]SwScaler: using n-tap MMX scaler for vertical scaling
(YV12 like)
[swscaler @ 0x8412910]SwScaler: 544x576 -> 720x540
videocodec: libavcodec (720x540 fourcc=31564646 [FFV1])
New_Face failed. Maybe the font path is wrong.n 0mb A-V:0.004 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.

1 duplicate frame(s)!
>> on_main_window_unmap_event13fps Trem: 13min 2367mb A-V:0.056

[31934:1536]
>> on_main_window_map_event6.43fps Trem: 13min 2408mb A-V:0.044

[32163:1536]
>> on_main_window_unmap_event36fps Trem: 13min 2367mb A-V:0.045

[31882:1536]
>> on_main_window_map_event5.27fps Trem: 12min 2428mb A-V:0.058

[32452:1536]
>> on_main_window_unmap_event20fps Trem: 12min 2421mb A-V:0.045

[32471:1536]
ODML: Starting new RIFF chunk at 1023MB. 9min 2380mb A-V:0.044
[31754:1536]
ODML: Starting new RIFF chunk at 2047MB. 2min 2422mb A-V:0.045
[32369:1536]
>> on_main_window_map_event4.81fps Trem: 0min 2431mb A-V:0.056

[32469:1536]
Pos: 600.0s 15001f (100%) 14.80fps Trem: 0min 2430mb A-V:0.041
[32486:1536]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream: 32486.999 kbit/s (4060874 B/s) size: 2436524908 bytes
600.000 secs 15001 frames

Audio stream: 1536.000 kbit/s (192000 B/s) size: 115200000 bytes 600.000
secs
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et
al.

configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-xvid --enable-libdts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache
cc --enable-swscaler
libavutil version: 49.4.0
libavcodec version: 51.40.2
libavformat version: 51.11.0
built on Mar 29 2007 11:08:52, gcc: 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)
Input #0, avi, from '/data/videos/cdfdlm-part.mpg.avi':
Duration: 00:10:00.0, start: 0.000000, bitrate: 34028 kb/s
Stream #0.0: Video: ffv1, 720x540, 25.00 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
swScaler: Unknown format is not supported as input format
Cannot get resampling context
>>> Received playlist to store at position 0
>>>> Adding to end
>> Leaving Editor
>> Left Editor
>> Starting Editor



--
Frédéric

http://www.gbiloba.org