Re: [FFmpeg-user] FFMPEG 3.3.2 audio copy conversion question

2017-10-12 Thread Gyan Doshi
On 10/12/2017 1:59 AM, Adam Gendron wrote: for %%D in (*.mkv *.mp4) do ffmpeg -report -i "%%D" -map 0:0 -map 0:1 -map 0:1 -map 0:2 -c:v libx264 -preset veryslow -vf "yadif=1:-1:1,fps=6/1001" -crf 21 -tune film -c:a:0 copy -c:a:1 aac -ac:a:1 2 -b:a:1 128k -cutoff:a:1 18000 -af:a:1

Re: [FFmpeg-user] feature proposal - avoid overwriting the input file

2017-10-10 Thread Gyan Doshi
On 10/11/2017 5:40 AM, Lou wrote: On Tue, Oct 10, 2017, at 03:40 PM, Mikhail V wrote: So, it would be nice if ffmpeg compare the output path with all input paths and exit with an error. This is ticket #4655. https://trac.ffmpeg.org/ticket/4655 Occasionally, a user does this deliberately,

Re: [FFmpeg-user] Amerge trouble

2017-11-21 Thread Gyan Doshi
On 11/19/2017 6:09 PM, Bouke / VideoToolShed wrote: ffmpeg -i HD422.mxf -i 8ch.wav -c:v copy -c:a pcm_s24le -filter_complex \ "[1:a]channelsplit=channel_layout=7.1[a0][a1][a2][a3][a4][a5][a6][a7],\ [a1][0:a:1][a0][0:a:0][0:a:2]amerge=inputs=5[a]" \ -map 0:v -map "[a]" -timecode 01:00:00:00

Re: [FFmpeg-user] pan filter confusion

2017-11-23 Thread Gyan Doshi
On 11/23/2017 5:46 PM, Carles Vila wrote: So far I've been able to create a stereo mp4 file, but the audio is silent. How are you testing the output? Have you tried ffplay -vn proxy_stereo.mp4 ? Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Bit Depth of PNG Overlay with Alpha channel

2017-11-25 Thread Gyan Doshi
On 11/25/2017 3:20 PM, Pete Willis wrote: We have a transparent PNG file with a drop shadow. The drop shadow when overlayed onto a Mov is rendering very dark. This is usually related to whether the input color pixels are straight or pre-multiplied. Try ffmpeg -I TEST-1.mxf -i

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-01 Thread Gyan Doshi
On 12/1/2017 10:42 PM, Will Price wrote: Hello, I'm having a strange problem when extracting frames from a video recorded from a GoPro HERO 5 Black camera (1080p, 60FPS, Linear FOV). When I view the extracted frames it appears that every two frames is a duplicate of one another, i.e. frames

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Gyan Doshi
On 12/19/2017 9:40 PM, Mark Corner wrote: I think we crossed emails, but the use of aresample=async=5000 seems to fix it for me. Use async=1 for discarding padding limits. The filter will then pad as needed. Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] filter_complex vs vf with one filter

2017-11-17 Thread Gyan Doshi
On 11/18/2017 10:45 AM, Hans Carlson wrote: What's the difference between "-filter_complex" and "-vf" when only one filter is used?  Specially, when the "scale" filter is used. This has come up before, and looks like it hasn't been fixed. In the filter_complex, the scale filter uses the

Re: [FFmpeg-user] Amerge trouble

2017-11-18 Thread Gyan Doshi
On 11/18/2017 7:42 PM, Bouke / VideoToolShed wrote: Stream mapping: Stream #0:2 (pcm_s24le) -> amerge:in3 Stream #0:3 (pcm_s24le) -> amerge:in1 Stream #0:4 (pcm_s24le) -> amerge:in4 Stream #1:0 (pcm_s24le) -> amerge:in0 Stream #1:0 (pcm_s24le) -> amerge:in2 but, the result has

Re: [FFmpeg-user] Windows 10, ffmpeg concat/demux is slow... part 2

2017-11-11 Thread Gyan Doshi
On 11/12/2017 11:11 AM, Kevin Duffey wrote: If other posts I found indicated that this was a normal speed I might accept it... however, I see many posts indicating they get 100, 200 or more fps when concat/demux is being used where I am getting about 5fps to 10fps. Rather than fps, check

Re: [FFmpeg-user] filter_complex vs vf with one filter

2017-11-18 Thread Gyan Doshi
On 11/18/2017 9:22 PM, Carl Eugen Hoyos wrote: This has come up before Could you point me to the report? See this thread: https://ffmpeg.org/pipermail/ffmpeg-user/2017-May/036078.html Regards, Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Properly download/trim a hls-stream which reports invalid timestamps

2017-11-17 Thread Gyan Doshi
On 11/18/2017 7:16 AM, Moritz Barsnick wrote: No, the mp4 extension is misleading because it's an MPEG-TS, what HLS natively carries. (Or does HLS offer other sub-containers?) As per the docs, HLS can use fragmented MP4s "after version 7". Gyan

Re: [FFmpeg-user] slideshow with crossfade

2017-11-05 Thread Gyan Doshi
On 11/6/2017 2:08 AM, Carl Eugen Hoyos wrote: ffmpeg -framerate 0.5 -i IMG_%3d.jpg -r 2 -codec:v mpeg4 temp.mp4 ffmpeg -i temp.mp4 -vf "framerate=fps=25" -codec:v mpeg4 out.mp4 You should be able to combine the command lines using the fps filter. This does not produce the same result.

Re: [FFmpeg-user] Convert a frame to anything readable

2017-11-06 Thread Gyan Doshi
On 11/7/2017 11:03 AM, Constantine wrote: Stream #0:0: Video: vp8 (VP80 / 0x30385056), yuv420p(progressive), 480x640, 527 kb/s, SAR 1:1 DAR 3:4, 60 fps, 60 tbr, 60 tbn, 60 tbc [vp8 @ 0x55c1ee9e05e0] Discarding interframe without a prior keyframe! VP8, like most delivery

Re: [FFmpeg-user] Sending Patches to the Dev List

2017-12-07 Thread Gyan Doshi
On 12/7/2017 1:38 PM, Jon bae wrote: One thing is to, that my patch is not shown here: https://patchwork.ffmpeg.org/project/ffmpeg/list/ so I though maybe I did something wrong. Patches sent via Gmail web show up as attachments* and don't get listed at Patchwork. Doesn't happen if sent

Re: [FFmpeg-user] vpxenc-vp9 row-mt

2017-10-21 Thread Gyan Doshi
On 10/21/2017 7:45 PM, Szucsik György wrote: However, I build ffmpeg and it doesn't show up in the options, not even in -h full. If I'm not mistaken (by looking at libvpxenc.c), this has to be enabled during compile time. How can this be done without modifying the source code? Did I just

Re: [FFmpeg-user] Replacing an audio stream in an MP4

2018-05-06 Thread Gyan Doshi
On 5/7/2018 6:26 AM, Dan Bridges wrote: 1. Is this the most efficient way to perform this task?  Could I mux the AVC stream in test.mp4 with the AAC stream in replacement.mp4 without first demuxing them. That is, could this all be performed in one FFMPEG command? No need to demux to

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Gyan Doshi
On 5/5/2018 6:48 PM, swades wrote: Hello Respected i can't get. can you please type the command here. it ll be help for me. Thanks for previous help C:\>set SDL_AUDIODRIVER=directsound C:\>ffplay file ___ ffmpeg-user mailing list

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Gyan Doshi
On 5/5/2018 7:06 PM, swades wrote: https://s17.postimg.cc/8g0ianye7/ffplay_4.jpg You haven't asked ffplay to play any file. ffplay is not a graphical program. Basic use of ffplay requires issuing a command of the form: ffplay video-filename e.g., on Windows 7, ffplay

Re: [FFmpeg-user] forfiles - ffmpeg -Volume Filter not recognised

2018-05-09 Thread Gyan Doshi
On 5/9/2018 1:51 PM, Gareth Fakouri wrote: PS C:\Users\garet\Videos\Cobra> forfiles /c "cmd /c ffmpeg -i @FILE -filter:a "volume=3" -c:v libx264 -preset ultrafast @FNAME.mp4" ERROR: Invalid argument/option - 'volume=3 -c:v libx264 -preset ultrafast @FNAME.mp4'. Maybe quotes within

Re: [FFmpeg-user] HEVC to RAW

