[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



Frank Damgaard wrote:

> On 2011-07-11 22:57, Henrik Pedersen wrote:
>> Hejsan
>> 
>> Har købt ny telefon som napper noget ganske fin video, men jeg mangler
>> lige at kunne rotere den og gemme den.
>> file giver følgende output og mplayer afspiller den perfekt.
>> file Sebastian_Raw.3gp
>> Sebastian_Raw.3gp: ISO Media, MPEG v4 system, version 1
>> 
>> mplayer Sebastian_Raw.3gp -vf rotate=1
>> Afspiller filmen perfekt roteret 90 grader.
>> 
>> Det store spørgsmål er hvordan jeg med mencoder eller tilsvarende
>> indlæser originalen, roterer den 90 grader og gemmer den i en ny fil.
>> 
>> Er der nogen der ligger inde med kongetippet.
> 
> 
> næh, men nærstudier af mencoder plejer gerne at give noget, jeg
> forbavses ofte hvad den kan, problemet er dog at finde den korrekte
> kombination af options, og ofte nogen eksperimenteren .....
> 
> Lidt google giver:
> 
> http://lists.mplayerhq.hu/pipermail/mencoder-users/2009-July/010556.html
> 
http://www.hanselman.com/blog/HowToRotateAnAVIOrMPEGFileTakenInPortrait.aspx
> http://thinkmoult.com/2010/04/08/tech-tip-5-rotate-a-video-by-90-degrees-
with-mencoder/
> http://kevin.deldycke.com/tag/mencoder/


De ovennævnte sites har jeg været forbi, og prøvet eksemplerne. Men min 
begrænsede viden om codecs bringer mig ikke meget videre.

Det eksempel jeg nåede længst med var nedenstående, men som det ses fejler 
det også til slut.

\Henrik


mencoder -vf rotate=2 -o Seb-01.3gp -oac pcm -ovc lavc 
VID_20110708_192555.3gp 
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0  data: 0x0 - 0x1faa0b2
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9926220]multiple edit list entries, a/v desync 
might occur, patch welcome
[lavf] stream 0: audio (aac), -aid 0, -alang eng                                                                                 
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  720x480  24bpp  90000.000 fps  3003.2 kbps (366.6 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:720x480  fps:90000.000  
ftime:=0.0000
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 32000 Hz, 2 ch, s16le, 96.0 kbit/9.38% (ratio: 12000->128000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [rotate=2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
videocodec: libavcodec (480x720 fourcc=34504d46 [FMP4])
[mpeg4 @ 0x9947b20]timebase not supported by mpeg 4 standard
Could not open codec.                                                                                                            
FATAL: Cannot initialize video driver.

Exiting...




 
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] *