Welcome, Guest. Please login or register.

Author Topic: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x  (Read 5303 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ami_stuffTopic starter

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 100
    • Show only replies by ami_stuff
FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« on: June 04, 2011, 10:10:11 AM »


FFmpeg is a complete, cross-platform solution to record,
convert and stream audio and video. FFmpeg can also convert from
any sample rate to any other and resize video on the fly with a high
quality polyphase filter.


Download
 

Offline Vulture

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 310
    • Show only replies by Vulture
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #1 on: June 05, 2011, 01:54:36 AM »
Thx!

Any chance for a warpos version? :)
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #2 on: June 05, 2011, 03:46:06 AM »
Can this convert mpegs/avi's to anim5?
 

Offline ami_stuffTopic starter

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 100
    • Show only replies by ami_stuff
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #3 on: June 05, 2011, 12:52:50 PM »
Quote from: Vulture;642491
Thx!

Any chance for a warpos version? :)


Sorry, no. I have no PPC hardware to test the builds, no WarpOS cygwin-hosted
crosscompiler and it would require too much work to recompile again all of the
external libs for PPC.

Quote from: stefcep2;642525
Can this convert mpegs/avi's to anim5?


Not yet, maybe in the future. ;) However I would prefere so see a decoder
implemented first. :) (right now there is only IFF ILBM decoder with HAM6/8
support)
 

Offline ognix

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 256
    • Show only replies by ognix
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #4 on: June 05, 2011, 10:19:40 PM »
I think this could be even more interesting when NatAmi will hit the "market", so we could test its hopefully superior CPU horsepower.
 

Offline nicholas

Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #5 on: June 06, 2011, 01:12:28 AM »
Quote from: ami_stuff;642603
Sorry, no. I have no PPC hardware to test the builds, no WarpOS cygwin-hosted
crosscompiler and it would require too much work to recompile again all of the
external libs for PPC.


That's where VBCC comes in handy! :)

 http://www.compilers.de/vbcc.html
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #6 on: June 06, 2011, 07:32:45 AM »
Quote from: ognix;642755
I think this could be even more interesting when NatAmi will hit the "market", so we could test its hopefully superior CPU horsepower.


http://www.youtube.com/watch?v=QY7bKwtrR7c&vq=large
A4000 / Apollo 4060 @ 90 MHz / 640 MB FastMem
playing some clips with FroggerNG ...

Hmmm .... I will try FFmpeg/FFplay this evening.
:)
 

Offline ami_stuffTopic starter

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 100
    • Show only replies by ami_stuff
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #7 on: June 06, 2011, 08:22:45 AM »
Quote from: Ratte;642880
http://www.youtube.com/watch?v=QY7bKwtrR7c&vq=large
A4000 / Apollo 4060 @ 90 MHz / 640 MB FastMem
playing some clips with FroggerNG ...

Hmmm .... I will try FFmpeg/FFplay this evening.
:)

It would be interesting to see how good/bad FFplay behaves on your hardware.

Please note that FroggerNG have by default enabled frame skipping, while FFplay not.

Maybe you can record a video with two tests:

I. with audio

FroggerNG file.mpg/file.divx AUTOSTART
FFplay -framedrop file.mpg/file.divx

and

II. without audio

FroggerNG NOSKIP NOAUDIO AUTOSTART file.mpg/file.divx
FFplay -an file.mpg/file.divx

it would be also interesting to see how much lowres speedups decoding:

FFplay -an -lowres 1 file.mpg/file.divx
« Last Edit: June 06, 2011, 06:14:53 PM by ami_stuff »
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #8 on: June 06, 2011, 03:07:24 PM »
Quote from: Ratte;642880
http://www.youtube.com/watch?v=QY7bKwtrR7c&vq=large
A4000 / Apollo 4060 @ 90 MHz / 640 MB FastMem
playing some clips with FroggerNG ...

Great looking desktop you have there and may I ask what music is playing in that vid?
 

Offline gaula92

  • Sr. Member
  • ****
  • Join Date: Dec 2007
  • Posts: 373
    • Show only replies by gaula92
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #9 on: June 06, 2011, 04:15:37 PM »
It's a classical MOD called "Guitar Slinger", well, it's actually an arrangement I believe, but it sounds almost the same.
 

Offline magnetic

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2531
    • Show only replies by magnetic
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #10 on: June 06, 2011, 11:57:26 PM »
Quote from: ami_stuff;642603
However I would prefere so see a decoder
implemented first. :) (right now there is only IFF ILBM decoder with HAM6/8
support)


Firstly, thanks for the port, its very welcome.
By the quote above does this mean I can take say an mpeg4 and turn it into a ham8 anim file for playback on my a1200?
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS | OS4.1 U4 |Ubuntu GNU-Linux | MacOS X

Amiga 2000 Rom Switcher w/ 3.1 + 1.3 | HardFrame SCSI | CBM Ram board| A Squared LIVE! 2000 | Vlab Motion | Firecracker 24 gfx

Commodore CDTV: 68010 | ECS | 9mb Ram | SCSI -TV | 3.9 Rom | Developer EPROMs
 

Offline ami_stuffTopic starter

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 100
    • Show only replies by ami_stuff
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #11 on: June 07, 2011, 10:13:33 AM »
Quote from: magnetic;643064
Firstly, thanks for the port, its very welcome.
By the quote above does this mean I can take say an mpeg4 and turn it into a ham8 anim file for playback on my a1200?


No. Three is no IFF ANIM encoder in FFmpeg, so this is not possible.
 

Offline amigakit

Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #12 on: June 10, 2011, 12:05:38 PM »
Thank you for your time on this software.

I have noticed that some mpegs I have above 320x240 play back fine with no sync issues between the sound/graphics

Other mpegs which are lower resolutions struggle to play back.  

I would have thought the Amiga would be working harder to playback the higher resolution video but it seems there are other factors to peformance: maybe video bitrate, buffer size, codec type etc

So it would be nice to convert videos with FFMpeg with the optimal settings for an 060 CPU.

Does anyone have experience on what command line options to use to convert videos for use on the Amiga?  Any help would be appreciated from someone who has experience with FFMpeg.
www.AmigaKit.com - Amiga Reseller | Manufacturer | Developer

New Products  --   Customer Help & Support -- @amigakit
 

Offline x303

Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #13 on: June 10, 2011, 01:23:06 PM »
Quote from: Vulture;642491
Any chance for a warpos version? :)
For ffmpeg that *should* be possible. For ffplay, not really. SDL and Warpos are not good friends.
 

Offline ami_stuffTopic starter

  • Full Member
  • ***
  • Join Date: May 2009
  • Posts: 100
    • Show only replies by ami_stuff
Re: FFmpeg + FFplay git-a52f598 (31.05.2011) for AmigaOS 3.x
« Reply #14 on: June 12, 2011, 01:43:18 PM »
Quote
Does anyone have experience on what command line options to use to convert videos for use on the Amiga?  Any help would be appreciated from someone who has experience with FFMpeg.

I have no idea, but maybe H261 would be ok for 030 or 040:

ffmpeg -i file.mpg -vcodec h261 -r 15 -s 176x144 -sws_flags lanczos -acodec pcm_u8 -ar 22050 file.avi

the fastest would be of course rawvideo:

ffmpeg -i file.mpg -vcodec rawvideo -sws_flags lanczos -r 15 -s 176x144 -acodec pcm_u8 -ar 22050 file.avi
« Last Edit: June 12, 2011, 01:58:38 PM by ami_stuff »