You are not logged in.

#1 2008-06-03 23:53:20

qweac
Member
From: Norway
Registered: 2008-05-27
Posts: 44

"Unknown encoder H.264." What do I need?

Hi!

I'm trying to convert an .avi file to a .mp4 file with H.264. When I'm trying to do this I get an error saying "Unknown encoder H.264." What do I need?

I'm using WinFF for the task. I think it uses ffmpeg, but I can't find out how I can make it support the H.264 codec. Anyone? smile

Offline

#2 2008-06-04 00:15:22

droog
Member
Registered: 2004-11-18
Posts: 877

Re: "Unknown encoder H.264." What do I need?

you need to go to menu edit - presets and change the h.264 settings. change -vcodec h264 to -vcodec libx264 and -acodec aac to -acodec libfaac

Offline

#3 2008-06-04 00:18:03

qweac
Member
From: Norway
Registered: 2008-05-27
Posts: 44

Re: "Unknown encoder H.264." What do I need?

Thanks, I will try that! But will those settings still allow me to play the converted file on my PS3?

Offline

#4 2008-06-04 00:27:49

droog
Member
Registered: 2004-11-18
Posts: 877

Re: "Unknown encoder H.264." What do I need?

if it can play mp4 videos it will. those changes dont do anything just let ffmpeg find the codecs, but converting from avi will probably make pretty crappy quality.

Offline

#5 2008-06-04 00:31:14

qweac
Member
From: Norway
Registered: 2008-05-27
Posts: 44

Re: "Unknown encoder H.264." What do I need?

I see. thanks again! smile

No, the difference in quality is not that big. I've done it before...

Offline

#6 2008-08-24 15:42:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: "Unknown encoder H.264." What do I need?

You all may want to check to see if you're actually producing aac audio with FAAC. Honestly, it's been broken in Arch for months, the solution is known, and it's not being implemented. If you see the last line after faac --help, you're producing mp2 audio:

faac --help
Freeware Advanced Audio Coder
FAAC 1.26.1 (Jul 19 2008) UNSTABLE

Usage: faac [options] infiles ...
Options:
  -q <quality>    Set quantizer quality.
  -b <bitrate>    Set average bitrate to x kbps. (ABR, lower quality mode)
  -c <freq>    Set the bandwidth in Hz. (default=automatic)
  -o X        Set output file to X (only for one input file)
  -r        Use RAW AAC output file.
  -P        Raw PCM input mode (default 44100Hz 16bit stereo).
  -R        Raw PCM input rate.
  -B        Raw PCM input sample size (8, 16 (default), 24 or 32bits).
  -C        Raw PCM input channels.
  -X        Raw PCM swap input bytes
  -I <C,LF>    Input channel config, default is 3,4 (Center third, LF fourth)

MP4 specific options:
MP4 support unavailable.

Offline

Board footer

Powered by FluxBB