View Single Post
  #4  
Old 10-27-2012, 06:57 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Player for .mpg on webpage


Quote:
Originally Posted by sunBathin
Input #0, rtsp, from 'rtsp://rootbvious@10.0.0.64:554/mpeg4/media.amp':
FFmpeg is pretty smart about defaults you should be able to do something like

Code:
ffmpeg -i rtsp://root:obvious@10.0.0.64:554/mpeg4/media.amp out.mp4
This will set

- MP4 container
- h.264 codec
- CRF 23 quality

You cannot do "-vcodec copy" because that will simply copy the source mpeg4 video stream, without encoding. As a side note modern FFmpeg uses "-c:v copy" idiom for copying video stream. Please update your scripts.
Reply With Quote