[FFmpeg-user] Input from named pipes
sjturley
sjturley at gmail.com
Mon Oct 10 22:32:52 CEST 2011
It will run for 5-10 seconds before it dies.
Roger Pack wrote:
>
> On Thu, Oct 6, 2011 at 9:02 AM, Steve Turley <sjturley@> wrote:
>> I am reading a live/real-time MPEG-2 transport stream from a named pipe
>> into
>> FFmpeg. The incoming stream is MPEG-2 video and AC-3 audio. I need to
>> transcode to H.264 and MP3. I can cat the named pipe to a file and play
>> back the MPEG-2 video without issue in VLC or TS Reader. Does anyone
>> have
>> tips on how to use named pipes as input to FFmpeg?
>>
>> Here are some commands I've tried:
>> ffmpeg -i ~/stream_pipe -acodec libmp3lame -ab 128k -ar 44100 -ac 2
>> -vcodec
>> libx264 -vpre lossless_ultrafast -b 1000k -s 640x480 -r 29.97 -strict
>> experimental -deinterlace -f mpegts -y udp://192.168.1.1:10000
>> ffmpeg -f mpegts -re -i ~/stream_pipe -acodec libmp3lame -ab 128k -ar
>> 44100
>> -ac 2 -vcodec libx264 -vpre lossless_ultrafast -b 1000k -s 640x480 -r
>> 29.97
>> -strict experimental -deinterlace -f mpegts -y udp://192.168.1.1:10000
>
> Does it just die immediately then?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Input-from-named-pipes-tp3879348p3891727.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list