Skip to content

Commit

Permalink
Version 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mt1006 committed Apr 7, 2024
1 parent 9744c68 commit 1e0ae56
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
===Version 1.5.1===
-Added options to modify URL extraction command - "-extractor-max-height", "-extractor-prefix", "-extractor-suffix".
-Fixed URL extraction not being able to extract URLs from most sites other than YouTube.
-Improvements to the "-fc" option.
-Added "Q" as second exit key.
-Added support for Termux.
-Added warning for potential libao issue on Linux.
-Minor fixes.
-Updated to FFmpeg 7.

===Version 1.5===
-Replaced message with UI when running without any arguments.
-Added "--color-proc" option with 3 modes: "both" (default), "char-only" and "none".
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@ Demonstration: https://www.youtube.com/watch?v=nbUKhalJATk

### Also "Bad Apple!!" in cmd but with FFmpeg filters

```conpl ba.mp4 -vf "curves=m=0/0 .8/.8 1/0" -svf "noise=alls=8:allf=t,rgbashift=rh=-2:bh=2"```
`conpl ba.mp4 -vf "curves=m=0/0 .8/.8 1/0" -svf "noise=alls=8:allf=t,rgbashift=rh=-2:bh=2"`

![Bad Apple!!](screenshots/bad_apple2.png "Bad Apple!!")

### Some random 4K test video with colors in Windows Terminal (https://www.youtube.com/watch?v=xcJtL7QggTI&t=96)

![Colors](screenshots/colors.png "Colors")

### "Bad Apple!!" in "fake console" mode with Windows console raster font in Wine

`wine conpl.exe ba.mp4 -fc -gls :win:type normal :font Terminal 8 12`

It requires of course ConPlayer binaries for Windows. To use "Terminal" you need to also copy Windows 10 or 11 fonts (C:\\Windows\\Fonts) to corresponding location in Wine. It's also possible to use `:enum-fonts` and `:enum-font (font name)` flags to list available fonts.

![wine](screenshots/bad_apple3.png "Wine")

# Options

## Basic options
Expand Down Expand Up @@ -145,8 +153,8 @@ Demonstration: https://www.youtube.com/watch?v=nbUKhalJATk
Examples:
conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xp "yt-dlpppx --no-warnings --get-url"
-xs Sets extractor command suffix. By default: "2>&1".
Examples:
conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xs ""
(--extractor- Examples:
suffix) conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xs ""
-pl (--preload) Loads and unload entire input file (in hope that system will cache it into RAM).
-da(--disable-audio)Disables audio.
-dk (--disable-keys)Disables keyboard control.
Expand Down
4 changes: 2 additions & 2 deletions cp/src/conplayer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Project: ConPlayer
* Version: 1.5
* Version: 1.5.1
* Author: https://github.com/mt1006
*/

Expand Down Expand Up @@ -94,7 +94,7 @@
#define CP_CPU "[unknown]"
#endif

#define CP_VERSION "1.5"
#define CP_VERSION "1.5.1"
#define CP_VERSION_STRING "ConPlayer " CP_VERSION " [" CP_CPU "/" CP_OS "]"

#ifdef _WIN32
Expand Down
4 changes: 2 additions & 2 deletions cp/src/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ static void helpAdvancedOptions(void)
" Examples:\n"
" conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xp \"yt-dlpppx --no-warnings --get-url\"\n"
" -xs Sets extractor command suffix. By default: \"2>&1\".\n"
" Examples:\n"
" conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xs \"\"\n"
" (--extractor- Examples:\n"
" suffix) conpl $https://www.youtube.com/watch?v=FtutLA63Cp8 -xs \"\"\n"
" -pl (--preload) Loads and unload entire input file (in hope that system will cache it into RAM).\n"
" -da(--disable-audio)Disables audio.\n"
" -dk (--disable-keys)Disables keyboard control.\n"
Expand Down
Binary file added screenshots/bad_apple3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1e0ae56

Please sign in to comment.