Linux Archive

Linux Archive (
-   Ubuntu User (
-   -   cut a movie (ffmpeg, vlc, mplayer, gstreamer) (

Thibaut 11-19-2009 07:12 AM

cut a movie (ffmpeg, vlc, mplayer, gstreamer)

I try to cut a movie I just recorded from a rtsp server.

The movie is:

$ ffmpeg -i mymovie.avi


Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (25/1)
Input #0, avi, from 'La-revanche-de-Staline.avi':
Duration: 00:00:00.50, start: 0.000000, bitrate: -2147483 kb/s
Stream #0.0: Video: mpeg2video, yuv420p, 480x576 [PAR 32:15 DAR
16:9], 15000 kb/s, 25 tbr, 25 tbn, 50 tbc
Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified

I tried:
mencoder -ss 00:04:48 -endpos 00:51:00 -ovc copy -oac copy mymovie.avi
-o result.avi
but it cuts just the end of the movie. Not the first 4 minutes

ffmpeg -sameq -ss 310 -t 3162 -i mymovie result.avi
It work perfectly fine for the video but not for the sound

Do you have a solution ?
(a solution with gstreamer would be perfect)

Any idea?

ubuntu-users mailing list
Modify settings or unsubscribe at:

All times are GMT. The time now is 11:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.