I have been working on an internet radio plugin for SageTV.
It currently uses vlc 0.9.8 to create a video from a station logo and use VLCs -input-slave option to mux in an mp3 sound track from the radio station.
Which works great.Code:vlc.exe fake:// --fake-file="stationlogo.jpg" --fake-duration=9999999999 --fake-file-reload=5 --input-slave="webradio.mp3" --sout="#transcode{vcodec=mp2v,vb=4000,fps=30,scale=1,acodec=mpga,ab=128,channels=2,sfilter=marq@nowplaying{marquee=' '}}:duplicate{dst=std{access=file,mux=ts,dst='output.mpg'}}" --sout-transcode-audio-sync
However, in later versions of VLC the input-slave feature no longer works and doesn't look like it will be fixed.
So I've been trying to use ffmpeg and mencoder to do the same job e.g.
andCode:mencoder.exe "vlc_created_video_of_stationlogo.mpg" -audiofile webradio.mp3 -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video -oac copy -o "output.mpg"
where webradio.mp3 is a continually growing recording of the radio station output.Code:ffmpeg.exe -loop_input -vframes 10000 -i picture1.jpg -i webradio.mp3 video.mpg
But in both cases, unlike VLC, these tools don't seem to wait for more content in the file before continuing.
The get to the end of the mp3 file and stop.
Is there any way to make these tools carry on transcoding as more content arrives?
Many thanks to anyone who can help.
Michael
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
I'm trying to play music over videos and pictures. Any easy way to do this?
By gjones23 in forum Authoring (DVD)Replies: 4Last Post: 9th Mar 2011, 19:29 -
Converting or Muxing audio files (mp3 etc.) into MPEG2 TS without any video
By kary.sharma in forum Video ConversionReplies: 1Last Post: 5th Dec 2008, 08:07 -
Problems muxing MPEG2 with layerII Ac.3
By Bonzo2002 in forum ffmpegX general discussionReplies: 0Last Post: 23rd Jun 2007, 11:04 -
problems Muxing M2V and Aiff files to MPEG2
By bbaddorf in forum ffmpegX general discussionReplies: 4Last Post: 18th Jun 2007, 15:14