On Fri, 11 Sep 2020, Moritz Barsnick wrote:
ffmpeg has several display output muxers/devices. The most common one
(saying it works well, and that on many platforms) is "sdl" a.k.a.
"sdl". Have ffmpeg create two outputs:
$ ffmpeg -i INPUT -c whatever OUTPUTFILE -c copy -f sdl :0
(You may need
On Fri, 11 Sep 2020, Carl Eugen Hoyos wrote:
Am 11.09.2020 um 21:30 schrieb Hans Carlson :
$ ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 1280x720 -i
/dev/video2 -map 0:0 -c:v rawvideo -pixel_format yuv422p -f sdl :0
The output option is called -pix_fmt
Thanks, that helped
On Sat, 12 Sep 2020, Carl Eugen Hoyos wrote:
Please provide the sample produced with the following command line:
$ ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 1280x720 -i
/dev/video2 -c copy -f rawvideo -t 5 invalidapp.mjpg
I have a 9Mb sample, but the upload.ffmpeg.org FTP s
On Sat, 12 Sep 2020, Hans Carlson wrote:
On Sat, 12 Sep 2020, Carl Eugen Hoyos wrote:
Please provide the sample produced with the following command line:
$ ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 1280x720 -i
/dev/video2 -c copy -f rawvideo -t 5 invalidapp.mjpg
I have a
On Sat, 19 Dec 2020, Mark Filipak (ffmpeg) wrote:
For the developers:
At what point are frame numbers assigned?
Can't help there.
I don't know how to put the frame number (as text) into the frames
try google "ffmpeg frame number" - lots of results.
or look at the drawtext filter.
___
On Wed, 28 Jun 2017, shalin wrote:
Nicolas George wrote
I think you need to take a little step back and learn what Unix pipes
mean. They are meant to connect the output of a process to the input of
the next one, but in your examples your commands neither consume their
input nor produce outpu
I'm unable to compile the latest git master on an old i686 Linux (Fedora)
system I still use. See errors below.
The last time I compiled on this system was Mar 29, 2017 and it worked
fine. The commit ID was (247d0339ca5ddab692aee49baf43cd1324466028).
Here's truncated output from make. I'm
On Fri, 14 Jul 2017, Moritz Barsnick wrote:
done < VIDEO_FILES > FFMPEG_ERRORS 2>&1
I don't know why, but I have seen it before, and the '< VIDEO_FILES' may
be flooding ffmpeg's stdin. Do try "-nostdin".
This is a common problem with bash/sh and "while" loops. The while loop
is reading f
On Wed, 12 Jul 2017, Hans Carlson wrote:
I'm unable to compile the latest git master on an old i686 Linux
(Fedora) system I still use. See errors below.
The last time I compiled on this system was Mar 29, 2017 and it worked
fine. The commit ID was (247d0339ca5ddab692aee49baf43cd13244
Is it possible to use the concat demuxer with an input format?
For example:
$ ffmpeg -f s16le -ac 2 -f concat -i concat-raw.txt ...
or
$ ffmpeg -f concat -f s16le -ac 2 -i concat-raw.txt ...
I've tried both and it doesn't work, so I assume it's either not supported
or I'm doing something w
On Sun, 16 Jul 2017, Nicolas George wrote:
Le septidi 27 messidor, an CCXXV, Hans Carlson a écrit :
$ ffmpeg -f s16le -ac 2 -f concat -i concat-raw.txt ...
or
$ ffmpeg -f concat -f s16le -ac 2 -i concat-raw.txt ...
I've tried both and it doesn't work, so I assume it's eithe
What's the difference between "-filter_complex" and "-vf" when only one
filter is used? Specially, when the "scale" filter is used.
I assumed the results would be the same, but discovered the "-vf" version
creates an mpeg2 file almost 80M larger for my ~600M input test file.
$ ls -lGg TEST
On Sat, 18 Nov 2017, Gyan Doshi wrote:
You can use 'scale=-1:720:flags=bicubic' in filter_complex to achieve
the same result.
Thanks, that worked, but now the obvious question is which one is
"better"... quality-wise? I'm not that concerned about the size
difference, it was just an indicati
On Thu, 15 Mar 2018, Moritz Barsnick wrote:
On Thu, Mar 15, 2018 at 09:18:01 -0700, Carl Zwanzig wrote:
On 3/15/2018 9:05 AM, Moritz Barsnick wrote:
AFAIU, MPEG-PS can contain streams which appear later. (Same for
MPEG-TS, I think.) Perhaps the subtitle streams aren't visible at t=0.
That is
If I decode an audible aax file using the -activation_bytes option it
works fine for a single file, eg:
$ ffmpeg -activation_bytes -i part-1.aax -codec copy part-1.mp4
BUT if I try to concat multiple files using the concat demuxer it acts
like the -activation_bytes option isn't supp
I have an h264/vorbis video at 1k fps and want to convert it to mpeg2/ac3
at 30 fps. If I don't use the fps filter ffmpeg appears to automatically
convert the output to 30 fps (which I assume is the default -r value), but
the following warnings are displayed:
More than 1000 frames duplicate
On Sun, 20 Oct 2019, Carl Eugen Hoyos wrote:
Am 20.10.2019 um 23:05 schrieb Hans Carlson :
Is there any advantage (or disadvantage) to using the fps filter vs the
-r option in this particular case?
The main difference between the fps filter and the constant frame rate
output that can be
Why does padding (after crop/scale) seem to compress this video
horizontally?
Input #0, mpeg, from 'TEMP-original.vob':
Duration: 01:24:52.03, start: 0.287267, bitrate: 5841 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first),
720x576 [SAR 16:15 DAR 4:3], 25 fp
On Sun, 26 Jan 2020, Carl Eugen Hoyos wrote:
Am So., 26. Jan. 2020 um 23:38 Uhr schrieb Hans Carlson :
This is compressed horizontally (via ffplay) compared to original
$ ffmpeg -i TEMP-original.vob -codec:v mpeg2video -b:v 16384k -bufsize 4096k
-maxrate 3k -codec:a copy -vf
crop
On Mon, 27 Jan 2020, Carl Eugen Hoyos wrote:
Am Mo., 27. Jan. 2020 um 03:27 Uhr schrieb Hans Carlson :
Is 16/9 the correct value for setdar since that's what I want it to end
up to be?
Apparently not but it is what you told us you'd like. (I did not
calculate myself)
OK...
On Mon, 27 Jan 2020, Carl Eugen Hoyos wrote:
Am Mo., 27. Jan. 2020 um 04:28 Uhr schrieb Hans Carlson :
So, based on that, I assumed it would be a good idea to match the aspect
ration (720x480) and the DAR.
Does it help if you scale=-1:480 ?
Doesn't seem to... assuming I'
On Mon, 27 Jan 2020, Devin Heitmueller wrote:
FWIW, I've done a bunch of aspect ratio conversion based on AFD (including
cropping out letterbox/pillarbars and dealing with nonsquare pixels), and
I've had the best success with crop->pad->scale. There is also at least
one bug in the scale filter
Is it possible to stretch/scale only the center part of an overlay image?
I don't mean the middle section of a video, I mean only the center part of
a single image (png) that will be overlayed onto a background, such that
the left and right sides are relatively unchanged, but the center of the
On Thu, 13 Feb 2020, Michael Koch wrote:
Do you mean a continuous zoom like image warping? I have a few examples
in my book (search for "image warping"):
http://www.astro-electronic.de/FFmpeg_Book.pdf
Well... maybe... but I don't think so, at least not the way it's used in
your book.
I ONL
On Thu, 13 Feb 2020, Ted Park wrote:
Is it possible to stretch/scale only the center part of an overlay image?
I don't mean the middle section of a video, I mean only the center part
of a single image (png) that will be overlayed onto a background, such
that the left and right sides are rela
Is it possible to "remove" everything in a video except a specific color
(or maybe a range... ie close to a specific color)?
By "remove" I mean covert every that is NOT the color(s) I want to black
or transparent.
I have a video that contains a yellowish box that moves about the screen.
I wa
On Sun, 15 Mar 2020, Ted Park wrote:
I think colorkey filter can still do this. Basically you want the
converse of what color keying does right? It should work the same (that
is the opposite) way, and you just have to invert the alpha value.
I'm not quite sure what you mean by invert the alph
Can anyone explain to me why this displays only the yellow bar with
everything else black:
ffplay -f lavfi -i 'smptehdbars=duration=5' -vf
"colorhold=color=0xbcc906:similarity=0.25,chromakey=color=black:similarity=.2"
but this displays all bars in gray scale except the yellow bar which is
i
On Tue, 17 Mar 2020, Ted Park wrote:
Sorry I wasn’t clear, that is not what I meant at all and in fact I am
surprised that produced results that you describe as “sort of works.”
I’m kind of curious, is the material something you could share?
I came up with an example I think might illustrate
On Wed, 18 Mar 2020, Carl Eugen Hoyos wrote:
Am Di., 17. März 2020 um 00:38 Uhr schrieb Hans Carlson :
Can anyone explain to me why this displays only the yellow bar with
everything else black:
ffplay -f lavfi -i 'smptehdbars=duration=5' -vf
"colorhold=color=0xbcc906:
On Sat, 20 Jun 2020, Tom Crane wrote:
I am attempting to extract still frames from a video stream in a
multi-channel DVB-T MPEG transport stream, for example every 2 seconds,
with selected accompanying subtitles but can't get it to work.
This example command successfully extracts frames from
On Sat, 20 Jun 2020, M v D wrote:
I'm trying to convert a number of DVDs to MP4. Some of them work, others
result in lots of error messages and distorted output. All of them play
correctly in VLC if I open the IFO file, but the ones that give distorted
output fail to play in DVD if I open the VO
On Sat, 11 Jul 2020, Michael Koch wrote:
$ ffprobe -f lavfi -i movie=input.mp4,find_rect=options -show_entries
frame=pkt_pts_time:frame_tags=lavfi.rect.w,lavfi.rect.h,lavfi.rect.x,lavfi.rect.y
-of csv
The above command works fine, but is it possible to print the number of
the frame instead o
On Sat, 22 Aug 2020, Carl Zwanzig wrote:
On 8/22/2020 2:03 AM, Nicolas George wrote:
There is no duplication, only multiple outputs. Would you also remove
the man pages because they are "duplicate" of the HTML pages?
Multiple outputs is not duplicative? If the same info in the same format
i
I have a cheap USB pipe inspection camera and I want to see the output
(via ffplay) real-time, but also record (via ffmpeg). I seem to be able
to do both separately, but can't get them both to work at the same time
using the tee muxer. Well, it does work, but the ffplay output isn't
real-time
I just built the most recent ffmpeg from git (cloned today Jan 23rd) and
when I stream copy an mpeg2 file (see example output below) in some cases
I'm getting a LOT of buffer underflow errors and in all cases (so far) I'm
getting a couple warnings:
[vob @ 0x1dde980] VBV buffer size not set,
On Sun, 24 Jan 2016, Carl Eugen Hoyos wrote:
How I can I reproduce this issue?
I get the 2 warning messages with all of the mpeg(mpeg2video/ac3) files
I've tried so far. All of my files are mpeg container with mpeg2 video
and ac3 audio, some may have multiple ac3 audio streams and/or dvdsub
On Sun, 24 Jan 2016, Carl Eugen Hoyos wrote:
How I can I reproduce this issue?
Did my previous message provide enough info to reproduce the issue?
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-January/030305.html
___
ffmpeg-user mailing list
I have an mpeg2 with 2 subtitles streams, I'd like to copy the 1st
subtitle stream and overlay the 2nd. When I do this, I get
buffer underflow warnings.
If I remove the overlay filter, there are no warnings.
Am I doing something wrong?
I'd also like to take a different mpeg2 with a single su
On Mon, 7 Mar 2016, Carl Eugen Hoyos wrote:
Hans Carlson inbox.com> writes:
Buffer queue overflow, dropping.
You can use the fifo filter to avoid these, it will
increase memory usage.
Probably I'm doing something wrong, but adding the fifo filter didn't
help. I'm no
On Mon, 7 Mar 2016, Carl Eugen Hoyos wrote:
I suspect the stream specifiers [0:v] and [0:3] ensure
that fifo is not used.
I am not sure what the correct usage is but you could
try '[0:v}fifo[v];[0:3]fifo[o];[v][o]overlay`
(untested)
Thanks, that seems to work. No more buffer overflow warnings
I'm trying to reencode a video containing h264/ac3/pgssub to
mpeg2video/ac3/dvdsub. During the reencode, I scale the video from
1920x1080 to 1280x720.
The video scales just fine, but the subtitles (0:2) don't scale at all
going from pgssub to dvdsub.
In addition, the subtitles don't disappe
On Thu, 17 Mar 2016, Carl Eugen Hoyos wrote:
If -fix_sub_duration doesn't fix your issue, please provide a sample,
there is no file size limit.
It looks like -fix_sub_duration does fix the problem where each sub is
displayed over the previous sub. Thanks.
During the process of testing, I en
On Wed, 16 Mar 2016, Carl Eugen Hoyos wrote:
Hans Carlson inbox.com> writes:
When I last tried to convert PGS to dvdsubs, I found the subtitles were
converted, but when played, none of the subtitles would disappear.
How can I reproduce this?
I don't think you provided a sample...
With the latest git master (2016/03/18), if ffprobe is used on a pgssub or
dvdsub stream, it goes into an infinite loop. I don't know when this
started happening, but it was at some point after 2.8.6 because ffprobe
from that version seems to work.
I don't know if this happens with ALL psgsub
On Sat, 19 Mar 2016, Carl Eugen Hoyos wrote:
FFprobe terminates fine here with the sample you uploaded, what do I
miss?
Try removing "head" from the pipeline.
I probably shouldn't have included "head" in the command example, just
happened to be what I was doing while testing to try to see wha
On Wed, 16 Mar 2016, Z 34 wrote:
2) I've tried instead to convert PGS to dvdsubs - that appears to work
fine with .mkv, but with .ts, while the process completes successfully
I'm curious... did you check to see if the subtitles actually play
corrected?
When I last tried to convert PGS to dv
At some point after ffmpeg 2.8.5 I started to see this message when stream
copying mpg2 videos:
VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
I can pro
On Sat, 5 Nov 2016, Carl Eugen Hoyos wrote:
2016-11-05 1:23 GMT+01:00 Hans Carlson :
VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
What do I need
On Sat, 5 Nov 2016, Carl Eugen Hoyos wrote:
On Sat, 5 Nov 2016, Carl Eugen Hoyos wrote:
You did not use -codec copy in your original command line
I DID use -codec copy in my original command, but perhaps it wasn't
obvious because I included 3 commands:
http://ffmpeg.org/pipermail/ff
Is there any way to concat (not merge) specific streams from 2 files
without re-encoding?
For example, file #1 has a video stream and 4 audio streams and file #2
has a video stream and 2 audio streams. I want to concat the files
together, but include ONLY the following:
FILE-1: 0:0, 0:1,
On Sun, 6 Nov 2016, Moritz Barsnick wrote:
On Sun, Nov 06, 2016 at 14:23:02 -0800, Hans Carlson wrote:
Well, this is certainly part of your issue with merging: The "file"
directive comes before its details. The docs say:
All subsequent file-related directives apply to that file.
On Sat, 8 Dec 2018, Ulf Zibis wrote:
with:
ffmpeg -i "concat:CYD-001.vob|CYD-002.vob|..." -c copy CYD_copy.vob
I get the warning:
[svcd @ 0x56377151e140] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others,
On Wed, 12 Dec 2018, Carl Eugen Hoyos wrote:
2018-12-08 22:28 GMT+01:00, Ulf Zibis :
with:
ffmpeg -i "concat:CYD-001.vob|CYD-002.vob|..." -c copy CYD_copy.vob
I get the warning:
[svcd @ 0x56377151e140] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be complia
On Thu, 13 Dec 2018, Carl Eugen Hoyos wrote:
2018-12-13 0:57 GMT+01:00, Hans Carlson :
So, I'll rephrase Ulf's original question... how do you avoid this
warning while doing a stream COPY (remux)?
You cannot, as the maximum bit-rate cannot be set when remuxing. The
muxer has
On Thu, 21 Feb 2019, Ulf Zibis wrote:
Is ffmpeg able to gather such language codes for the 13 subtitles and
the 5 audio streams from the ifo files and how?
You might want to take a look at vgtmpeg:
http://godromo.com/gmt/vgtmpeg
It's a fork of ffmpeg that can read DVDs (or VIDEO_TS directo
On Sat, 23 Feb 2019, Ulf Zibis wrote:
The only missing is the language metadata for the subtitles. Maybe you
have an idea, how this will work too. (See the output below.)
I'm afraid I don't. You might want to try to contact the vgtmpeg
developer directly. Looks like there's a support link
On Sun, 24 Feb 2019, Moritz Barsnick wrote:
On Sun, Feb 24, 2019 at 01:19:20 +0100, Ulf Zibis wrote:
Would you be capable to create such a patch? I really would appreciate
this.
Attached. Use at your own risk. I only merged the changes and fixed
obvious merge issues.
This is great. What's
On Thu, 6 Jun 2024, Mark Filipak wrote:
Does anyone have an M2TS raw parser? Lacking that, does anyone have a
map of M2TS so I can parse it manually and locate the 'closed_gop' MPEG
tag?
Try searching for "m2ts parser". One of the first hits I got was this:
https://github.com/daniep01/MPE
On Fri, 5 Jul 2024, Mark Filipak wrote:
Well, I separated video & audio into separate streams but got the same
result:
"Media type mismatch between the 'Parsed_split_0' filter output pad 1 (video)
and the 'Parsed_atrim_2' filter input pad 0 (audio)"
So, the video stream is going right through
60 matches
Mail list logo