VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Mar 2010
    Location
    Slovenia
    Search Comp PM
    Hello!

    I want to something like this:
    ffmpeg -i http://localhost:1234 -vcodec mpeg2video -b 2000k -acodec ac3 -ab 128k -f mpegts output.ts

    So the thing is following. I have a webcam (CANYON CNR-WCAM420) which I stream to the network with vlc and then pick it up with ffmpeg and transcode it to a .ts file like I wrote in the example.
    And now I want to stream the transcodec transport stream again to the network, something like this ffmpeg -i http://localhost:1234 -vcodec mpeg2video -b 2000k -acodec ac3 -ab 128k -f mpegts http://localhost:1235 or UDP, RTP or something else. So can I stream a hole day to the network and no file will create on my computer which will rise and rise.

    Hope you understand me what I mean. If not post me again and I will explain it again. I realy need this working
    Quote Quote  
  2. Hi Lusky,

    I want to do almost the same stuff, have you been able to achieve this in some way ?
    Quote Quote  
  3. Member
    Join Date
    Mar 2010
    Location
    Slovenia
    Search Comp PM
    Yes. For me works like this.

    -i http://localhost:1234 -vcodec mpeg2video -b 2000k -acodec mp2 -ab 128k -f mpegts udp://127.0.0.1:1235

    Hope it will help you
    Quote Quote  
  4. Thanks for you reply,

    Can I pick up RTSP stream with ffmpeg and then combine it with another audio stream and then Stream the resultant to web?
    Can you gimme some hint?

    Regards,

    Mudassar
    Quote Quote  
  5. Member
    Join Date
    Mar 2010
    Location
    Slovenia
    Search Comp PM
    I think it is the same way as for http -i rtsp://localhost:1234. I don't know so exactly if it will work, but one way is that you make some maps -map 0:1 like this. In which you can put diferent audio and video files. The maps you must inserd betwen -ab 128k - map 1:0........ -f mpegts.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!