Re: [FFmpeg-user] Accurate Trimming Without Transcoding

2016-03-10 Thread ValdikSS
This should be possible, but I'm not sure if you can achieve proper PTS with ffmpeg only. Try mkvmerge. On 03/07/2016 02:29 PM, Robert Nagy wrote: > I'm not suggesting to throw away the frames. > > Keep the frames but set an appropriate start time. That way the "trimmed" > frames would be decoded

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
On 02/09/2016 04:29 PM, Moritz Barsnick wrote: > On Tue, Feb 09, 2016 at 14:56:47 +0300, ValdikSS wrote: > > > You seem to be using a version from around July 20 2015. Have you tried > latest git master yet? Just tried current git master, and, unfortunately, it's the same. I

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
On 02/09/2016 04:29 PM, Moritz Barsnick wrote: > On Tue, Feb 09, 2016 at 14:56:47 +0300, ValdikSS wrote: > That's what I have been wondering all along in this thread. Who is > doing it wrong? > > What I could observe (I think) from using the file: > Its DTS/PTS seem to be

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
On 02/09/2016 03:01 PM, Nicholas Robbins wrote: > Here is the one I made with "ffmpeg -i rkszxnz.mkv -threads 3 -speed 5 > -vsync 0 test.webm" > > http://filebin.ca/2WMwFCPHqfFD/test.webm Could you please encode it with more bitrate? -crf 35 -b:v 0 -speed 4 please. > > -Nick > _

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
On 02/09/2016 02:49 PM, Carl Eugen Hoyos wrote: > ValdikSS valdikss.org.ru> writes: > > How did you create this file? > I wonder if it is valid to have more frames than the > framerate suggests... As I said, I've encoded episode and opening separately and joined it into

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
It doesn't play smoothly in VLC for me either. Can you upload your file somewhere? Maybe I have a bug somewhere outside ffmpeg build. Just for reference, this is file encoded with -vsync 0 and it's jerky for me in ffplay, mpv and vlc. http://b.1339.cf/ecclhrq.webm And the following file has bee

Re: [FFmpeg-user] VFR video re-encoding

2016-02-09 Thread ValdikSS
ffmpeg -ss 00:00:45 -i rkszxnz.mkv -t 00:00:30 -b:v 0 -crf 40 -threads 3 -speed 4 -vsync 0 -copyts test3.webm On 02/09/2016 10:02 AM, Carl Eugen Hoyos wrote: > Nicholas Robbins ffmpeg.org> writes: > > How can I reproduce this? > Please understand that segfaults are very important > because they

Re: [FFmpeg-user] VFR video re-encoding

2016-02-08 Thread ValdikSS
I'm afraid a message from you got corrupted. signature.asc Description: OpenPGP digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] VFR video re-encoding

2016-02-07 Thread ValdikSS
9 AM, Nicholas Robbins wrote: > On Sunday, February 7, 2016 1:28 PM, ValdikSS wrote: > > Why are you trying to "reencode it" that format looks fine to me. Are you > trying to make it CFR? > > > If you give us your complete input command and the complete

[FFmpeg-user] VFR video re-encoding

2016-02-07 Thread ValdikSS
Hello! I'm having trouble with re-encoding VFR video. Source video consists of main episode part (23.98 FPS) and opening part (29.97 FPS), I've encoded these parts separately and joined with mkvmerge. It plays fine without stuttering. Now, I want to re-encode joined file with ffmpeg. I tried: -v