[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Retation af video



On Mon, 25 Jul 2011 10:14:34 +0200
Henrik Pedersen <sslug@sslug> wrote:

> > ffmpeg -vf "transpose=1"  -i MVI_9507.avi rotated9507.avi
> > 
> 
> Kommandoen er 
> ffmpeg -i VID_20110708_192555.3gp -vf transpose=1 Seb_1.mp4
> Filmen afspiller fint med mplayer, og som nævnt kan mplayer også
> rotere den ved visning.

Så må forklaringen være, at mplayer har en codec som ffmpeg ikke
har. 

Du skrev at ffmpeg bl.a. giver denne fejlmedd:

PAR 65536:65536 DAR 3:2, 30.02 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 1945-07-07 17:27:21
[mp4 @ 0x95c9e60] Frame rate very high for a muxer not effciciently 
supporting it.
Please consider specifiying a lower framerate, a different muxer or -vsync 2 

Den siger framerate er vanvittig høj, 90000 (der er ikke noget
udstyr som kan vise 90000 billeder i sek.) Framerate er ofte 24, 25
eller 30 for mest anvendte HD formater til broadcast.

-r for framerate:

ffmpeg -r 25 -vf "hflip" -i in.3gp ut.mp4


Hvis ffmpeg melder fejl på bitrate, har du så prøvet at sætte
bitrate? I stil med dette:

ffmpeg -b 2000k -minrate 2000k -maxrate 2000k -i in.3gp ut.mp4


Hvis du bruger et andet "video-filter" (-vf <filter=funktion) 
som fx. fade, får du så samme fejl?

ffmpeg  -vf "fade:0:10" -i VID_20110708*.3gp Seb_1.mp4


Jeg kan desværre kun gætte, har ikke samme fejl her, men hvis
ovf.foreslåede "swap-tests" alle fejler med besked om at framerate
er umanerlig høj, så gætter jeg at ffmpeg ikke læse videoformatet
korrekt eller ikke (som mplayer) kan gætte at der er noget galt og
korrigere fejl (mplayer er fantastisk tolerant og smart). List
de kendte formater med kommandoen:

 # ffmpeg -formats 

File formats:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E 3g2             3GP2 format
  E 3gp             3GP format

Læg mærke til at DEMUXING (udskilning af multiplexede
input filer) ikke er supported for .3gp formatet.


Kort sagt gætter jeg at ffmpeg ikke kan håndtere .3gp formatet.
Hvis du kan konvertere den til noget andet eller instruere 
ffmpeg i hvordan den skal håndtere .3gp, så kan man måske
komme videre. (ffmpeg kan bruge externe programmer til at 
håndtere ukendte formater.)





-- 
Donald Axel <sslug@sslug>


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-08-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *