VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Is it possible to play two videos side by side simultaneously on ffplay? How would you do that?

    Also, is it possible to use ffplay to display histogram (with -vf histogram flag) and show histogram and video image side by side?
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Yes it is possible, IF you have the latest Avisynth 2.6. Otherwise it tells you this when you try to run the ffplay with avs script.

    DirectShowSource("C:\Users\Bud\Desktop\Frame.mpg") .ConvertToYV12
    Histogram("Color")

    Click image for larger version

Name:	ScreenHunter_182 Dec. 12 01.00.jpg
Views:	1735
Size:	74.0 KB
ID:	34786

    You can also play scripts that stack and compare more:

    Click image for larger version

Name:	ScreenHunter_182 Dec. 12 00.59.jpg
Views:	1671
Size:	46.2 KB
ID:	34784Click image for larger version

Name:	ScreenHunter_182 Dec. 12 01.07.jpg
Views:	1792
Size:	93.0 KB
ID:	34785
    Last edited by Budman1; 19th Dec 2015 at 10:06.
    Quote Quote  
  3. for a sample with a hight of 720, this:
    Code:
    ffplay "h:\sample.mkv" -an -vf "split[src][b];[b]histogram,scale=-1:720[filt]; [src][filt] hstack"
    will:
    • split the input into two sources 'src' an 'b'
    • create the histogram of 'b' and scale the histogram to a height of 720 and name that output 'filt' (to make sure that the histogram and 'src' have the same height)
    • horizontally stack 'src' and 'filt'
    -> no need for avisynth to answer a ffmpeg question

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  4. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Thanks to Selur for the Direct ffplay method. I've added that to my notes for the future.

    -> no need for avisynth to answer a ffmpeg question
    The suggestion for avisynth was just an alternate method that uses a very simple script that seemed, to me, easy to understand, memorize and change for other videos. It also takes care of the resizing and stacking functions automatically.
    Quote Quote  
  5. Sorry, but using DirectShowSource normally just looks like a BAD idea to me,..
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!