Advertisement
Guest User

Untitled

a guest
Oct 28th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. tail -f myvideofile.mpg | avconv -i - -c:v mpeg2video -b:v '9000k' -c:a copy -mpegts_pmt_start_pid '0x1b8a' -f mpegts pipe:- > /tmp/testmpg
  2.  
  3. then
  4.  
  5. tail -f /tmp/testmpg #outputs nothing
  6.  
  7.  
  8.  
  9. tail -f myvideofile.mpg | avconv -i - -c:v mpeg2video -b:v '9000k' -c:a copy -mpegts_pmt_start_pid '0x1b8a' -y -f mpegts /tmp/testmpg
  10.  
  11. then
  12.  
  13. ls -lh /tmp/testmpg #size goes up, data is going into it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement