Re: [FFmpeg-user] combining audio and video

2022-11-06 Thread Carl Eugen Hoyos
Am So., 6. Nov. 2022 um 12:50 Uhr schrieb owen s :
>
> Is it possible to have two urls, one streaming audio and one for video;
> using ffmpeg to combine these streams and just playing them as one without
> saving a file?

Note that synchronisation can be an issue.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] combining audio and video

2022-11-06 Thread Reino Wijnsma
On 2022-11-06T12:50:16+0100, owen s  wrote:
> Is it possible to have two urls, one streaming audio and one for video;
> using ffmpeg to combine these streams and just playing them as one without
> saving a file?
Sure.

ffmpeg -i "" -i "" -c copy -f nut - | ffplay -autoexit -
ffmpeg -i "" -i "" -c copy -f nut - | mpc-hc - /close

or of course:

mpc-hc "" /dub "" /close

-- 
Reino

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".