FAQ  •  Register  •  Login

FFmpeg API has changed 0.9

<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Jan 09, 2012 1:09 pm

FFmpeg API has changed 0.9

FFmpeg documentation

The API for stream mapping has changed for releases 0.9 and above or API level - libavcodec - 53. 42. 0 and above.
New options are applied per stream separated by a colon with the stream specifier and option following. For ex:
-option:stream_type(v,a):stream_specifier(0,1,2,etc) - v for video, a for audio
-codec:v:0 vob
-codec:a:0 ac3 (ac3 encoding for audio stream 1)
-b:a:0 448k (448k rate encoding for audio stream 1)
-ac:1 2 (2 channel audio for stream 2)
-codec:v:0 copy

This new format is used for almost all options dealing with streams now, there are some alias' in place for the changeover (ex: vcodec option) but may be removed at anytime in the future.

Also it seems command order is now important. (Sony Aspect Ratio workaround doesn't work : viewtopic.php?f=11&t=2956&start=30#p27617)

Zip, do you plan to update the serviio/ffmpeg wrapper?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 09, 2012 1:35 pm

Re: FFmpeg API has changed 0.9

I will at some point. There are still people using older ffmpeg versions so will keep the older syntax in place.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 22 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.