[MPlayer-users] Seing blocks when joining short movies

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Apr 8 17:09:45 CEST 2013


On Sun, Apr 07, 2013 at 04:36:44PM +0200, houghi wrote:
> I am trying to write a bash script that shows one second of every minute
> I recorded. So I first break up the large movie into smaller files. Then I
> join them all. The camera used is a gopro Hero 2 and filling is in 1080p
> 25pfs
> 
> The script I use:
> 
> #!/bin/bash
> for I in `seq 0 60 5760`
> do
> 	mencoder -ss $MIN -endpos 1 -oac pcm -ovc copy in.mp4 -o out.$MIN.mp4
> done
> FILES=$(ls out.*.mp4)
> mencoder -oac pcm -ovc copy -o out.mp4 $FILES

You need -noskip -mc 0 with -ovc copy.
However for many reasons, among others compression, you should probably
use uncompressed video for the intermediate formats and encode only in
this last step.
That will also avoid the -noskip issue.


More information about the MPlayer-users mailing list