2013-11-11, 01:35 PM (This post was last modified: 2013-11-11, 01:40 PM by Oopsjoppe.)
sub Wrote:I haven't used the VLC-based transcoding stuff in NEWA, so can't provide much help on that front.
The /transcode stuff works by running ffmpeg to transcode the /live url, then delivers you the output. In theory you use some other command line executable like VLC, but changing the <TranscodeExe> setting in the <WebServer> section of config.xml. You can also tweak the command line parameters used for transcoding by editing the <TranscodeArgs> setting.
Been starting to experimenting with this and I know you can't give any support on it but just some quick questions for you anyway
1. What problems did you have when you where trying it out? Some stuff that I should be aware of not working? It's freezing up for me quite often but I can't find any reason. Using /live? works great without freezing but /transcode? (with no bitrate or resolution options set) is freezing up every 15 seconds.
2. I guess there is no update on the ffmpeg version in the /others folder? So I can just manually update it and perhaps get better results (related to question 1)?
3. the <TranscodeArgs> are just the standard ffmpeg args usually run through the command line then? So I can use config.xml as any ffmpeg transcoding options?
4. Would you see any problem of creating a frontend php site which allows the user to open and edit the <TranscodeArgs> directly from the webpage and then save it/append the config.xml directly? When the config.xml is overwritten do I need the restart the recording service or can I just use the "new" config file and start a transcode with the "new" otions on the fly?
5. You will do any work with the transcoding options in the near future I guess?
Oopsjoppe Wrote:Been starting to experimenting with this and I know you can't give any support on it but just some quick questions for you anyway
1. What problems did you have when you where trying it out? Some stuff that I should be aware of not working? It's freezing up for me quite often but I can't find any reason. Using /live? works great without freezing but /transcode? (with no bitrate or resolution options set) is freezing up every 15 seconds.
I found ffmpeg would often terminate, or stop delivering output, on various sorts of conditions that'd occassional appear in digital broadcasts. It often wouldn't like things that happen with timestamps in the stream, or wouldn't like something about the source encoding. It wasn't freezing up every 15 seconds for me, but sometimes it'd run for an hour, sometimes it'd only run for a few minutes. Definitely not good enough to be relied on.
Quote:2. I guess there is no update on the ffmpeg version in the /others folder? So I can just manually update it and perhaps get better results (related to question 1)?
You can replace it with a later version if you want.
Quote:3. the <TranscodeArgs> are just the standard ffmpeg args usually run through the command line then? So I can use config.xml as any ffmpeg transcoding options?
Yes, you can use any ffmpeg command lines args.
Quote:4. Would you see any problem of creating a frontend php site which allows the user to open and edit the <TranscodeArgs> directly from the webpage and then save it/append the config.xml directly? When the config.xml is overwritten do I need the restart the recording service or can I just use the "new" config file and start a transcode with the "new" otions on the fly?
Yes, you can probably do that, or add an asp.net page to the built in NEWA web app.
Quote:5. You will do any work with the transcoding options in the near future I guess?
I wasn't intending to do anything with it. The ffmpeg problem is out of my hands, and I don't have other good alternatives.
Great! Thank you very much for your answers. We'll see if I can get any other ffmpeg version to work better then - I'll let you know if I find any stable solution!