You are not logged in.

#1 2010-01-30 18:45:54

onguarde
Member
Registered: 2008-09-14
Posts: 144

Convert videos ffmpeg

Peace all!

I'm trying to convert videos for use on a Blackberry device as per the following script.

http://www.blackberryforums.com/media-c … linux.html

The problem is I keep getting this error:

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)
Input #0, asf, from 'zzz.wmv':                                               
  Metadata:                                                                                             
    Writer          : 搀瘀搀                                                                             
    WMFSDKVersion   : 10.00.00.3708                                                                     
    WMFSDKNeeded    : 0.0.0.0000                                                                         
    IsVBR           : 0                                                                                 
  Duration: 00:20:38.93, start: 3.000000, bitrate: 197 kb/s                                             
    Stream #0.0(eng): Video: wmv3, yuv420p, 320x240, 100 kb/s, 29.97 tbr, 1k tbn, 1k tbc                 
    Stream #0.1(eng): Audio: wmav2, 44100 Hz, 2 channels, s16, 96 kb/s                                   
Unknown encoder 'xvid'

The closest thing I can find on the forums is this:
http://bbs.archlinux.org/viewtopic.php?id=42918

But its ancient. I'm on 64bit and I've already installed xvidcore.

Any ideas?

Thanks in advance!

Offline

#2 2010-01-30 18:57:55

NeOnsKuLL
Member
From: Havana, Cuba
Registered: 2005-03-29
Posts: 117

Re: Convert videos ffmpeg

You should prefix almost every codec with "lib".
For example:

ffmpeg -i video.wmv -vcodec libxvid -acodec libmp3lame .... output_video.avi

This is this way since a long time ago now, because a change in the way ffmpeg get access to third part libraries.

Hope this helps

Last edited by NeOnsKuLL (2010-01-30 19:00:34)


Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter

Offline

#3 2010-01-31 09:49:52

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Convert videos ffmpeg

After some fiddling with the command line, I've settled on using avidemux.

And later on Handbrake, for its queing and preset saving functionality.

Thanks for all the help!

Offline

Board footer

Powered by FluxBB