2018-05-11 Thread Gyan Doshi
On 5/11/2018 12:11 PM, Alexis Boniface wrote: This is the output that I have: https://pastebin.com/iJMiMNqB "ffmpeg version 2.8.14 ..." This is very old. Current release is 4.0. Upgrade to that or to a static build of the latest git snapshot and check. Links at

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-04 Thread Gyan Doshi
On 5/4/2018 5:22 PM, swades wrote: I use simply ffplay "http://hindiabp-lh.akamaihd.net/i/hindiabp1new_1@192103/index_300_av-b.m3u8; pause [img]https://i.imgur.com/2NiKJDM.jpg[/img] Run set SDL_AUDIODRIVER=directsound before you run ffplay. You need to do this once for every CMD

Re: [FFmpeg-user] How to get rid of X265 info output

2018-05-22 Thread Gyan Doshi
On 22-05-2018 11:32 PM, Gabriel Zachmann wrote: I invoke ffmpeg like this: /usr/local/bin/ffmpeg -loglevel error -hide_banner -nostats -nostdin -i 'in.mpg' -map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 128k -codec:v hevc -tag:v hvc1 -preset

Re: [FFmpeg-user] fMP4 generation speed

2018-06-12 Thread Gyan Doshi
On 12-06-2018 11:59 PM, Ronak wrote: We've noticed that ffmpeg is really slow at segmenting the content at such a small fragmentation size. What's the reason behind this? Here's the command we're running: ffmpeg -i "${FILE}.mp4" -codec copy -hls_time 9.75238095238095 -hls_segment_type

Re: [FFmpeg-user] problems with cutting a video - resulting file is 254 bytes of size

2018-06-14 Thread Gyan Doshi
On 14-06-2018 06:37 PM, Adi Marvillo wrote: I am trying to shorten a video to the relevant part - cut the first 25 seconds at the beginning and cut/stop at 01min 25sec  - output is a file ... -ss 00:24:50 -t 00:01:25 ... This tells ffmpeg to start at 24m50s and extract 1m25s of output.

Re: [FFmpeg-user] How add expression in drawtext's text

2018-06-03 Thread Gyan Doshi
On 04-06-2018 09:24 AM, qw wrote: But the width of the text box will increase as frame number increases. I want to make the width of the text box unchanged. If the largest frame number is 9, I want to make the width of the text is of 5 numbers. How to do it? You have to know the final

Re: [FFmpeg-user] filter_complex concat large number of files.

2018-05-31 Thread Gyan Doshi
On 01-06-2018 05:58 AM, William C Bonner wrote: I'm using ffmpeg to concatenate a large number of files from my dash cam and then speed things up by a factor of 60. It works properly when the number of files is small, but fails as the filter_complex option string expands. I'm generating the

Re: [FFmpeg-user] Zoompan filter, frame counts seem to start from 2 and 1, not 0 -- expected behaviour?

2018-06-02 Thread Gyan Doshi
On 02-06-2018 02:39 PM, Jim DeLaHunt wrote: On 2018-06-02 01:22, Gyan Doshi wrote: This isn't related to the zoompan filter. If you ask ffmpeg to not compress the log messages by setting the repeat flag `-v +repeat`, you'll see that the crop filter processes the first frame twice. Sorry

Re: [FFmpeg-user] Zoompan filter, frame counts seem to start from 2 and 1, not 0 -- expected behaviour?

2018-06-02 Thread Gyan Doshi
On 02-06-2018 01:33 PM, Jim DeLaHunt wrote: 1234001.00     Last message repeated 1 times 2718003.00 3142002.00 1234002.00     Last message repeated 1 times This isn't related to the zoompan filter. If you ask ffmpeg to not compress the log messages by setting the repeat

Re: [FFmpeg-user] what's print() used to do in filter graph?

2018-06-01 Thread Gyan Doshi
On 01-06-2018 08:10 PM, qw wrote: I don't find the description of print() in the vf filtergraph in ffmpeg website, i.e. http://ffmpeg.org/ffmpeg-filters.html#drawtext-1 print() function is part of the eval API. All available functions are documented at

Re: [FFmpeg-user] fMP4 generation speed

2018-06-26 Thread Gyan Doshi
On 27-06-2018 09:50 AM, Ronak wrote: Just to clarify, I'm making a single fMP4 file here; not multiple. Just to confirm. Test with the MP4 muxer and create a fragmented MP4 to check speed. Regards, Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] ffmpeg -f concat from standard input instead of a file

