aus fertig gerendertem MPG Video einen Teil herausschneiden?

Stefan Ulrich Hegner stefan at hegner-online.de
Tue Aug 12 14:27:50 CEST 2003


Hi Maik,

Maik Holtkamp wrote:
> Falls die das nicht koennen schau Dir transcode an, die Optionen
> sind aber etwas umfangreicher. Wenn premiere alle Parameter richtig
> gesetzt hat koennte evtl. sowas helfen:
> 
> transcode -i <Dein.mpg> -P 3 -J cut=<1-1000 1250-12500> -o neues.mpg

... da macht er mit dem  Audio-Input-Plugin Ärger

hegi:/mnt/Gerendert #  transcode -i file-alt.mpg -o file-neu.mpg -P 3 \
-J cut=1-69875,cut=80475-90000

transcode v0.6.2 (C) 2001-2002 Thomas Östreich
[transcode] auto-probing source Hochzeit01.mpg (ok)
[transcode] V: import format    | MPEG    (V=mpeg2|A=mp3)
[transcode] V: AV demux/sync    | (0) sync AV at PTS start - demuxer disabled
[transcode] V: pass-through     | yes
[transcode] V: import frame     | 480x576  0.83:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.260
[transcode] V: encoding fps     | 25.000
[transcode] A: import format    | 0x50    MPEG layer-2 [44100,16,2]  128 kbps
[transcode] A: export format    | 0x1     PCM          [44100,16,2]  128 kbps
[transcode] A: bytes per frame  | 7056 (7056.000000)
[transcode] A: adjustment       | 0 at 1000
[transcode] A: AV shift         | 240 ms [ 6 (A) | 0 ms ]
[transcode] A: pass-through     | yes
[transcode] V: IA32 accel mode  | sse (sse mmxext mmx asm)
[import_mp3.so] v0.1.1 (2001-10-10) (audio) MPEG
(decoder.c) audio codec not supported by import module
[transcode] failed to init import modules
critical error: plug-in initialization failed - exit

 > willst. Wenn Du mit mplayer das mpeg abspielst, kannst Du die
 > passsenden frames sehen. Wenn passthrough nicht geht sollte:

Wie sehe ich die Frames? Also im GUI Modus habe ich da nix gefunden und im
Consolen Modus, krieg ich Ihn nicht dazu das zu machen was er soll. Da die
Schnitte nicht sehr genau sein müssen habe ich sec x 25fps gerechnet. Ist 
zwar blöd, aber wenn der Rest klappt, sollte das nicht das Problem sein.

Ohne Passthrough komme ich leider auch nicht wirklich weiter. Da sacht mir 
Transcode:

hegi:/mnt/Gerendert #  transcode -i file-alt.mpg -o file-neu.mpg -V -J \
cut=1-69875,cut=80475-90000 -y mpeg2enc,mp2enc -F 4,"-S 10000"

transcode v0.6.2 (C) 2001-2002 Thomas Östreich
[transcode] auto-probing source Hochzeit01.mpg (ok)
[transcode] V: import format    | MPEG    (V=mpeg2|A=mp3)
[transcode] V: AV demux/sync    | (0) sync AV at PTS start - demuxer disabled
[transcode] V: import frame     | 480x576  0.83:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.260
[transcode] V: encoding fps     | 25.000
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x50    MPEG layer-2 [44100,16,2]  128 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [44100,16,2]  128 kbps
[transcode] A: bytes per frame  | 7056 (7056.000000)
[transcode] A: adjustment       | 0 at 1000
[transcode] A: AV shift         | 240 ms [ 6 (A) | 0 ms ]
[transcode] V: IA32 accel mode  | sse (sse mmxext mmx asm)
[import_mp3.so] v0.1.1 (2001-10-10) (audio) MPEG
[import_mpeg2.so] v0.2.2 (2001-08-03) (video) MPEG2
[filter_cut.so] v0.0.3 (2002-06-11) encode only listed frames
[filter_cut.so] selecting frames 1-69875
[filter_cut.so] v0.0.3 (2002-06-11) encode only listed frames
[filter_cut.so] selecting frames 80475-90000
[export_mp2enc.so] v1.0.3 (2002-06-05) (audio) MPEG 1/2
[export_mpeg2enc.so] v1.1.2 (2002-06-05) (video) MPEG 1/2
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Hochzeit01.mpg" -x mp3 -d 0 | tcdecode 
-x mp3
  -d 0
[import_mpeg2.so] tcextract -x mpeg2 -i "Hochzeit01.mpg" -d 0 | tcdecode 
-x mpeg
2 -d 0 -y yv12
[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -f 4 -F 3 -n p  -a 2 -o 
"Hochzeit-cut.mpg
".m2v -S 10000
[export_mp2enc.so] (56/4095) cmd=mp2enc -v 0 -r 44100 -b 128 -s -o 
"Hochzeit-cut
.mpg".mpa
++ WARN: [mp2enc] File length according data tag: 44
++ WARN: [mp2enc] File length according RIFF tag: 8
++ WARN: [mp2enc] Inconsistency is inevitable if wav's are being piped
**ERROR: [mp2enc] Error reading wave data
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled 
in by "vcdimager"
++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn 
this off
using -d

clean up | frame threads | unload modules | internal threads | done
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length   0.00 s

... Hast'e 'ne Idee woran das hakt?

Danke

Stefan.


-- 
  /\_____/ "hegi" alias Stefan U. Hegner; Loehne/ Westf.; Germany \_____/\
| http://www.hegner-web.de \_/ alt. URL: http://www.cam.net.uk/home/hegi |
  \ stefan at hegner-online.de / \ alt. mail: Stefan.Hegner at home.cam.net.uk /





More information about the Linux mailing list