Page 1 of 1

ffmpeg2theora configuration

Posted: Wed Jan 11, 2006 8:35 pm
by Jza
I am doing a bunch of video emails and I am recording them with my digital camera, and then I use ffmpeg2theora to rapidly compress the video. However I dont get a perfect configuration since the audio doesnt sync with the video.

The help file says the f0ll0wing:

Code: Select all

 usage: ffmpeg2theora [options] input

Output options:
         --output,-o            alternative output
         --width, -x            scale to given size
         --height,-y            scale to given size
         --aspect               define frame aspect ratio: i.e. 4:3 or 16:9
         --crop[top|bottom|left|right]  crop input before resizing
         --videoquality,-v      [0 to 10]    encoding quality for video
         --videobitrate,-V      [45 to 2000] encoding bitrate for video
         --sharpness,-S         [0 to 2]     sharpness of images(default 2)
                                   { lower values make the video sharper. }
         --keyint,-K            [8 to 65536] keyframe interval (default: 64)
         --audioquality,-a      [-1 to 10]   encoding quality for audio
         --audiobitrate,-A      [45 to 2000] encoding bitrate for audio
         --samplerate,-H        set output samplerate in Hz
         --channels,-c          set number of output sound channels
         --nosound              disable the sound from input
         --endtime,-e           end encoding at this time (in sec)
         --starttime,-s         start encoding at this time (in sec)
         --v2v-preset,-p        encode file with v2v preset,
                                 right now there is preview and pro,
                                 'ffmpeg2theora -p info' for more informations

Input options:
         --deinterlace,-d       force deinterlace
                                 otherwise only material marked as interlaced
                                 will be deinterlaced
         --format,-f            specify input format
         --inputfps [fps]       override input fps

Metadata options:
         --artist       Name of artist (director)
         --title        Title
         --date         Date
         --location     Location
         --organization Name of organization (studio)
         --copyright    Copyright
         --license      Licence

Other options:
         --nice                 set niceness to n
         --debug                output some more information during encoding
         --help,-h              this message

 Examples:
        ffmpeg2theora videoclip.avi (will write output to videoclip.avi.ogg)

        cat something.dv | ffmpeg2theora -f dv -o output.ogg -

        Live encoding from a DV camcorder (needs a fast machine)
        dvgrab - | ffmpeg2theora -f dv -x 352 -y 288 -o output.ogg -

        Live encoding and streaming to icecast server:
         dvgrab --format raw - | \
          ffmpeg2theora -f dv -x 160 -y 128 -o /dev/stdout - | \
          oggfwd iccast2server 8000 password /theora.ogg
I wonder if the niceness will mean the sm00thing between the audi0 up0n vide0. Any help?