Re: [FFmpeg-user] How to copy all of 5 audio streams to mp4 file

2019-02-18 Thread Ulf Zibis
Hi Moritz, thanks for your additional hints. Am 18.02.19 um 17:06 schrieb Moritz Barsnick: > ffmpeg needs to detect them *before* demuxing. That's why I told you to > use large values for "-probesize" and "-analyzeduration". They tell > ffmpeg to look deeply into the video before deciding which i

Re: [FFmpeg-user] How to copy all of 5 audio streams to mp4 file

2019-02-18 Thread Ulf Zibis
Am 18.02.19 um 14:56 schrieb Moritz Barsnick: > You can use "-map 0" to get *all* streams from the input. This is at > the risk of also mapping e.g. data streams, which the output format may > not support. Great, this works fine now. >> Also there should be 13 subtitle streams in this video, but

[FFmpeg-user] How to copy all of 5 audio streams to mp4 file

2019-02-18 Thread Ulf Zibis
Hi, I have a ripped vob stream with 5 audio streams. I want all these audio streams in the mp4 file. What to do for this? Also there should be 13 subtitle streams in this video, but I don't find them here. $ ffmpeg -i "concat:002-C001/VLuN-001.vob|002-C002/VLuN-001.vob|002-C003/VLuN-001.vob|002-

[FFmpeg-user] Copy DVD to Matroska container with DVD menus

2019-02-15 Thread Ulf Zibis
Hi all, is it possible to copy the content of a DVD to a Matraska container with all DVD menus, chapters, all audio languages and all subtitles, so the MKV file could be used similar as a DVD and optionally copied back to a DVD later? -Ulf -- Von meinem Seibert gesendet ___

Re: [FFmpeg-user] command line syntax ambiguity, was: What is option -level ?

2019-02-15 Thread Ulf Zibis
Am 15.02.19 um 09:49 schrieb Gyan: > All codec options support stream specifiers, so level for 2nd audio > output stream would be > >     -level:a:1 value Much thanks. Is that documented somewhere? I don't find it. -Ulf ___ ffmpeg-user mailing list ff

Re: [FFmpeg-user] command line syntax ambiguity, was: What is option -level ?

2019-02-15 Thread Ulf Zibis
Hi Carl Eugen, Am 15.02.19 um 01:06 schrieb Carl Eugen Hoyos: > "+" means that the flag should be set (no effect for flags that are set > by default or by the application) , "-" that the flag should be removed > (no effect if the flag is not set by default or by the application) >> There is no exp

Re: [FFmpeg-user] What is option -level ?

2019-02-14 Thread Ulf Zibis
Hi Jonathan, thanks for your hints. Unfortunately they have been already  known to me, but there still remain 2 questions from my side: - The '+' with "-flags" arguments, I can imagine, it serves as separator. But is that all, has '-' another meaning too? There is no explanation on this at: https:

Re: [FFmpeg-user] What is option -level ?

2019-02-13 Thread Ulf Zibis
Am 13.02.19 um 20:23 schrieb Lou Logan: > https://trac.ffmpeg.org/wiki/Encode/H.264 Thanks, I know this page. >> If I need 2 passes I should know about the correct syntax, "-flags pass1" or >> "-pass 1". > "-pass 1" for the first pass, then "-pass 2" for the second pass. I was just wondering, th

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 21:43 schrieb Lou Logan: > This looks like a command from 10 years ago. > Use -crf instead of -b. If you must use -b then use -b:v. > > Use scale filter instead of -s. If you need to scale. > > Do you need to crop? > > You don't need -aspect. If you do want to mess with aspect use s

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 21:33 schrieb Ulf Zibis: > Shouldn't it be "-flags pass1" instead "-pass 1"? > Are there other elements in that option set, which are bad syntax? E.g. > for -cmp I only see values like 'sad' in the ffmpeg docs, but not '256'.

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Am 12.02.19 um 19:42 schrieb Ted Park: > Try searching for level on the page you linked, it is listed, along with > syntax. Ah, you mean to use "level" with hyphen, so "-level". This is poorly described. But how to determine, if such option is meant for audio, video or both? > I think its name

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Much thanks again. Am 12.02.19 um 18:51 schrieb Ted Park: >> I'm wondering, why this option is not documented in >> https://www.ffmpeg.org/ffmpeg-codecs.html >> > It is, sort of. It is a global codec option; various codecs have a concept of > “levels”

