Anybody knows of a decent front-end for ffmpeg's ffplay?
Anybody knows of a decent front-end for ffmpeg's ffplay?
Hello, all.
I compiled the full ffmpef-2.6.3_snapshot_150518* (from two days ago).
I'm really impressed. You can throw any media file at this thing and it will
play it!
Of course, in CLI mode it's on the spartan side. So... as the title says:
anybody knows of a decent front-end for ffmpeg's ffplay?
I saw something called FFTV on sourceforge.net, but it's for TV and radio
only, and it's from 2006.
Thanks in advance. BFN.
musher0
~~~~~~~~
* Akin to the subject: unpacked, it's 192 Mb's... Any way to trim it?
Is this normal, or do I need an "editor" to advise me with the compile?
It works just fine, but the fact that files ffplay, ffprobe and ffmpeg proper
all have a weight of 15 Mb looks a bit fishy.
Again, thanks in advance.
I compiled the full ffmpef-2.6.3_snapshot_150518* (from two days ago).
I'm really impressed. You can throw any media file at this thing and it will
play it!
Of course, in CLI mode it's on the spartan side. So... as the title says:
anybody knows of a decent front-end for ffmpeg's ffplay?
I saw something called FFTV on sourceforge.net, but it's for TV and radio
only, and it's from 2006.
Thanks in advance. BFN.
musher0
~~~~~~~~
* Akin to the subject: unpacked, it's 192 Mb's... Any way to trim it?
Is this normal, or do I need an "editor" to advise me with the compile?
It works just fine, but the fact that files ffplay, ffprobe and ffmpeg proper
all have a weight of 15 Mb looks a bit fishy.
Again, thanks in advance.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hi musher0,... unpacked, it's 192 Mb's... Any way to trim it?
Is this normal, or do I need an "editor" to advise me with the compile?
Did you use the best compile options?
Before compiling anything, I do a search for compile options:
1) Linux from scratch - ffmpeg+lfs
2) Slackbuilds - ffmpeg+slackbuild (http://www.slackwiki.com/SlackBuild_Scripts)
3) Arch Linux - ffmpeg
4) and a general search, like ffmpeg+build+compile
http://www.linuxfromscratch.org/blfs/vi ... fmpeg.html
http://www.slackware.com/~alien/slackbu ... SlackBuild
https://projects.archlinux.org/svntogit ... ges/ffmpeg
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
--------
Honi soit qui mal y pense
decent front-end for ffmpeg's ffplay?
Hi musher0,
Quote:
"...decent front-end for ffmpeg's ffplay?"
You mean other than ffconvert which is built into most Pups?
or Winff, which takes up only 1729 Kb? I used ubuntu debs to build one; but have used it in any variation of Pup.
Both, although usually used for converting have play modes. ffconvert can only use ffplay. Winff's preferences use it by default.
mplayer? smplayer? for just viewing.
What pup did you build for?
mikesLr
Quote:
"...decent front-end for ffmpeg's ffplay?"
You mean other than ffconvert which is built into most Pups?
or Winff, which takes up only 1729 Kb? I used ubuntu debs to build one; but have used it in any variation of Pup.
Both, although usually used for converting have play modes. ffconvert can only use ffplay. Winff's preferences use it by default.
mplayer? smplayer? for just viewing.
What pup did you build for?
mikesLr
ffplayer
Hi again,
Precise probably has gnome-player already built in. (My precise uses Open-box, so gnome-player didn't show up on the start-menu; requires edit of desktop file. Openbox is fussy).
Some people like smplayer. But it requires QT and, like gnome-player, is just a fleshed-out version of mplayer. As far as I can figure out, with the exception of VLC, pretty much everything, including mplayer, itself, depends on ffmpeg* to provide codecs and ffplay* to provide the on screen displays.
*(or their forks, avconv & avplay).
AFAIK, neither Bashee nor Totem have been pre-packaged for any Pup. But they are "Ubuntu" favorites. Or if you want to go "whole-hog", XMBC-Frodo provided a full Media Center. Maybe: http://www.murga-linux.com/puppy/viewto ... 270#704238. All ultimately depend on ffmpeg-ffplay.
Sorry I wasn't clear. Both ffconvert and winff have preview modes which use ffplay.
But maybe email pelo who keeps up on all things multimedia on both the English and French forums.
Edit: June 9, 2015: I was just exploring Lupu-revitalized, the Sulu version using the kernel from Raring. I noticed that on its Multimedia Menu was an application named "FFplay Simple Multimedia Player". Further investigation revealed that in addition to the desktop file (creating the menu entry) it consists exclusively of shinobar's script, named ffplay.sh, located at /usr/bin.
Being a script it should be functional in any Pup in which the ffplay binary exists. It may work if you've created a symlink to avplay with the name ffplay.
I don't think shinobar will object if I provide that script here. To use it, merely create a new script @ /usr/bin, name it ffplay.sh, open it in a text editor and copy the following code into it. Code:
# FFPlay.sh - a frontend of ffplay
# 27 Jun 2010 by shinobar <shino@pos.to>
TITLE="FFplay"
PLAYER="ffplay"
[ "$@" ] && exec $PLAYER "$@"
export TEXTDOMAIN=ffconvert
export DIALOG
export MAIN_DIALOG="<window title=\"$TITLE\">
<vbox>
<text><label>$(gettext 'Select or drag a video file.')</label></text>
<hbox>
<entry tooltip-text=\"$(gettext 'Type or drag the source video file here.')\" editable=\"true\" accept=\"filename\">
<variable>FILE1</variable>
$(make_default \"$SOURCEFILE\")
</entry>
<button tooltip-text=\"$(gettext 'Browse and select the source video file.')\">
<input file stock=\"gtk-open\"></input>
<variable>FILE_BROWSE_FILENAME</variable>
<action type=\"fileselect\">FILE1</action>
</button>
</hbox>
<hbox><button><label>$(gettext 'Play')</label><input file stock=\"gtk-media-play\"></input><action>EXIT:OK</action></button>
<button><label>$(gettext 'Full screen')</label><input file stock=\"gtk-fullscreen\"></input><action>EXIT:Full</action></button>
<button><label>$(gettext 'Quit')</label><input file stock=\"gtk-quit\"></input><action>EXIT:Abort</action></button>
</hbox>
</vbox>
</window>"
while true; do
eval $(gtkdialog3)
[ "$EXIT" = "Abort" ] && exit 1
# validity check
if [ ! -f "$FILE1" ]; then
#if [ "$FILE1" ]; then
# errmsg $(printf "%s not found." "$FILE1")
#else
# errmsg $(gettext 'Souce file not specified.')
#fi
continue
fi
[ "$EXIT" = "Full" ] && exec $PLAYER -fs $FILE1
exec $PLAYER $FILE1
done
Save. I leave you to create an appropriate desktop file/menu entry.
mikesLr
Precise probably has gnome-player already built in. (My precise uses Open-box, so gnome-player didn't show up on the start-menu; requires edit of desktop file. Openbox is fussy).
Some people like smplayer. But it requires QT and, like gnome-player, is just a fleshed-out version of mplayer. As far as I can figure out, with the exception of VLC, pretty much everything, including mplayer, itself, depends on ffmpeg* to provide codecs and ffplay* to provide the on screen displays.
*(or their forks, avconv & avplay).
AFAIK, neither Bashee nor Totem have been pre-packaged for any Pup. But they are "Ubuntu" favorites. Or if you want to go "whole-hog", XMBC-Frodo provided a full Media Center. Maybe: http://www.murga-linux.com/puppy/viewto ... 270#704238. All ultimately depend on ffmpeg-ffplay.
Sorry I wasn't clear. Both ffconvert and winff have preview modes which use ffplay.
But maybe email pelo who keeps up on all things multimedia on both the English and French forums.
Edit: June 9, 2015: I was just exploring Lupu-revitalized, the Sulu version using the kernel from Raring. I noticed that on its Multimedia Menu was an application named "FFplay Simple Multimedia Player". Further investigation revealed that in addition to the desktop file (creating the menu entry) it consists exclusively of shinobar's script, named ffplay.sh, located at /usr/bin.
Being a script it should be functional in any Pup in which the ffplay binary exists. It may work if you've created a symlink to avplay with the name ffplay.
I don't think shinobar will object if I provide that script here. To use it, merely create a new script @ /usr/bin, name it ffplay.sh, open it in a text editor and copy the following code into it. Code:
# FFPlay.sh - a frontend of ffplay
# 27 Jun 2010 by shinobar <shino@pos.to>
TITLE="FFplay"
PLAYER="ffplay"
[ "$@" ] && exec $PLAYER "$@"
export TEXTDOMAIN=ffconvert
export DIALOG
export MAIN_DIALOG="<window title=\"$TITLE\">
<vbox>
<text><label>$(gettext 'Select or drag a video file.')</label></text>
<hbox>
<entry tooltip-text=\"$(gettext 'Type or drag the source video file here.')\" editable=\"true\" accept=\"filename\">
<variable>FILE1</variable>
$(make_default \"$SOURCEFILE\")
</entry>
<button tooltip-text=\"$(gettext 'Browse and select the source video file.')\">
<input file stock=\"gtk-open\"></input>
<variable>FILE_BROWSE_FILENAME</variable>
<action type=\"fileselect\">FILE1</action>
</button>
</hbox>
<hbox><button><label>$(gettext 'Play')</label><input file stock=\"gtk-media-play\"></input><action>EXIT:OK</action></button>
<button><label>$(gettext 'Full screen')</label><input file stock=\"gtk-fullscreen\"></input><action>EXIT:Full</action></button>
<button><label>$(gettext 'Quit')</label><input file stock=\"gtk-quit\"></input><action>EXIT:Abort</action></button>
</hbox>
</vbox>
</window>"
while true; do
eval $(gtkdialog3)
[ "$EXIT" = "Abort" ] && exit 1
# validity check
if [ ! -f "$FILE1" ]; then
#if [ "$FILE1" ]; then
# errmsg $(printf "%s not found." "$FILE1")
#else
# errmsg $(gettext 'Souce file not specified.')
#fi
continue
fi
[ "$EXIT" = "Full" ] && exec $PLAYER -fs $FILE1
exec $PLAYER $FILE1
done
Save. I leave you to create an appropriate desktop file/menu entry.
mikesLr
decent front-end for ffmpeg's ffplay?
Would that be decent ? What do you mean ? FFplay is a bare Gui of FFmpeg, isn't it ?
Just drag your film in the window and the movie moves.. perhaps.
Just wait five or more seconds.. It's a delayed departure (at home)
flv, mp4 are ok, avi too
Just drag your film in the window and the movie moves.. perhaps.
Just wait five or more seconds.. It's a delayed departure (at home)
flv, mp4 are ok, avi too
- Attachments
-
- player.jpg
- Pupos FFplay
- (57.02 KiB) Downloaded 393 times
Thanks, guys, but except for anikin's suggestions, none of your replies
comes close to answering the question.
I'm talking about ffplay the executable that is created when one
compiles the full ffmpeg package.
I repeat:
I'm talking about ffplay the executable that is created when one
compiles the full ffmpeg package.
Not a script by shinobar. Not a front-end to mplayer.
Bye for now.
musher0
comes close to answering the question.
I'm talking about ffplay the executable that is created when one
compiles the full ffmpeg package.
I repeat:
I'm talking about ffplay the executable that is created when one
compiles the full ffmpeg package.
Not a script by shinobar. Not a front-end to mplayer.
Bye for now.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
The script by shinobar looks to me to be a frontend for ffplay not mplayermusher0 wrote:I'm talking about ffplay the executable that is created when one
compiles the full ffmpeg package.
Not a script by shinobar. Not a front-end to mplayer.
Code: Select all
PLAYER="ffplay"
Code: Select all
[ "$EXIT" = "Full" ] && exec $PLAYER -fs $FILE1
exec $PLAYER $FILE1
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Thanks, Geoffrey.
I thought the script was named "ffplay", hence the confusion. I'm busy with
a menu script at the moment, I'll look up shinobar's stuff ASA I have a minute.
BFN.
musher0
I thought the script was named "ffplay", hence the confusion. I'm busy with
a menu script at the moment, I'll look up shinobar's stuff ASA I have a minute.
BFN.
musher0
Last edited by musher0 on Thu 05 Nov 2015, 22:37, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Probably missing dependencies during the compilation.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
ffplay and x11grab dependencies: libsdl1.2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
ffplay and x11grab dependencies: libsdl1.2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
Thanks, mikesir and all.
I finally got to testing shinobar's little ffplay box for playing movie formats.
(Thanks, mikesir!) Sorry for the delay.
What can I say? I'm disappointed. It is an interface and it works. I guess
something along the lines of SMPlayer doesn't exist for ffplay. (Even if there
are overlaps between ffplay and ffmpeg and mplayer, etc.)
BFN.
musher0
I finally got to testing shinobar's little ffplay box for playing movie formats.
(Thanks, mikesir!) Sorry for the delay.
What can I say? I'm disappointed. It is an interface and it works. I guess
something along the lines of SMPlayer doesn't exist for ffplay. (Even if there
are overlaps between ffplay and ffmpeg and mplayer, etc.)
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- TwoPuppies
- Posts: 77
- Joined: Wed 29 Dec 2010, 05:13
- Location: Melbourne, Australia
Does anybody know how to modify Shinobar's FFPlay.sh script to allow it to play media files that have spaces in the path or file name? I have had a go at this myself but, not being an expert, have not managed to get it quite right.
[color=#006699]What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.[/color]
Puppy Linux, and the sort with four legs and a tail.[/color]
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
- TwoPuppies
- Posts: 77
- Joined: Wed 29 Dec 2010, 05:13
- Location: Melbourne, Australia
That works. Thanks. I had no idea the solution was so simple. I have been messing about with variants of sed s tr ' ' '_' without success. But as I said, I really don't have that much idea what I am doing.MochiMoppel wrote:$FILE1 needs to be enclosed in double quotes.
Yes it does. I am using lupusuper2-5.2.8.7 which includes Shinobar's ffplay.sh script by default. I don't know if the fact that it is in lupusuper has any effect on the way it works.MochiMoppel wrote:But does Fullscreen work for you?
[color=#006699]What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.[/color]
Puppy Linux, and the sort with four legs and a tail.[/color]