Re: [FFmpeg-user] output jpeg quality

2015-01-15 Thread Lou
On Wed, Jan 14, 2015, at 11:05 PM, Green Koopa wrote: -q did set the jpeg compression level, making it consistent across frames. (It had no affect on the png compression level.) Thanks for the tips Lou. For PNG you can use -compression_level. Range is 0-100. Default is 100 (highest

Re: [FFmpeg-user] MPEG-2 CBR

2015-01-15 Thread Janez Miklavcic
Thank you for your help! The fact is taht when using hardware encoder and you set mux rate to 20Mbit/s and video to 2Mbit/s the space between 2 Mbit and 20 Mbit/s will be filled with null packets, this is not in this case. Now I reduced Mux rate and it is not exceeded by the tests I did with TS

Re: [FFmpeg-user] Change frame rate without dropping/adding frames

2015-01-15 Thread Elliott Balsley
After a long break from this issue, I have a new problem. For example, I want to take a 24fps video and make it play slow-mo at 12fps. The input option -r is dropping frames, rather than slowing down the playback speed. I don't have my main computer right now, which uses the latest git master;

Re: [FFmpeg-user] Change frame rate without dropping/adding frames

2015-01-15 Thread Elliott Balsley
Ah yes of course, I had the numbers mixed up in my head. Thanks Nick. Now when I do the conversion, I get all these non-monotonous DTS warnings. Is there any solution to that, other than reducing the loglevel? The output file seems to be correct, albeit without a timecode track. Timecode is

Re: [FFmpeg-user] output jpeg quality

2015-01-15 Thread Green Koopa
On 15 Jan 2015, Lou l...@lrcd.com wrote: On 14 Jan 2015, Green Koopa greenko...@gmail.com wrote: -q did set the jpeg compression level, making it consistent across frames. (It had no affect on the png compression level.) Thanks for the tips Lou. For PNG you can use -compression_level.

Re: [FFmpeg-user] Change frame rate without dropping/adding frames

2015-01-15 Thread Nicholas Robbins
On Thursday, January 15, 2015 7:30 PM, Elliott Balsley elliottbals...@gmail.com wrote: After a long break from this issue, I have a new problem. For example, I want to take a 24fps video and make it play slow-mo at 12fps. The input option -r is dropping frames, rather than slowing down

Re: [FFmpeg-user] output jpeg quality

2015-01-15 Thread Moritz Barsnick
On Thu, Jan 15, 2015 at 00:05:51 -0800, Green Koopa wrote: When outputting frames like this, is there a way to put the frame number/time in the output file name? Otherwise, it looks like I have to use the drawtext filter to add it to the images. Sure. It's mentioned here:

Re: [FFmpeg-user] output jpeg quality

2015-01-15 Thread Green Koopa
On 12 Jan 2015, Lou l...@lrcd.com wrote: On 10 Jan 2015, Green Koopa greenko...@gmail.com wrote: This creates one image for each second of video: ffmpeg -i 00020.MTS -vf fps=fps=1 -f image2 stills-%03d.png When I change the output format to jpeg, it does the same: ffmpeg -i 00020.MTS

[FFmpeg-user] Usages about multi outputs

2015-01-15 Thread xiaoyao...@163.com
Hi, I am not sure if anyone asked this kind of question before. Now I want to build a system with one In and N outs with FFMPEG. The system likes below: Indeinterlace---subtitledelogo---logo |- scale

Re: [FFmpeg-user] Usages about multi outputs

2015-01-15 Thread Moritz Barsnick
On Thu, Jan 15, 2015 at 10:27:02 +0100, Moritz Barsnick wrote: On Thu, Jan 15, 2015 at 16:35:20 +0800, xiaoyao...@163.com wrote: ./ffmpeg -i input.mp4 -i logo.png -filter_complex yadif=deint=1,subtitles=subtitle.ass,delogo=x=60:y=60:w=100:h=77:band=10,overlay=10:10,split=2[a][b] -map [a]

Re: [FFmpeg-user] Usages about multi outputs

2015-01-15 Thread Moritz Barsnick
On Thu, Jan 15, 2015 at 18:06:26 +0800, xiaoyao...@163.com wrote: Perfect! It works with small change from -map 0:a to -map 0:a. Actually, you meant my -map [0:a]. Sorry, my bad. There _should_ also be some way to encode your audio only once, since both your encodings are identical. Someone

Re: [FFmpeg-user] MPEG-2 CBR

2015-01-15 Thread Roger Pack
On 1/14/15, Janez Miklavcic svisla...@gmail.com wrote: Dear All, I've been trying to achive constant video bitrate for mpeg-2 with different settings of ffmpeg (windows) but no success. The source was dshow. I've been testing video bitrate with TS reader. Can you tell me if video CBR in

Re: [FFmpeg-user] MPEG-2 CBR

2015-01-15 Thread Janez Miklavcic
f:/ffmpeg/bin/ffmpeg.exe -f dshow -video_size 720x576 -framerate 25 -pixel_format bgr24 -i video=VidBlaster VVD -mpegts_service_id 0x002 -metadata service_name=POLANC TV INFO -metadata service_provider=SVISLAR telekom d.o.o. -vcodec mpeg2video -b:v 2000k -minrate:v 2000k -maxrate:v 2000k -bufsize

Re: [FFmpeg-user] Usages about multi outputs

2015-01-15 Thread xiaoyao...@163.com
Thanks Moritz, Below are the all outputs. Maybe one filter_complex can feed all filters, but I do not have much experience about how to make it. [root@cdn ffmpeg_dev]# ./ffmpeg -input.mp4 -i logo.png -filter_complex

Re: [FFmpeg-user] Usages about multi outputs

2015-01-15 Thread xiaoyao...@163.com
Thanks Moritz, Perfect! It works with small change from -map 0:a to -map 0:a. Thanks a lot! From: Moritz Barsnick Date: 2015-01-15 17:53 To: FFmpeg user discussions Subject: Re: [FFmpeg-user] Usages about multi outputs On Thu, Jan 15, 2015 at 10:27:02 +0100, Moritz Barsnick wrote: On Thu,

[FFmpeg-user] cutting and splicing

2015-01-15 Thread Green Koopa
In short order I got ffmpeg to read a video, apply a few filters (crop, color adjustments, sharpness, volume), and output a new file. The extensive documentation is a blessing to this new user. After applying the filters, I would like to edit the video to shorten it. Specifically, I would like to

Re: [FFmpeg-user] MPEG-2 CBR

2015-01-15 Thread Claudiu Rad-Lohanel
On 1/15/2015 1:30 PM, Janez Miklavcic wrote: f:/ffmpeg/bin/ffmpeg.exe -f dshow -video_size 720x576 -framerate 25 -pixel_format bgr24 -i video=VidBlaster VVD -mpegts_service_id 0x002 -metadata service_name=POLANC TV INFO -metadata service_provider=SVISLAR telekom d.o.o. -vcodec mpeg2video -b:v

Re: [FFmpeg-user] MPEG-2 CBR

2015-01-15 Thread Roger Pack
On 1/15/15, Janez Miklavcic svisla...@gmail.com wrote: Thank you for your help! The fact is taht when using hardware encoder and you set mux rate to 20Mbit/s and video to 2Mbit/s the space between 2 Mbit and 20 Mbit/s will be filled with null packets, this is not in this case. Now I reduced