2018-07-01 Thread Gyan Doshi
On 01-07-2018 10:42 PM, Cecil Westerhof wrote: echo -e "file educational.mov\nfile educational02.mov" | ffmpeg -f concat -i - -c copy educationalComplete.mov Add -protocol_whitelist file,pipe,crypto to before -i - Regards, Gyan ___

Re: [FFmpeg-user] Support request - configuring ffmpeg for YouTube Live 60fps

2018-04-26 Thread Gyan Doshi
On 4/26/2018 2:25 PM, Stuart Porter wrote: However the video is completely blank Even when played with ffplay? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or

Re: [FFmpeg-user] How to properly record sound when capturing web cam?

2018-05-01 Thread Gyan Doshi
On 5/1/2018 9:28 PM, Carl Eugen Hoyos wrote: I don't know if this makes a difference but you can try to swap inputs: $ ffmpeg -f alsa -i default -video_size 320x240 -i /dev/video0 -thread_queue_size 800 -qscale 4 out.mp4 thread_queue_size is an input option and applied per file. {

Re: [FFmpeg-user] Tips on compressing videos created by GoPro

2017-10-19 Thread Gyan Doshi
On 10/19/2017 8:05 PM, Moritz Barsnick wrote: FFmpeg: "No pixel format specified, yuvj420p for H.264 encoding chosen. Use -pix_fmt yuv420p for compatibility with outdated media players. " fine in VLC, as you point out, but perhaps some fool is using Windows Media Player, or some hardware

Re: [FFmpeg-user] Trimming a MOV creating out-of-sync, under-length result

2017-12-23 Thread Gyan Doshi
On 12/23/2017 4:09 PM, Stuart Bruce wrote: Hello I'm trying to use FFmpeg for a relatively simple task of trimming a 24fps .MOV file to make a shorter .MOV. - The audio is perfectly in sync to the source video, but the video track is 2 frames early- so where I would expect to see frame 100,

Re: [FFmpeg-user] how many complex filters i can use at the same time

2017-12-22 Thread Gyan Doshi
On 12/22/2017 8:38 PM, Antonio Hanna wrote: i'm using ffmpeg in a sort of a playout .. and i'm using 3 filters together .. 1- subtitle 2- logo 3- banner sliding at the bottom of the screen .. my question is .. how many complex filters i can use at the same time ?? thank you in advance !

Re: [FFmpeg-user] convertion from h264 to mp4 for MSE

2017-12-22 Thread Gyan Doshi
On 12/22/2017 1:59 PM, Grzegorz Wolny wrote: ffmpeg -f h264 -i 720p.h264 -c:v copy -an -movflags frag_keyframe+empty_moov+default_base_moof -f  mp4  720p.mp4 ... but the output stream is not correctly played by chrome. It looks like ... I would like to notice that the same h264 stream

Re: [FFmpeg-user] Combine 2 small GIF images to small animated GIF, fails with "Decoder (codec none) not found for input stream #0:0"

2018-01-07 Thread Gyan Doshi
GIFs have a dedicated demuxer and don't work via the image2 demuxer. Try the concat demuxer, or ingest the two GIFs separately and use the concat filter. Regards, Gyan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Gyan Doshi
On 1/7/2018 12:38 PM, Jim DeLaHunt wrote: Those examples lack a `-f image2` option. I would expect that option to be there; after all, isn't the image2 format exactly what this section is trying to explain? FFmpeg probes the input to determine its format. Adding the `-f` option for an

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Gyan Doshi
On 1/8/2018 12:31 AM, Moritz Barsnick wrote: I *believe* the detail that is missed in the documentation is that the use of a pattern "implies" the image2 demuxer (or muxer, if used as output). Apparently with such a high priority that I can't even open a single image named "%03d.jpg" without

Re: [FFmpeg-user] Quicktime reference files

2018-01-04 Thread Gyan Doshi
On 1/4/2018 2:22 PM, Kasper Folman wrote: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5433e20] Absolute path /Media/LA-PDS-Clips/CL18_MD1_MB_BOP_H.mov not tried for security reasons, set demuxer option use_absolute_path to allow absolute paths Have you tried with -use_absolute_path 1 alongside

Re: [FFmpeg-user] Extract rotation flag

2018-01-08 Thread Gyan Doshi
On 1/8/2018 9:49 PM, Andrey Goreev wrote: I am wondering if there is a way to extract the rotation flag ONLY using ffmpeg/ffprobe. Try ffprobe video.mp4 -show_entries side_data=rotation -select_streams v -read_intervals %+#1 -of compact=p=0 -v 0 Regards, Gyan

