Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-10 Thread Carl Eugen Hoyos
2018-03-09 4:51 GMT+01:00 Carl Zwanzig : > On 3/8/2018 8:17 AM, Moritz Barsnick wrote: >> >> As Carl Eugen tried to point out: What is missing is that you provide >> your actual (non-working) command line and its complete, uncut console >> output. > > One thing missing is some

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 18:47:33 +, Pierre Pasquet wrote: > I’m confused. > What does $ ffmpeg -i udp://127.0.0.1: actually > do? > Is it a substitute to mediastreamsegmenter? No. It verifies that what the other ffmpeg sent was actually an MPEG-TS with audio only. To answer the

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Pierre Pasquet
I’m confused. What does $ ffmpeg -i udp://127.0.0.1: actually do? Is it a substitute to mediastreamsegmenter? Pierre > On 9 Mar 2018, at 18:44, Moritz Barsnick wrote: > > On Fri, Mar 09, 2018 at 17:34:05 +, Pierre Pasquet wrote: >> Why can’t I just do the same for

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 17:34:05 +, Pierre Pasquet wrote: > Why can’t I just do the same for a stream segmenter? Doesn’t FFMpeg provide a > way to create a MPEG-2 transport stream with Audio only? Yes it does. If you launch your audio-only ffmpeg stream (but not your segmenter), and then

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Pierre Pasquet
I’ll have a look. What I don’t understand is that for VOD playback, I use mediafilesegmenter -f /Library/WebServer/Documents/live test.aac and it works perfectly fine ! The playlist is created with the relevant .aac segment files. Why can’t I just do the same for a stream segmenter? Doesn’t

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Carl Zwanzig
On 3/9/2018 7:05 AM, Pierre Pasquet wrote: I have tried your solution and here’s what I get : Unable to find a suitable output format for 'color=s=:c=black:r=' color=s=:c=black:r=: Invalid argument You can't just drop in "color=s=$outFormat:c=black:r=$videoRate" and expect it to work unless

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Pierre Pasquet
Hello, I have tried your solution and here’s what I get : Unable to find a suitable output format for 'color=s=:c=black:r=' color=s=:c=black:r=: Invalid argument The full command was : ffmpeg -re -i test.aac color=s=$outFormat:c=black:r=$videoRate -vcodec copy -vbsf h264_mp4toannexb -acodec

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 01:03:16 +, Pierre Pasquet wrote: > In theory, when receiving an input file, the segmenter should generate a > playlist .m3u8 and create subsequent .aac files (because we are dealing only > with audio) [...] > I know that the ffmpeg command is not write because it

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Thu, Mar 08, 2018 at 19:51:03 -0800, Carl Zwanzig wrote: > One thing missing is some directed speculation even before the cmd line is > sent; it's a valuable part of troubleshooting and helps those asking to learn. Yes and no. Speculating will help the OP avoid providing more information. It

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Carl Zwanzig
On 3/8/2018 8:17 AM, Moritz Barsnick wrote: As Carl Eugen tried to point out: What is missing is that you provide your actual (non-working) command line and its complete, uncut console output. One thing missing is some directed speculation even before the cmd line is sent; it's a valuable

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Pierre Pasquet
All right, here’s a detailed presentation of what’s happening : First of all, everything is on local. I am using the default Mac OS apache server - I launch a process that listens on port and segments incoming media for deployment using HTTP Live Streaming with : mediastreamsegmenter -f

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Moritz Barsnick
On Thu, Mar 08, 2018 at 14:25:54 +, Pierre Pasquet wrote: > Not sure to identify what is missing. This command works for a .m4v file and > doesn’t for a .aac file located in the same directory. As Carl Eugen tried to point out: What is missing is that you provide your actual (non-working)

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Pierre Pasquet
Not sure to identify what is missing. This command works for a .m4v file and doesn’t for a .aac file located in the same directory. How can it be? Thanks for your help, > On 8 Mar 2018, at 11:02, Carl Eugen Hoyos wrote: > > 2018-03-07 19:16 GMT+01:00, Pierre Pasquet

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Carl Eugen Hoyos
2018-03-07 19:16 GMT+01:00, Pierre Pasquet : > However, It doesn't work with a AAC file. Command line and complete, uncut console output missing. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-07 Thread Pierre Pasquet
Hello all, I have set up a HLS server and asked it to listen to localhost on port with this command `mediastreamsegmenter -f /Library/WebSever/Documents/live 127.0.0.1 -audio-only`. This is a macOS tool. I have found a command to create an input stream from a **video** file and send it