FORUMS: list search recent posts

im in need of grabbing live video with audio through ffmpeg in c#

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
sabari new
im in need of grabbing live video with audio through ffmpeg in c#
on May 22, 2012 at 11:41:16 am

Hi
The current argument that i have been passing for ffmpeg for video is
Arguments For Video Only:
[ffmpegArgs = @"-threads 4 -f rawvideo -pix_fmt bgr24 -re -s " + w + "x" + h +" -deinterlace -i - -s " + w + "x" + h + " -target " + targetstd + "-dvd -vcodec mpeg2video -vf " + '"' + "vflip" + '"' + " -deinterlace -aspect "
+ aspectratio + " -y -";]
im passing this command to ffmpeg process and by raising thread im able to record video in mpeg2format without any error.
Now currently i have been involved to capture audio too.
Arguments For Video With Audio
[ ffmpegArgs = @"-threads 4 -f rawvideo -pix_fmt bgr24 -re -s " + w + "x" + h +
" -deinterlace -i - -ac 2 -ar 48000 -ab 192k -f mulaw -i - -s " + w + "x" + h + " -target " + targetstd + "-dvd -vcodec mpeg2video -pix_fmt gray16be -vf " + '"' + "vflip" + '"' + " -deinterlace -aspect "
+ aspectratio + " -ar 48000 -ab 192k -ac 2 -strict experimental -acodec pcm_alaw -y -";]
i couldn get proper output for video with audio.the output i recieved is filled with full of noise and scramblled video.im using the latest ffmpeg version.how can i get proper output.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]