Re: [FFmpeg-user] Extract rotation flag

2018-01-08 Thread Gyan Doshi
On 1/8/2018 10:03 PM, Andrey Goreev wrote: Just need to get rid of "TAG:rotate=" now to get a clean "90" Change -of in my command to -of compact=p=0:nk=1 to get just the value. Regards, Gyan ___ ffmpeg-user mailing list

Re: [FFmpeg-user] stopping ffmpeg correctly while piping

2018-01-11 Thread Gyan Doshi
On 1/12/2018 12:14 AM, Moritz Barsnick wrote: Apparently, this requires you to explicitly map something ("-map 0"). I don't recall why, and why not with a filter involved. Too lazy to contemplate. *shrug* My guess is, in absence of map, ffmpeg auto-selects streams for output based on what

Re: [FFmpeg-user] ffmpeg ffv1 issue

2018-01-27 Thread Gyan Doshi
On 1/28/2018 1:31 AM, jeff.radcli...@comcast.net wrote: - slicecrc 0 Remove the space between '-' and 'slicecrc' Regards, Gyan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

Re: [FFmpeg-user] Is there an input or output file-size limit that FFmpeg can handle ?

2018-02-11 Thread Gyan Doshi
On 2/12/2018 11:47 AM, Shyam Sundar wrote: Can you please share if you have any data on it OR the size of the largest video you have ever tried with FFmpeg ? Output filesize limit is the max value of UINT64 i.e. 17179869183 GB. Actual limit subject to filesystem limit as well. As for input,

Re: [FFmpeg-user] YouTube streaming of a static image...

2018-02-08 Thread Gyan Doshi
On 2/8/2018 6:42 PM, DopeLabs wrote: there really isnt a easy way to loop audio or video (that i have found).. only images.. and im actually surprised they havent added a 'loop 1' option for audio or video files yet.. it must be among the top requested things to be added... The (input)

Re: [FFmpeg-user] Jumpy Video with Overlay

2018-02-17 Thread Gyan Doshi
On 2/17/2018 10:05 PM, Mark wrote: color=black:1920x1080:d=42 Change to color=black:1920x1080:d=42:r=30 color defaults to 25 fps and since it gets conveyed as the base for the overlays, 5 fps from all overlay secondary inputs get dropped. Regards, Gyan

Re: [FFmpeg-user] ffmpeg remuxing from MTS to MP4 now produces an unreadable audio stream

2018-02-18 Thread Gyan Doshi
On 2/18/2018 1:50 PM, Galen Menzel wrote: Here is the command and console output when the (non-functional) mp4 file is created from the original MTS file: Does the below work? ffmpeg -i [MTS_FILE] -acodec copy -vcodec copy -atag ac-3 [MP4_FILE] Regards, Gyan

Re: [FFmpeg-user] Unable to compile with libx264

2018-01-03 Thread Gyan Doshi
On 1/4/2018 8:11 AM, Chao-Chin Yang wrote: The problem was that the variable x264_bit_depth is undefined. I tried to look for this variable in any possible headers, especially x264_config.h and x264.h generated by the x264 installation, but nothing exists. Am I missing something in all

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gyan Doshi
On 1/3/2018 10:49 PM, Erik Dobberkau wrote: Regardless whether it is or not, there is some spec in QuickTime Player which requires .mp4 containers to have h.264 (and obviously now also h.265) video, and aac audio. OTOH I can't remember where I got this from, it's quite some years back... As

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-05 Thread Gyan Doshi
On 05-08-2018 06:41 PM, Michael Koch wrote: I'd like to ask if it's possible to make an exponential decay effect with FFmpeg. Let's assume a pixel is fashing to luminance = 1 in just one frame. Then in the output video I'd like to have the pixel flashing to 1 immediately, followed by an

Re: [FFmpeg-user] repeat first and last frame of a video

2018-08-01 Thread Gyan Doshi
On 02-08-2018 01:15 AM, Michael Koch wrote: Related question: Is it possible to give ffmpeg a video as input, and get the last frame of this video as output? Yes, using something like ffmpeg -sseof -0.2 -i input -q:v 1 -update 1 out.jpg For holding last frame, see

Re: [FFmpeg-user] The concat filter and duplicate frames from prores files

