Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

How can I play a cdg and mp3 file together with ffplay?

Discussions about problems encountered using ffplay.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

How can I play a cdg and mp3 file together with ffplay?

Postby Zerosurf » Fri Oct 30, 2015 11:28 pm

I try to play a file.cdg and a file.mp3 together with ffplay, but I can´t get it to work!
Any hints to play those Karaoke files in ffplay?

Sincerely
Zerosurf
Zerosurf
 
Posts: 3
Joined: Fri Oct 30, 2015 11:24 pm

Re: How can I play a cdg and mp3 file together with ffplay?

Postby llogan » Sat Oct 31, 2015 1:46 am

Can you provide the CDG file?
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2363
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Re: How can I play a cdg and mp3 file together with ffplay?

Postby Zerosurf » Sat Oct 31, 2015 3:25 pm

It doesn´t matter what cdg file - I have thousands of Karoke (cdg+mp3) files which I want to play with ffplay!
And the question is - is it possible to do this with ffplay?
VLC-player can do it, but I want to do it with ffplay! ;)
Zerosurf
 
Posts: 3
Joined: Fri Oct 30, 2015 11:24 pm

Re: How can I play a cdg and mp3 file together with ffplay?

Postby norbinz » Mon Nov 02, 2015 4:24 am

I haven't found any way to combine two files with ffplay.
I've had some success using ffmpeg to combine the video and audio files into matroska format and pipe it on-the-fly into ffplay.

ffmpeg -i song.cdg -i song.mp3 -f matroska - | ffplay -
norbinz
 
Posts: 11
Joined: Sun Oct 05, 2014 10:52 pm

Re: How can I play a cdg and mp3 file together with ffplay?

Postby Zerosurf » Mon Nov 02, 2015 8:47 am

Code: Select all
ffmpeg -i song.cdg -i song.mp3 -f matroska - | ffplay -


this was exactly what i was looking for - thx a lot!

another question:
is it possible to run two screens with ffplay - one in native screen size and the other one in fullscreen - like piping to another ffplay with fullscreen option?
Zerosurf
 
Posts: 3
Joined: Fri Oct 30, 2015 11:24 pm


Return to ffplay

Who is online

Users browsing this forum: No registered users and 2 guests