[FFmpeg-user] re-encoding and transcode (codec copy) on same file.

2017-04-07 Thread YIRAN LI
Hi guys, I'm investigating if it's possible to do editing and transcode on same file. I mean use -vcodec copy, we can readout packets and write them directly into output file without re-encoding. But if it's possible, for example if I have a 2 mins video, re-encode 1st min because there're some e

Re: [FFmpeg-user] use q:v and maxrate

2016-04-06 Thread YIRAN LI
2016-04-07 11:43 GMT+10:00 Carl Eugen Hoyos : > YIRAN LI gmail.com> writes: > > > ffmpeg.exe -i big_buck_bunny.mp4 -c:v mpeg4 -profile:v 15 > > -vtag DIVX -bufsize 308 -maxrate 800 -bt 800 > > -minrate 0 -an a.avi > > As said, this c

Re: [FFmpeg-user] use q:v and maxrate

2016-04-06 Thread YIRAN LI
2016-04-07 10:56 GMT+10:00 Carl Eugen Hoyos : > YIRAN LI gmail.com> writes: > > > > > ffmpeg.exe -i a.mp4 -c:v mpeg4 -profile:v 15 -vtag DIVX > > > > -bufsize 308 -maxrate 800 -bt 800 -an a.avi > > > > (so that maxbitrate will be 8000

Re: [FFmpeg-user] use q:v and maxrate

2016-04-06 Thread YIRAN LI
2016-04-06 18:12 GMT+10:00 Carl Eugen Hoyos : > YIRAN LI gmail.com> writes: > > > ffmpeg.exe -i a.mp4 -c:v mpeg4 -profile:v 15 -vtag DIVX > > -bufsize 308 -maxrate 800 -bt 800 -an a.avi > > (so that maxbitrate will be 8000kbps) > > You forgot to s

[FFmpeg-user] use q:v and maxrate

2016-04-06 Thread YIRAN LI
Hi guys, I'm encoding videos target a max average bitrate and want to achieve good encoding quality. When I use ffmpeg.exe -i a.mp4 -c:v mpeg4 -profile:v 15 -vtag DIVX -bufsize 308 -maxrate 800 -bt 800 -an a.avi (so that maxbitrate will be 8000kbps), in this case I get a.avi wit