2018-08-06 Thread Gyan Doshi
On 06-08-2018 02:38 AM, Nick Ludlam wrote: Is there a likely culprit for this? Something where the audio is fractionally longer than the video, somehow? This is likely it. Try with -vsync vfr i.e. ffmpeg -loglevel verbose \ -i

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-06 Thread Gyan Doshi
On 07-08-2018 04:09 AM, Michael Koch wrote: F:\xxx>c:/ffmpeg/ffmpeg -i temp%4d.jpg -vf lutyuv="y=0.9*val" -frames 10 -q:v 1 -start_number 1 temp%4d.jpg FFmpeg does not edit files in-place. Input and output have to be different. Besides, > Input #0, image2, from 'temp%4d.jpg': >

Re: [FFmpeg-user] Audio ducking of input music based on vocals in another audio file

2018-08-15 Thread Gyan Doshi
On 14-08-2018 07:45 PM, Will Lewis wrote: Hi, I'm looking for a way to take an music audio file and automate the ducking on its volume level based on vocals in a separate audio file. The output should just be the music audio with volume reduced in response to that input. I believe this is

Re: [FFmpeg-user] crop values are incorrect and seemingly random

2018-08-16 Thread Gyan Doshi
On 16-08-2018 11:06 PM, acowbear wrote: Output #0, mp4, to 'cropped.mp4': Metadata: COMPATIBLE_BRANDS: qt MAJOR_BRAND : qt MINOR_VERSION : 537199360 encoder : Lavf58.17.101 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv422p10le,

Re: [FFmpeg-user] exponential decay, is it possible?

2018-08-07 Thread Gyan Doshi
On 07-08-2018 01:24 PM, Michael Koch wrote: That's correct, at the beginning there is only one image temp.jpg ffmpeg's image sequence demuxer, when not reading from a pipe, will probe for sequence size at initialization, so if an image doesn't exist at that stage, it won't be

Re: [FFmpeg-user] concat demuxer and 'strange' mp4s with wrong TBN

2018-08-22 Thread Gyan Doshi
On 22-08-2018 12:51 PM, Gabriele Greco wrote: file1.mp4 has the following video track: Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 5000 kb/s, 30 fps, 30 tbr, 600 tbn, 30 tbc (default) file2.mp4 has the following video track:

Re: [FFmpeg-user] Problematic RTSP re-streaming

2018-08-24 Thread Gyan Doshi
On 24-08-2018 08:16 PM, Shaji stellaton wrote: Hello George, Thanks for the prompt response. This is not the issue I discussed. He did not reply to your email. This is a mailing list. Gyan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] -f segment and -id3v2_version 3 seems not working together

2018-07-23 Thread Gyan Doshi
On 24-07-2018 01:26 AM, Lukasz Rybski wrote: ffmpeg -i "source.mp3" -f segment -segment_time 120 -c copy -id3v2_version 3 -metadata artist="myartist" -metadata album="myalbum" r:\%03d_nas.mp3" When using the segment muxer, the private options for the file format muxer have to be relayed

Re: [FFmpeg-user] Freeze frames in timeline editing

2018-07-22 Thread Gyan Doshi
On 21-07-2018 04:12 PM, John Allan Farleyton wrote: Hi, I am trying to slow down a video to half speed beginning from frame 100 with the setpts filter. It works, but from frame 100 I get 100 additional frozen dropped frames before the video continues at half speed. Is my command wrong or is

Re: [FFmpeg-user] Unusable audio after conversion

2018-09-06 Thread Gyan Doshi
On 07-09-2018 12:07 AM, ra...@gmx.ch wrote: Hi, I hope you're all well I have a problem converting audio from PCM (s24be) stereo to AAC (or anything youtube can use) in an mp4 container. converted_by_ffmpeg.mp4 [ffmpeg -i input.mp4 -c:v copy -c:a aac -b:a 384k -ac 2 output.mp4]

Re: [FFmpeg-user] ProRes encoding: Question about FFmpeg docs

2018-03-11 Thread Gyan Doshi
On 3/11/2018 6:01 PM, Gonzalo Garramuño wrote: and I get a mov file but without an alpha channel.  ffprobe reports: Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuva444p10le(progressive), 1280x720, 61876 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)

Re: [FFmpeg-user] mpeg2video encode gop structure

