Opened 6 years ago

Closed 5 years ago

#2354 closed defect (invalid)

error rotating video

Reported by: Tomislav Owned by: beastd
Priority: normal Component: undetermined
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:

Rotated a video using mencoder. Played back output video using mplayer and the video is broken (video starts without sound, sound starts later on, video stops, sound continues for a while). Tried replaying the output video in totem and it works as expected. Can't tell if it's caused by mplayer or mencoder.

How to reproduce:

% mplayer -v  input
do mencoder in.mp4 -o out.mp4 -vf rotate=0,mirror -ovc lavc -lavcopts vcodec=mpeg4 -ofps 30 -oac lavc

mplayer version: 2.0-701-gd4c5b7f-2ubuntu2
mencoder version: 1.1-4.8 (C) 2000-2012 MPlayer Team

...

Patches should be submitted to the mplayer-dev-eng mailing list and not this bug tracker.

Attachments (2)

in.mp4 (2.2 MB ) - added by Tomislav 6 years ago.
out.mp4 (759.0 KB ) - added by Tomislav 6 years ago.

Change History (4)

by Tomislav, 6 years ago

Attachment: in.mp4 added

by Tomislav, 6 years ago

Attachment: out.mp4 added

in reply to:  description comment:1 by beastd, 6 years ago

Hi!

You're mplayer/mencoder versions look quite old.

The attached files don't help because they lack the moov atom, it's normally written at the end of a file.

You can either use a tiny video to reproduce, or you move the moov atom at the front (with e.g. qt-faststart or whatever program you have available that can do the job) before cutting the video.

comment:2 by compn, 5 years ago

Resolution: invalid
Status: newclosed

you are missing -of lavf for mp4 output but also a terrible command line all around. mencoder is fairly dead. use ffmpeg instead.

Note: See TracTickets for help on using tickets.