x264.exe is encoder or decoder?

Just have a drink and chat
suci
New Cone
New Cone
Posts: 2
Joined: 08 Jun 2012 06:46

x264.exe is encoder or decoder?

Postby suci » 08 Jun 2012 07:14

Hi all,
I've final project about video stream using NS-2.29.
And my refrence tools is
http://www2.tkn.tu-berlin.de/research/e ... alvid.html

1. I'm using x264 as encoder to produce H.264/AVC, and the output is .264. Can i use it as decoder too or i use the ffmpeg as decoder ?
2. Can i use ffmpeg as encoder and decoder to produce H.264/AVC?
3. What is the good bitrate for H.264/AVC?

Please, help me guys

Thnks all

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: x264.exe is encoder or decoder?

Postby Lotesdelere » 08 Jun 2012 09:31

1. x264 is only an encoder. And yes, you can use ffmpeg as a decoder.

2. Yes, ffmpeg can both encode and decode H.264.

3. There is no good bitrate per se, it highly depends on your needs, the source and the resolution. Your best best is to use a quality based encoding with CRF, which is the default in x264, with a value between 18 and 22 for a start and check the result.

suci
New Cone
New Cone
Posts: 2
Joined: 08 Jun 2012 06:46

Re: x264.exe is encoder or decoder?

Postby suci » 08 Jun 2012 14:03

1. whn i use x264.exe, the output is .264 . Wht Cmnd shold i used when i use ffmpeg as decoder?

2. Can u show to me the cmmndline of ffmpeg as encoder and decoder?

3. i use qcif 176x144. Wht is CRF stand for n how do i use it?

i'm newibie in this area

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: x264.exe is encoder or decoder?

Postby Lotesdelere » 11 Jun 2012 10:25

1. whn i use x264.exe, the output is .264 . Wht Cmnd shold i used when i use ffmpeg as decoder?

2. Can u show to me the cmmndline of ffmpeg as encoder and decoder?

3. i use qcif 176x144. Wht is CRF stand for n how do i use it?
1. The default output of x264 is a raw H.264 stream .264. This need to be muxed into a container, usually MP4 or MKV. AFAIK some x264 builds for Windows can produce an MP4 output, use the command "x264 --longhelp" for a full list of options.

2. Google is your friend:
https://sites.google.com/site/linuxenco ... eg-mapping
And keep in mind FFmpeg has a H.264 decoder but it's not a player. Doom9 and Doom10 are good places to find more info about FFmpeg.

3. CRF is quality based so it will obviously use more bitrate for higher reslutions than for lower ones. As said before, use a value between 18 and 22 for a start and check the result.


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 43 guests