2018-03-14 Thread Gyan Doshi
On 3/15/2018 3:13 AM, Dan Bridges wrote: 1. Here is the order of frames before sorting. I presume this is how they're stored in the stream. I    B    B    P    B    B    P    B    B    P    I    B    B    P B    B    P    B    B    P    I    B    B    P 2. Here  is the order of frames

Re: [FFmpeg-user] tiled overlay filter?

2018-03-13 Thread Gyan Doshi
On 3/13/2018 7:00 AM, Bryan Huh wrote: > I was exploring the -tile filter for this, but the first obstacle I hit is > that the -tile filter seems to consume a frame per tile. I have no way of > saying I want to use the same static image for every tile. Let's say the video dimensions are W x

Re: [FFmpeg-user] weird seek behaviour in hls streams

2018-04-17 Thread Gyan Doshi
On 4/17/2018 4:07 PM, Daniel Oberhoff wrote: We run a service that extensively relies on hls streams recorded from rtsp capable cameras. We rotuinely generate clips from recorded streams and seem to run into weird behavior of -ss and -t. also it seems the hls stream always has a start-time

Re: [FFmpeg-user] weird seek behaviour in hls streams

2018-04-18 Thread Gyan Doshi
On 4/18/2018 3:19 PM, Daniel Oberhoff wrote: Ok, i investigated some further. The source of the problem seem to be the start offsets that are “weird” around hls. For one all our hls recordings report a start offset of 1.4s, and we have no idea where that is from (the source has no such

Re: [FFmpeg-user] ffmpeg ignores video filter (-vf:v:0/1), possible bug?

2018-04-19 Thread Gyan Doshi
On 4/19/2018 1:39 PM, Jakub Vojáček wrote: The command we're trying is ffmpeg -i udp://@239.10.10.4:5004?fifo_size=1 \ -map i:0x7f9 -c:v:0 h264_nvenc -r:v:0 25 *-vf:v:0 "fps=25,scale_npp=640:360:format=same:interp_algo=lanczos"* -aspect:v:0 16:9 -g:v:0 80 -b:v:0 400K -minrate:v:0

Re: [FFmpeg-user] Fastest way to get keyframe indices from MOV files?

2018-04-23 Thread Gyan Doshi
On 4/23/2018 7:31 PM, Stuart Bruce wrote: In principle, should there be a faster way to just get the keyframe / I frame numbers (or times), which doesn't require FFprobe to output over 1500 lines of data per minute of video for parsing afterwards? Using ffmpeg, you can run ffmpeg

Re: [FFmpeg-user] Support request - configuring ffmpeg for YouTube Live 60fps

2018-04-25 Thread Gyan Doshi
On 4/25/2018 9:41 PM, Stuart Porter wrote: However, if I increase the -rtbufsize to 1G I get this Before it eventually fails Message appears to be missing.. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Support request - configuring ffmpeg for YouTube Live 60fps

2018-04-25 Thread Gyan Doshi
On 4/25/2018 10:09 PM, Stuart Porter wrote: Thanks Guan, I pasted a screengrab there but it's been stripped out. I've left the office now but will find a way to send it later. Oh, got it then. They show up as attachments. With 1G, there's no longer a buffer error. Apparently, ffmpeg is

Re: [FFmpeg-user] Support request - configuring ffmpeg for YouTube Live 60fps

2018-04-25 Thread Gyan Doshi
On 4/25/2018 9:15 PM, Stuart Porter wrote: ffmpeg -f dshow -video_size 1920x1080 -r 60 -i video="AVerMedia Live Gamer HD 2":audio="Line (3- AVerMedia Live Gamer H" -r 30 -g 60 -s 1920x1080 -quality good -speed 5 -threads 16 -row-mt 1 -tile-columns 3 -frame-parallel 1 -qmin 4 -qmax 48 -b:v

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-23 Thread Gyan Doshi
On 3/23/2018 6:45 PM, Carl Eugen Hoyos wrote: 2018-03-23 14:12 GMT+01:00, Mark Thompson : This is still duplicating a very large number of frames for video sync. As suggested previously, please try with video sync disabled ("-vsync 0") or without audio. To the best of my

Re: [FFmpeg-user] Merging apad and overlay filters in complex filter

2018-03-05 Thread Gyan Doshi
On 3/5/2018 4:14 PM, C Colutions wrote: [audio]apad[audio]; should be [1:a]apad[audio]; You're sending an input file, specifically the (first) audio stream of the 2nd input file, to the filter, so 1:a is the designation to identify it. Regards, Gyan

Re: [FFmpeg-user] Upscaling SD 4x3 to FullHD 16x9 - Aspect Ratio problem

2018-06-22 Thread Gyan Doshi
On 22-06-2018 06:13 PM, Christoph Gerstbauer wrote: CommandLineOutput: ffmpeg -i "F:\scaler test\_5sec.avi" -vf "crop=720:576:0:32, setfield=tff, yadif=1:0:0, scale=-1:1080, tinterlace=interleave_top, fieldorder=tff" -vcodec ffvhuff -an -s 1920x1080 -aspect 16:9 "F:\scaler Since you're

Re: [FFmpeg-user] Custom seek

2018-09-03 Thread Gyan Doshi
On 03-09-2018 04:55 PM, Moritz Barsnick wrote: Hi Peter, On Sat, Sep 01, 2018 at 01:30:56 +0200, Peter Wetz wrote: In ffplay the left/right arrows can be used to skip forward/back 10 seconds. Can I somehow create a custom shortcut (or replace the existing one) to skip only 5 or 3 seconds?

Re: [FFmpeg-user] Unknown options in FAQ

2018-12-07 Thread Gyan Doshi
On 08-12-2018 01:07 AM, Ulf Zibis wrote: Hi, in FAQ I see options and flags, which I can't find in the documentation: https://ffmpeg.org/faq.html#toc-Which-are-good-parameters-for-encoding-high-quality-MPEG_002d4_003f What are the good for? Most of those are generic libavcodec options, found

Re: [FFmpeg-user] Help with metadata writing (mp4)... what's possible?

2018-12-06 Thread Gyan Doshi
On 07-12-2018 12:49 AM, Karen Norton wrote: Just a few more questions: 1. Where do I find your SU answer that you mention? Is there a link to see it? It's the SuperUser page you linked to :) 2. To make sure I understand using that -movflags use_metadata_tags does this mean my command line

Re: [FFmpeg-user] Help with metadata writing (mp4)... what's possible?

2018-12-06 Thread Gyan Doshi
On 07-12-2018 03:09 AM, Karen Norton wrote: I thought I would provide an update to this. Everything worked great adding the custom metadata and it shows up fine in ffprobe however all of the metadata stopped displaying in mediainfo, vlc, etc. I expected the custom tags not to show but I'm a

Re: [FFmpeg-user] Help with metadata writing (mp4)... what's possible?

2018-12-06 Thread Gyan Doshi
On 07-12-2018 12:10 AM, Karen Norton wrote: My questions are about finding the full scope of keys that can be written with ffmpeg because the sites I reference give varying sets of keys. I would like to find a comprehensive list of keys for all files in general (video and audio) but for mp4 in

Re: [FFmpeg-user] setdar ratio - syntax

2018-11-25 Thread Gyan Doshi
On 25-11-2018 06:45 AM, Kieran O Leary wrote: I tried to search through the commit history but didn't have enough time and knowledge to figure out when this happened. I don't see why the previous usage needed to change. Since ':' is used to delimit options within filters, the colon should

Re: [FFmpeg-user] Setting colour range.

2018-11-27 Thread Gyan Doshi
On 27-11-2018 08:59 PM, Kieran O Leary wrote: Can this metadata ever be set at a container level for mov? Must it always be the stream that holds this info? The muxer only writes it for MP4s, The QT spec doesn't accommodate its signaling : "In scheme A, Cb and Cr have a 2n-2 (254 for

Re: [FFmpeg-user] Setting colour range.

2018-11-27 Thread Gyan Doshi
On 27-11-2018 09:17 PM, Gyan Doshi wrote: On 27-11-2018 08:59 PM, Kieran O Leary wrote: Can this metadata ever be set at a container level for mov? Must it always be the stream that holds this info? The muxer only writes it for MP4s, The QT spec doesn't accommodate its signaling

Re: [FFmpeg-user] Merging images to video, plays well in mpv but not VLC

2018-09-17 Thread Gyan Doshi
On 17-09-2018 03:49 PM, Morten W. Petersen wrote: The command used is ffmpeg -framerate 1 -start_number 1 -i %08d.jpg -c:v libvpx-vp9 out.webm&>out.log\n What do I need to add, so that it plays well in VLC as well? Strictly speaking, not a ffmpeg issue. VLC, until recently*, couldn't