Re: [FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Much thanks Ted. I'm wondering, why this option is not documented in https://www.ffmpeg.org/ffmpeg-codecs.html Unfortunately also here I can't find level 30: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels -Ulf Am 12.02.19 um 18:12 schrieb Ted Park: > It is a set of constraints on the enco

[FFmpeg-user] What is option -level ?

2019-02-12 Thread Ulf Zibis
Hi, in the settings of K9Copy I see the following ffmpeg command options: -b $VIDBRk -s $WIDTHx$HEIGHT -vf crop=$CROPWIDTH:$CROPHEIGHT:$CROPLEFT:$CROPTOP -aspect $ASPECT -codec:v libx264 -level 30 -Ulf -- Von meinem Seibert gesendet ___ ffmpeg-user m

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-04 Thread Ulf Zibis
Am 04.02.19 um 01:00 schrieb Carl Eugen Hoyos: > 2019-02-03 21:16 GMT+01:00, Ulf Zibis : >> Am 03.02.19 um 21:06 schrieb Carl Zwanzig: >>> It's a shortening of "Top Field First" (TFF). With interlaced video >>> you have a choice of whether the top or

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 03.02.19 um 21:06 schrieb Carl Zwanzig: > It's a shortening of "Top Field First" (TFF). With interlaced video > you have a choice of whether the top or bottom field (odd numbered > lines/even numbered lines) comes before the other in the digital stream. I know this, but Carl Eugen said, that my

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 03.02.19 um 16:52 schrieb Ulf Zibis: > Hi Carl Eugen, > > For me it's ok to close that discussion here. You did a lot of effort to > explain me many details, much thanks for that. I can live with the > remaining unclarity. But could you please tell me the meaning of &q

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 03.02.19 um 17:17 schrieb Carl Eugen Hoyos: > They do not look like comb artefacts as caused by interlaced > recording to me. Thanks, here I respect your experience with video material I don't have. But these artefacts must have to do with horizontal motion, as they don't appear in "normal" s

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 03.02.19 um 16:47 schrieb Carl Eugen Hoyos: > 2019-02-03 16:31 GMT+01:00, Ulf Zibis : > >> Also I'm missing even few celluloid dropouts in the whole video. > But this does not rule out progressive digital video. There was no digital

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Hi Carl Eugen, Am 03.02.19 um 14:06 schrieb Carl Eugen Hoyos: >>> Second: >>> libx264 does support interlaced encoding (but not field > (It appears as if you didn't read this sentence: It does not > mean "you can feed anything into libx264, it will somehow > deal with it", it means "libx264 does s

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 03.02.19 um 13:56 schrieb Carl Eugen Hoyos: >> Otherwise I can't explain the comb artefacts at some >> areas. > I don't really see them, I see many artefacts. I have marked what I interpret as comb artefacts in the attachment. Also I'm missing even few celluloid dropouts in the whole video.

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-03 Thread Ulf Zibis
Am 01.02.19 um 20:00 schrieb Carl Eugen Hoyos: >> But for the rest of the video, I'm wondering that I nowhere notice such >> dropouts. IIRC I read, that the film was produced with a budget of >> 20.000 DM, which IMHO is not enough for a 76 min. celluloid film. >> >> Additionally in the turning cam

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-02 Thread Ulf Zibis
Am 11.01.19 um 01:47 schrieb Carl Eugen Hoyos: > 2019-01-11 0:39 GMT+01:00, Ulf Zibis : > >> can anybody explain me the data of ffprobe, I don't find enough hints in >> the docu. E.g.: >> $ ffprobe CYD_copy.vob >> Input #0, mpeg, from 'CYD_copy.vob'

Re: [FFmpeg-user] How to duplicate 1st line

2019-02-02 Thread Ulf Zibis
Hi again, Am 06.01.19 um 14:27 schrieb Ulf Zibis: > because of a noise in the 1st line of my video, I want to duplicate the > 2nd line to the first. I tried this and got an error about invalid > horizontal crop value: > ffmpeg -i in.vob -vf > "split[in1][in2];[in1]crop=in_w:

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-02 Thread Ulf Zibis
Hi Moritz, Am 02.02.19 um 22:29 schrieb Moritz Barsnick: > You can always "up-convert" your colorspace before cropping, and > "down-convert" afterwards: > $ ffmpeg [...] -vf format=yuv444p,crop=h=1:...,format=yuv420p [...] > or something like this. Much thank for this hack ... it works! For the r

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-02 Thread Ulf Zibis
Am 02.02.19 um 02:18 schrieb Carl Eugen Hoyos: >> I meant, if libx264 does a re-encoding from interlaced >> encoding to progressive encoding? > libx264 does not encode "from interlaced encoding" > because it cannot know if the source was encoded > interlaced or progressive. With "interlaced encod

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-02 Thread Ulf Zibis
Am 02.02.19 um 19:27 schrieb Ulf Zibis: > But if I have a interlaced encoded stream with interlaced content, I > guess only both steps at same time ensure to get a progressive stream > with good visual quality. For this case I see 2 options. Assume we have a 25 fps top first interlace

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-02 Thread Ulf Zibis
Am 02.02.19 um 18:38 schrieb Carl Eugen Hoyos: > 2019-02-01 23:46 GMT+01:00, Ulf Zibis : >> Am 30.01.19 um 15:08 schrieb Carl Eugen Hoyos: >>> Without interpolation, this is what all video players do if you disable >>> all de-interlacing. >>> The problem is

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-01 Thread Ulf Zibis
Am 01.02.19 um 20:00 schrieb Carl Eugen Hoyos: > Yes, this is correct, yadif is able to nicely remove the interlace > artefacts but I believe it leads to even more distortions in the > rest of the video. This matches to my experience. The best result I got was simply using the atadenoise filter.

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-01 Thread Ulf Zibis
Am 01.02.19 um 23:25 schrieb Carl Eugen Hoyos: > 2019-02-01 23:14 GMT+01:00, Ulf Zibis : >> So now I understand (hopefully). My main interest was is to know, >> if my video is _encoded_ interlaced or not, and I still don't know it :-( > Debugging mpegvideo.c shows the vide

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-01 Thread Ulf Zibis
Am 30.01.19 um 15:08 schrieb Carl Eugen Hoyos: > Without interpolation, this is what all video players do if you disable > all de-interlacing. > The problem is what kind of "interpolation" you use, this is called > de-interlacing, an endless number of algorithms exist. OK, my understandig was, "d

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-01 Thread Ulf Zibis
Hi, again to my initial question ... Am 31.01.19 um 13:48 schrieb Carl Eugen Hoyos: > DVD recorders can only produce interlaced files if the input > was interlaced, in this specific case, a file with progressive > content was produced (from progressive original). > > (Above of course only applies

Re: [FFmpeg-user] Meaning of ffprobe output

2019-02-01 Thread Ulf Zibis
Hi again, Am 31.01.19 um 00:18 schrieb Carl Eugen Hoyos: > This masterpiece (make sure you don't miss the imdb comment) > was most likely made with a film camera that knew nothing about > interlacing. I'm sure this is true at least for the opening credits, as there are flashing dropouts, typical

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Ulf Zibis
Hi, here you find the rip from dvd::rip and the result from ffmpeg: https://c.1und1.de/@519472591769967166/-XGssZrBRCiT0J4xQUU1LA I'm curious, what you find out, Ulf Am 29.01.19 um 21:47 schrieb Carl Eugen Hoyos: > 2019-01-29 20:50 GMT+01:00, Ulf Zibis : >> If you want I could

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-29 Thread Ulf Zibis
Hi Carl Eugen, Am 29.01.19 um 22:14 schrieb Carl Eugen Hoyos: > > Are you both sure that the DVD recorder is able to record something > from analog signal that can be de-interlaced? I am curious... Do you ask if it is possible/thinkable, that the resulting DVD contains an already de-interlaced st

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-29 Thread Ulf Zibis
Am 29.01.19 um 02:31 schrieb Ulf Zibis: > Am 29.01.19 um 01:32 schrieb Moritz Barsnick: >> On Mon, Jan 28, 2019 at 22:52:38 +0100, Ulf Zibis wrote: >>>> LEDs and LCDs would give you headaches if they displayed alternating >>>> lines, as the "afterglow

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-29 Thread Ulf Zibis
Moin Moritz, Am 29.01.19 um 21:48 schrieb Moritz Barsnick: >> My explanation is, that the original VHS was marked with copy >> protection, so the DVD recorder by legal reasons has to sustain the >> copy protection by creating an intentionally corrupted DVD file >> system (which is not readable fro

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-29 Thread Ulf Zibis
Hi Carl Eugen, thanks again for your patience. Am 29.01.19 um 04:58 schrieb Carl Eugen Hoyos: > > (So apparently the next sentence is wrong and Lou > does offer release support - but unfortunately only > to you because he closed ticket #7697 this week > explaining there is no release support...)

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 29.01.19 um 01:32 schrieb Moritz Barsnick: > On Mon, Jan 28, 2019 at 22:52:38 +0100, Ulf Zibis wrote: >>> LEDs and LCDs would give you headaches if they displayed alternating lines, >>> as the "afterglow" effect of CRTs, retaining the line's content, is n

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Hi Carl Eugen, Am 19.01.19 um 14:02 schrieb Carl Eugen Hoyos: >> $ ffmpeg -i CYD_copy.vob -vf idet -f null - >> ffmpeg version 4.1-static https://johnvansickle.com/ffmpeg/ Copyright > Not supported here! > >> (c) 2000-2018 the FFmpeg developers >> built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 2

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 19.01.19 um 23:29 schrieb Carl Eugen Hoyos: > (I don't see this email) What you mean by that? > This deinterlacing method is called "weave", this is not what CRT's > do (as Moritz explained), most people do not like the results. > (Although some do!) This method results in a 25 fps stream, if

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 19.01.19 um 17:30 schrieb Moritz Barsnick: >> Well, but the software player could send 50 frames per second with >> alternately updating only each 2nd top/bottom line. > It could. But if the display is anything else than an old CRT, it will first > deinterlace internally. Why should it do thi

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-18 Thread Ulf Zibis
Hi, Am 18.01.19 um 16:44 schrieb Carl Eugen Hoyos: > One possibility is to add "-f null -". Thanks! from the original dvd::rip chunks I get: === $ ffmpeg -i "concat:001-C001/CYD-001.vob|001-C002/CYD-001.vob|001-C003/CYD-001.vob|001-C004/CYD-001.vob|001-C005/CYD-001.vob|001-

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-18 Thread Ulf Zibis
Hi, Am 18.01.19 um 16:44 schrieb Carl Eugen Hoyos: >> You may be right. Technically I don't see an obstacle for a software >> player to feed the video display buffer with 50 half-frames per second, >> as most displays refresh rate is at least 50 per sec. > I do though. > (It is simply not possible

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-18 Thread Ulf Zibis
Hi again, Am 15.01.19 um 12:54 schrieb Carl Eugen Hoyos: >> tbn > This is the container timebase, 90k for mpeg streams. For what stands 90k? For 90,000 milli seconds? >>> It stands for a timebase of 1/9 >> Is it 1/9 second? > I suspect timebase is a fraction and has no unit bu

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-14 Thread Ulf Zibis
Hi, Am 13.01.19 um 00:25 schrieb Carl Eugen Hoyos: tbn >>> This is the container timebase, 90k for mpeg streams. >> For what stands 90k? For 90,000 milli seconds? > It stands for a timebase of 1/9 Is it 1/9 second? > which is the timebase > for all mpeg streams (and cannot be change

Re: [FFmpeg-user] How to correctly chain filters

2019-01-14 Thread Ulf Zibis
Carl Eugen, thanks for remembering the question .. Am 15.01.19 um 01:30 schrieb Carl Eugen Hoyos: > 2018-12-07 3:22 GMT+01:00, Ulf Zibis : > >> I have tried 2 forms: >> $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d >> -q 3 -c:a copy out_bwdif_hqdn3d.vob &

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-12 Thread Ulf Zibis
Thanks Carl Eugen ... Am 11.01.19 um 01:47 schrieb Carl Eugen Hoyos: > 2019-01-11 0:39 GMT+01:00, Ulf Zibis : > >> tbn > This is the container timebase, 90k for mpeg streams. For what stands 90k? For 90,000 milli seconds? >> -movflags +faststart -c copy CYD_copy.vob &

Re: [FFmpeg-user] Calculating offset of shifted line

2019-01-11 Thread Ulf Zibis
Hi, a polite ping ... -Ulf Am 09.01.19 um 01:22 schrieb Ulf Zibis: > Hi, > > I would like to calculate how much a special line in the video is > irregularly shifted to right or left. For this I want to compare the > line with the adjacent line above by calculating the minimum of

[FFmpeg-user] Meaning of ffprobe output

2019-01-10 Thread Ulf Zibis
Hi, can anybody explain me the data of ffprobe, I don't find enough hints in the docu. E.g.: $ ffprobe CYD_copy.vob Input #0, mpeg, from 'CYD_copy.vob':   Duration: 01:16:20.74, start: 0.50, bitrate: 7068 kb/s     Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s     Stream #0:1[

[FFmpeg-user] Calculating offset of shifted line

2019-01-08 Thread Ulf Zibis
Hi, I would like to calculate how much a special line in the video is irregularly shifted to right or left. For this I want to compare the line with the adjacent line above by calculating the minimum of the quadratic mean for each shift. I'm first looking for something like: x:=0; y:=123; diff:=

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-06 Thread Ulf Zibis
Hi, Am 20.12.18 um 01:20 schrieb Carl Eugen Hoyos: > 2018-12-20 1:18 GMT+01:00, Ulf Zibis : >> With corrected select I still get 1 black picture and CYD_002.jpg is >> frame 00:00:54, and so I still get 77 instead 76 pictures. > Command line and complete, uncut console output mis

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Ulf Zibis
Hi, Am 06.01.19 um 17:56 schrieb Michael Koch: > >> Sounds good, but with >> $ ffmpeg -i CYD_6m_copy.vob -movflags +faststart -vf >> "fillborders=top=1" -c:v libx264 -c:a copy CYD_6m_fill-top_H.264.mp4 >> I get: >> [AVFilterGraph @ 0x55a6153dafa0] No such filter: 'fillborders' > > With the la

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Ulf Zibis
Hi, Am 06.01.19 um 16:05 schrieb Paul B Mahol: > > use fillborders filters. Sounds good, but with     $ ffmpeg -i CYD_6m_copy.vob -movflags +faststart -vf "fillborders=top=1" -c:v libx264 -c:a copy CYD_6m_fill-top_H.264.mp4 I get: [AVFilterGraph @ 0x55a6153dafa0] No such filter: 'fillborders' Erro

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-06 Thread Ulf Zibis
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s Except the useless "Stream #0:0[0x1bf]: Data: dvd_nav_packet", the 2 files seem to be identical. So it still remains the question from: Am 20.12.18 um 15:48 schrieb Ulf Zibis: > Am 20.12.18 um 01:20 schrieb Carl Eugen Hoyos:

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-06 Thread Ulf Zibis
Hi, Am 06.01.19 um 14:39 schrieb Carl Eugen Hoyos: > 2019-01-06 14:38 GMT+01:00, Ulf Zibis : >> >> I used: >> >> $ mplayer -dumpstream -dumpfile CYD_dump+nav.vob dvdnav:dev/sr1 > Iirc, there is an option to set the device (that may > be unneeded) and you pro

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-06 Thread Ulf Zibis
Hi, Am 06.01.19 um 14:32 schrieb Carl Eugen Hoyos: > Which title numbers did you test? I used: $ mplayer -dumpstream -dumpfile CYD_dump+nav.vob dvdnav:dev/sr1 -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listi

[FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Ulf Zibis
Hi, because of a noise in the 1st line of my video, I want to duplicate the 2nd line to the first. I tried this and got an error about invalid horizontal crop value: ffmpeg -i in.vob -vf "split[in1][in2];[in1]crop=in_w:1:0:1[top];[in2]crop=in_w:in_h-1:0:1[main];[top][main] vstack"out_fill-top_.mp4

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-06 Thread Ulf Zibis
Hi Carl Eugen, Am 06.01.19 um 13:12 schrieb Carl Eugen Hoyos: > Please also test dvdnav:// as it is supposed to work better. When I use dvdnav:// I only get a small 70 kB file containing the DVD menu. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.or

Re: [FFmpeg-user] How to save chapters to mkv

2019-01-04 Thread Ulf Zibis
Thanks for your ideas ... Am 04.01.19 um 23:04 schrieb Paul B Mahol: > On 1/4/19, Ulf Zibis wrote: >> Hi, >> >> as far as I know, the Matroska format is able to save chapter information. >> >> As input I have 23 VOB files, each represents a chapter. I want to

[FFmpeg-user] How to duplicate 1st line

2019-01-04 Thread Ulf Zibis
Hi, because of a noise in the 1st line of my video, I want to duplicate the 2nd line to the first. I tried this and got an error about invalid horizontal crop value: ffmpeg -i in.vob -vf "split[in1][in2];[in1]crop=in_w:1:0:1[top];[in2]crop=in_w:in_h-1:0:1[main];[top][main] vstack"out_fill-top_.mp4

[FFmpeg-user] How to save chapters to mkv

2019-01-04 Thread Ulf Zibis
Hi, as far as I know, the Matroska format is able to save chapter information. As input I have 23 VOB files, each represents a chapter. I want to transcode this to MPEG-4 in a single MKV file with chapter markers. How does this work? Thanks, -Ulf -- Von meinem Seibert gesendet ___

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-04 Thread Ulf Zibis
... from the dump, I get: $ ls -l mplayer/CYD_dump.vob -rwxrwxrwx 1 root root 4214351872 Jan  2 21:50 mplayer/CYD_dump.vob $ ffprobe mplayer/CYD_dump.vob ffprobe version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2007-2018 the FFmpeg developers   built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) [.] Input #

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-04 Thread Ulf Zibis
in src/nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 *** {.....} -Ulf Am 03.01.19 um 01:20 schrieb Ulf Zibis: > Hi, > > Am 26.12.18 um 12:46 schrieb Carl Eugen Hoyos: >> $ mplayer -dumpstream dvd:// >> or >> $ mplayer -dumpstream dvdnav:// > I had to use: > &

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2019-01-02 Thread Ulf Zibis
Hi, Am 26.12.18 um 12:46 schrieb Carl Eugen Hoyos: > $ mplayer -dumpstream dvd:// > or > $ mplayer -dumpstream dvdnav:// I had to use: $ mplayer -dumpstream -dumpfile CYD_dump.vob dvd:dev/sr1 I got a file of 4.214.351.872 Bytes and following messages: MPlayer 1.3.0 (Debian), built with gcc-

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-26 Thread Ulf Zibis
A polite ping ... Am 23.12.18 um 16:46 schrieb Ulf Zibis: > Hi, > > Am 23.12.18 um 00:11 schrieb Carl Eugen Hoyos: >> I believe that the sync errors indicate that concatenation is not the >> right way here. >> Did you try mplayer -dumpstream? > No, but now I tr

Re: [FFmpeg-user] Question about handling / unwanted changes of SAR in ffmpeg

2018-12-26 Thread Ulf Zibis
Hi, Am 26.12.18 um 02:00 schrieb Carl Eugen Hoyos: > SAR is expected to change if you crop. I do not agree with. SAR should not change, so the video always shows a circle as a correct circle. Only the DAR should change from cropping. > Rounding can be different for different codecs and containers

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-23 Thread Ulf Zibis
Hi, Am 23.12.18 um 00:11 schrieb Carl Eugen Hoyos: > I believe that the sync errors indicate that concatenation is not the > right way here. > Did you try mplayer -dumpstream? No, but now I tried: mplayer -dumpstream 001-C001/CYD-001.vob 001-C002/CYD-001.vob ... But this only dumps the first fil

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-20 Thread Ulf Zibis
Hi again, Am 20.12.18 um 01:20 schrieb Carl Eugen Hoyos: > I suspect your video does not start at "0". You may be right, so I'm wondering why. To find this out, I describe how I created the video: The DVD was recorded by a hardware DVD-Recorder from the original VHS cassette several years ago by

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-19 Thread Ulf Zibis
Am 20.12.18 um 01:20 schrieb Carl Eugen Hoyos: > Command line and complete, uncut console output missing / I > suspect your video does not start at "0". Here it is: $ ffmpeg -i CYD_atadenoise_H.264_mp3-q4.mp4 -vf select='not(mod(n\,1500))' -vsync vfr -q:v 2 CYD_atadenoise_1%03d.jpg ffmpeg versi

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-19 Thread Ulf Zibis
Am 20.12.18 um 00:07 schrieb Carl Eugen Hoyos: > 2018-12-19 22:17 GMT+01:00, Ulf Zibis : > >> But with >> ffmpeg -i CYD.mp4 -r 1/60 CYD_%03d.jpg >> I got 78 pictures with good quality (~70 kB). >> Picture CYD_001.jpg and CYD_002.jpg were black, CYD_003.jpg >&g

Re: [FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-19 Thread Ulf Zibis
Much thanks! Am 17.12.18 um 22:52 schrieb Carl Eugen Hoyos: > > There is a select filter, as an alternative you can use the output > option "-r" with a fraction as operand, "-r 1/60". With ffmpeg -i CYD.mp4 -vf select='not(mod(n\,1500))' CYD_%03d.jpg I got 150,000 pictures with reduced quality (~

[FFmpeg-user] How to extract 1 frame as JPEG per minute

2018-12-17 Thread Ulf Zibis
Hi, I want to extract JPEG pictures from a MPEG-Video, one per minute. Can one give me some hints for an appropriate ffmpeg command? -Ulf -- Von meinem Seibert gesendet ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/li

Re: [FFmpeg-user] Bug with SAR (sample aspect ratio) ?

2018-12-17 Thread Ulf Zibis
Am 08.12.18 um 23:06 schrieb Paul B Mahol: > If you want this to be fixed provide input file, not output file. Now I have created a bug ticket: https://trac.ffmpeg.org/ticket/7623 -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg

Re: [FFmpeg-user] Warning: VBV buffer size not set

2018-12-13 Thread Ulf Zibis
Hi, Am 12.12.18 um 20:15 schrieb Carl Eugen Hoyos: > (My answer wasn't wrong but your command line does not make > much sense.) > > If your command succeeds (ie you ignore Hans' warning but still > get a useful output file) the following will also work and has > many advantages (apart from not sho

Re: [FFmpeg-user] How to filter VHS cassette artifacts + attachment

2018-12-08 Thread Ulf Zibis
Hi, Am 08.12.18 um 22:59 schrieb Paul B Mahol: > Than you need to crop relevant part you want to do special filtering, > and than combine it back with rest of video. Exactly ... and if I would know a ffmpeg command line for this I would not ask for in this list. Thanks for getting what I want. I

Re: [FFmpeg-user] Bug with asymetric SAR (sample aspect ratio) ?

2018-12-08 Thread Ulf Zibis
Hi, Am 08.12.18 um 23:06 schrieb Paul B Mahol: > On 12/8/18, Ulf Zibis wrote: >> Hi, >> >> the attached JPEG is extracted with ffmpeg from a video with 704x576 >> [SAR 12:11 DAR 4:3]. >> The x/y dpi values then should be 11/12 instead 12/11. >> The resultin

[FFmpeg-user] Bug with SAR (sample aspect ratio) ?

2018-12-08 Thread Ulf Zibis
Hi, the attached JPEG is extracted with ffmpeg from a video with 704x576 [SAR 12:11 DAR 4:3]. The x/y dpi values then should be 11/12 instead 12/11. The resulting JPEG now has a DAR of 1.12 instead of 1.333 (4:3). -Ulf -- Von meinem Seibert gesendet

Re: [FFmpeg-user] How to filter VHS cassette artifacts + attachment

2018-12-08 Thread Ulf Zibis
Hi, Am 08.12.18 um 21:54 schrieb Paul B Mahol: > You can use fillborders filter, Thanks for your hint, but I also don't want to fill the border with black or what ever. > but you can not guess correct missing pixels. It doesn't matter, if the pixels are not 100 % correct. -Ulf __

[FFmpeg-user] Warning: VBV buffer size not set

2018-12-08 Thread Ulf Zibis
Hi, 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, make sure you set the correct buffe

[FFmpeg-user] How to filter VHS cassette artifacts + attachment

2018-12-08 Thread Ulf Zibis
Hi again, Am 08.12.18 um 11:34 schrieb Carl Eugen Hoyos: > Shouldn't you just crop them? I don't want to crop them. In the attached sample you can see the partly broken 1st line (missing content at always same position) and 2 broken lines (irregularly horizontally shifted), 5..8 lines from botto

Re: [FFmpeg-user] How to filter VHS cassette artifacts

2018-12-08 Thread Ulf Zibis
Hi again, Am 08.12.18 um 11:34 schrieb Carl Eugen Hoyos: > Shouldn't you just crop them? I don't want to crop them. In the attached sample you can see the partly broken 1st line (missing content at always same position) and 2 broken lines (irregularly horizontally shifted), 5..8 lines from botto

[FFmpeg-user] Unknown options in FAQ

2018-12-07 Thread Ulf Zibis
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? Thanks, Ulf -- Von meinem Seibert gesendet ___ f

[FFmpeg-user] How to filter VHS cassette artifacts

2018-12-07 Thread Ulf Zibis
Hi, I have a VOB-file, originally recorded from a VHS-Kassette. On the upper edge I see a black line from left to the middle. Approximately 5 lines from bottom I see 2..3 other horizontally shifted flickering lines. Filter kerndeint removes the upper one, but not the lowers. But it does not rem

Re: [FFmpeg-user] How to correctly chain filters

2018-12-07 Thread Ulf Zibis
Hi Moritz Am 07.12.18 um 09:20 schrieb Moritz Barsnick: > ffmpeg does *not* support multiple "-vf" options for the same output, > only one of them is used. (It does not warn on multiple use either, > though.) The correct syntax for chaining filters is the comma: > > https://ffmpeg.org/ffmpeg-filte

[FFmpeg-user] How to correctly chain filters

2018-12-06 Thread Ulf Zibis
Hi, I have tried 2 forms: $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d -q 3 -c:a copy out_bwdif_hqdn3d.vob $ ffmpeg -i in.vob -movflags +faststart -vf bwdif,hqdn3d -q 3 -c:a copy out_bwdif,hqdn3d.vob The 1st one results in a file of size 229 MB, the 2nd of size 328 MB. Can anyone

<    1   2   3   4