Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

UPDATED

On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park :


It is pretty much abandoned but did you try the dvd2concat perl script in the 
tools directory?


It is supposed to work for this use case, but mplayer -dumpstream was tested
much more and is better suited if you need a file that contains a dvd track.


By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time 
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video malfunctions.


[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.

Second-by-second, MPV playback progress bar at the 50% point:

Time (left) 01:04:30 [_]__ -00:01:36 Left (right)
01:04:29 [_]__ -00:01:35
01:04:28 [_]__ -00:01:34
00:00:00 [_]__ -01:06:28
00:00:01 [_]__ -01:06:27
00:00:02 [_]__ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior 
to the 50% point.

UPDATE

I just ran H:\VIDEO_TS\VTS_01_1.VOB ... H:\VIDEO_TS\VTS_01_6.VOB through MKVToolNix. I saved the 
result as 'c:\AVOut\VTS_01_1..6.VOB.MKVToolNix.MKV'. It plays flawlessly in MPV.


What to conclude:

'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
doesn't fix the PTS problems that dog ffmpeg.

Merging & remuxing 'H:\VIDEO_TS\VTS_01_1.VOB' ... 'H:\VIDEO_TS\VTS_01_6.VOB' does fix the PTS 
problems that dog ffmpeg.


I know this is not an MPlayer support mailing list, but maybe my experiences with MKVToolNix (works) 
versus 'MPlayer -dumpstream' (doesn't work) can help the ffmpeg devs to determine why ffmpeg is 
dogged by PTS problems that appear to be provoked by what I've been doing.


Warm Regards,
Mark.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

Sorry, the p24 "source" *is* soft telecine.

On 04/24/2020 11:06 PM, pdr0 wrote:

Mark Filipak wrote




If you take a soft telecine input, encode it directly to rawvideo or
lossless output, you can confirm this.
The output is 29.97 (interlaced content) .


When I do 'telecine=pattern=5', I wind up with this

|<--1/6s-->|
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

I have confirmed it by single-frame stepping through test videos.


No.


The above timing is for an MKV of the 55-telecine transcode, not for the
decoder's output.


That's telecine=pattern=5 on a 23.976p native progressive source

I thought this thread was about using a soft telecine source , and how
ffmpeg handles that

because you were making assumptions "So, if the 'i30, TFF' from the decoder
is correct, the following must be the full picture: "

Obviously i30 does not refer to a 23.976p native progressive source...




Pattern looks correct, but unless you are doing something differently ,
your
timescale is not correct

When input is vob, mpeg2-ps or mpeg-es using soft telecine in my test,
using
telecine=pattern=5 the output frame rate is 74.925 as expected  (2.5 *
29.97
= 74.925).


Not for me. I've seen 74.925 FPS just one time. Since I considered it a
failure, I didn't save the
video and its log, so I don't know how I got it.


This mean RF flags are used, 29.97i output from decoder. Since
its 74.925fps, the scale in your diagram for 1/6s is wrong for
telecine=pattern=5


For this command line:

ffmpeg -report -i "1.018.m2ts" -filter_complex
"telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod(n+1\,5)\,1)'[F],[B]select='eq(mod(n+1\,5)\,2)'[G],[C]select='eq(mod(n+1\,5)\,3)'[H],[D]select='eq(mod(n+1\,5)\,4)'[I],[E]select='eq(mod(n+1\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5"
-map 0 -c:v libx264 -crf 20 -codec:a copy -codec:s copy
"C:\AVOut\1.018.4.MKV"

MPV playback of '1.018.4.MKV' says "FPS: 59.940 (estimated)" (not
74.925fps).


Is that m2ts a soft telecine BD's ? This thread was about soft telecine...


I see your misunderstanding. Here's my original diagram:


|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine
[A/-_][-/a_][B/-_][-/b_][B/-_][-/c_][C/-_][-/d_][D/-_][-/d_] i30-TFF
[A/a___][B/b___][B/c___][C/d___][D/d___] deinterlace
[A/a__][B/b__][C/c__][D/d__] detelecine
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

So, you see, the source is p24. "i30-TFF" is what I thought came out of the decoder -- that is based 
on the latest info (and it is what took me by surprise as I'd always thought that ffmpeg decoders 
always output frames).


Soft telecine is nowhere in that diagram. Sorry for the confusion.

CORRECTION: The p24 "source" *is* soft telecine. I'm working on BDs and DVDs in parallel and 
momentarily got my wires crossed.


Of course, it is soft telecined. Otherwise, i30-TFF wouldn't be there at all. The p24 source would 
go directly to 55-telecine.



Most film BD's are native progressive 23.976


Yes, that is the "source" in the diagram.


Both ffplay and mpv look like they ignore the repeat field flags, the
preview is progressive 23.976p


I use MPV. I'm unsure what you mean by "preview". ...and "preview" of
what? The decoder output or
the MKV output video?


The "preview" of the video is what you see when ffplay window opens or mpv
opens. It's a RGB converted representation what you are using as input to
mpv or ffplay .


Oh, I didn't know there was a distinction. I thought it was just the playback.


So I'm referring to a soft telecine source, because that's
what you were talking about


I hope that confusion is resolved.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

On 04/24/2020 11:06 PM, pdr0 wrote:

Mark Filipak wrote




If you take a soft telecine input, encode it directly to rawvideo or
lossless output, you can confirm this.
The output is 29.97 (interlaced content) .


When I do 'telecine=pattern=5', I wind up with this

|<--1/6s-->|
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

I have confirmed it by single-frame stepping through test videos.


No.


The above timing is for an MKV of the 55-telecine transcode, not for the
decoder's output.


That's telecine=pattern=5 on a 23.976p native progressive source

I thought this thread was about using a soft telecine source , and how
ffmpeg handles that

because you were making assumptions "So, if the 'i30, TFF' from the decoder
is correct, the following must be the full picture: "

Obviously i30 does not refer to a 23.976p native progressive source...




Pattern looks correct, but unless you are doing something differently ,
your
timescale is not correct

When input is vob, mpeg2-ps or mpeg-es using soft telecine in my test,
using
telecine=pattern=5 the output frame rate is 74.925 as expected  (2.5 *
29.97
= 74.925).


Not for me. I've seen 74.925 FPS just one time. Since I considered it a
failure, I didn't save the
video and its log, so I don't know how I got it.


This mean RF flags are used, 29.97i output from decoder. Since
its 74.925fps, the scale in your diagram for 1/6s is wrong for
telecine=pattern=5


For this command line:

ffmpeg -report -i "1.018.m2ts" -filter_complex
"telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod(n+1\,5)\,1)'[F],[B]select='eq(mod(n+1\,5)\,2)'[G],[C]select='eq(mod(n+1\,5)\,3)'[H],[D]select='eq(mod(n+1\,5)\,4)'[I],[E]select='eq(mod(n+1\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5"
-map 0 -c:v libx264 -crf 20 -codec:a copy -codec:s copy
"C:\AVOut\1.018.4.MKV"

MPV playback of '1.018.4.MKV' says "FPS: 59.940 (estimated)" (not
74.925fps).


Is that m2ts a soft telecine BD's ? This thread was about soft telecine...


I see your misunderstanding. Here's my original diagram:


|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine
[A/-_][-/a_][B/-_][-/b_][B/-_][-/c_][C/-_][-/d_][D/-_][-/d_] i30-TFF
[A/a___][B/b___][B/c___][C/d___][D/d___] deinterlace
[A/a__][B/b__][C/c__][D/d__] detelecine
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

So, you see, the source is p24. "i30-TFF" is what I thought came out of the decoder -- that is based 
on the latest info (and it is what took me by surprise as I'd always thought that ffmpeg decoders 
always output frames).


Soft telecine is nowhere in that diagram. Sorry for the confusion.


Most film BD's are native progressive 23.976


Yes, that is the "source" in the diagram.


Both ffplay and mpv look like they ignore the repeat field flags, the
preview is progressive 23.976p


I use MPV. I'm unsure what you mean by "preview". ...and "preview" of
what? The decoder output or
the MKV output video?


The "preview" of the video is what you see when ffplay window opens or mpv
opens. It's a RGB converted representation what you are using as input to
mpv or ffplay .


Oh, I didn't know there was a distinction. I thought it was just the playback.


So I'm referring to a soft telecine source, because that's
what you were talking about


I hope that confusion is resolved.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread pdr0
Mark Filipak wrote
> 
>> 
>> If you take a soft telecine input, encode it directly to rawvideo or
>> lossless output, you can confirm this.
>> The output is 29.97 (interlaced content) .
>> 
>>> When I do 'telecine=pattern=5', I wind up with this
>>>
>>> |<--1/6s-->|
>>> [A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine
>>>
>>> I have confirmed it by single-frame stepping through test videos.
>> 
>> No.
> 
> The above timing is for an MKV of the 55-telecine transcode, not for the
> decoder's output.

That's telecine=pattern=5 on a 23.976p native progressive source

I thought this thread was about using a soft telecine source , and how
ffmpeg handles that

because you were making assumptions "So, if the 'i30, TFF' from the decoder
is correct, the following must be the full picture: "

Obviously i30 does not refer to a 23.976p native progressive source...



>> Pattern looks correct, but unless you are doing something differently ,
>> your
>> timescale is not correct
>> 
>> When input is vob, mpeg2-ps or mpeg-es using soft telecine in my test,
>> using
>> telecine=pattern=5 the output frame rate is 74.925 as expected  (2.5 *
>> 29.97
>> = 74.925).
> 
> Not for me. I've seen 74.925 FPS just one time. Since I considered it a
> failure, I didn't save the 
> video and its log, so I don't know how I got it.
> 
>> This mean RF flags are used, 29.97i output from decoder. Since
>> its 74.925fps, the scale in your diagram for 1/6s is wrong for
>> telecine=pattern=5
> 
> For this command line:
> 
> ffmpeg -report -i "1.018.m2ts" -filter_complex 
> "telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod(n+1\,5)\,1)'[F],[B]select='eq(mod(n+1\,5)\,2)'[G],[C]select='eq(mod(n+1\,5)\,3)'[H],[D]select='eq(mod(n+1\,5)\,4)'[I],[E]select='eq(mod(n+1\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5"
>  
> -map 0 -c:v libx264 -crf 20 -codec:a copy -codec:s copy
> "C:\AVOut\1.018.4.MKV"
> 
> MPV playback of '1.018.4.MKV' says "FPS: 59.940 (estimated)" (not
> 74.925fps).

Is that m2ts a soft telecine BD's ? This thread was about soft telecine...

Most film BD's are native progressive 23.976




>> Both ffplay and mpv look like they ignore the repeat field flags, the
>> preview is progressive 23.976p
> 
> I use MPV. I'm unsure what you mean by "preview". ...and "preview" of
> what? The decoder output or 
> the MKV output video?

The "preview" of the video is what you see when ffplay window opens or mpv
opens. It's a RGB converted representation what you are using as input to
mpv or ffplay . So I'm referring to a soft telecine source, because that's
what you were talking about





--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

On 04/24/2020 01:28 PM, pdr0 wrote:

Mark Filipak wrote

I've been told that, for soft telecined video
  the decoder is fully compliant and therefore outputs 30fps
I've also been told that the 30fps is interlaced (which I found
surprising)
Is this correct so far?


Yes

If you take a soft telecine input, encode it directly to rawvideo or
lossless output, you can confirm this.
The output is 29.97 (interlaced content) .


When I do 'telecine=pattern=5', I wind up with this

|<--1/6s-->|
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

I have confirmed it by single-frame stepping through test videos.


No.


The above timing is for an MKV of the 55-telecine transcode, not for the 
decoder's output.


Pattern looks correct, but unless you are doing something differently , your
timescale is not correct

When input is vob, mpeg2-ps or mpeg-es using soft telecine in my test, using
telecine=pattern=5 the output frame rate is 74.925 as expected  (2.5 * 29.97
= 74.925).


Not for me. I've seen 74.925 FPS just one time. Since I considered it a failure, I didn't save the 
video and its log, so I don't know how I got it.



This mean RF flags are used, 29.97i output from decoder. Since
its 74.925fps, the scale in your diagram for 1/6s is wrong for
telecine=pattern=5


For this command line:

ffmpeg -report -i "1.018.m2ts" -filter_complex 
"telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod(n+1\,5)\,1)'[F],[B]select='eq(mod(n+1\,5)\,2)'[G],[C]select='eq(mod(n+1\,5)\,3)'[H],[D]select='eq(mod(n+1\,5)\,4)'[I],[E]select='eq(mod(n+1\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5" 
-map 0 -c:v libx264 -crf 20 -codec:a copy -codec:s copy "C:\AVOut\1.018.4.MKV"


MPV playback of '1.018.4.MKV' says "FPS: 59.940 (estimated)" (not 
74.925fps).


Both ffplay and mpv look like they ignore the repeat field flags, the
preview is progressive 23.976p


I use MPV. I'm unsure what you mean by "preview". ...and "preview" of what? The decoder output or 
the MKV output video?


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

On 04/24/2020 01:22 PM, Carl Eugen Hoyos wrote:




Am 24.04.2020 um 11:10 schrieb Mark Filipak 
:

I've been told that, for soft telecined video the decoder is fully compliant 
and therefore outputs 30fps


(“fps” is highly ambiguous in this sentence.)

This is not correct.
I believe I told you some time ago that this is not how the decoder behaves.


I beg your pardon, Carl Eugen. I thought you said that the decoders are fully compliant and 
therefore produce interlaced fields.



I believe such a behaviour would not make sense for FFmpeg (because you cannot 
connect FFmpeg’s output to an NTSC CRT). The telecine filter would not work at 
all if above were the case.
Or in other words: FFmpeg outputs approximately 24 frames per second for 
typical soft-telecined program streams.

The only thing FFmpeg does to be “compliant” is to forward the correct time 
base.


By "correct time base" you mean 24/1.001, correct?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

On 04/24/2020 11:30 AM, Edward Park wrote:

Hi,

I don't know if the decoder outputs 30fps as is from 24fps soft telecine, but if it does, 
it must include the flags that you need to reconstruct the original 24 format or set it 
as metadata because frame stepping in ffplay (using the "s" key on the 
keyboard) goes over 1/24 s progressive frames, even though the stream info says 29.97fps.


I've seen the same operation frame-stepping via MPV. That fact, and assertions by the HandBrake 
folks that (at least from their perspective), the ffmpeg libraries (decoders?) work solely on frames 
-- at least, that's my interpretation of what they said.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

Sorry. Slight edit error. Below is corrected.

On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park :


It is pretty much abandoned but did you try the dvd2concat perl script in the 
tools directory?


It is supposed to work for this use case, but mplayer -dumpstream was tested
much more and is better suited if you need a file that contains a dvd track.


By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time 
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video malfunctions.


[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.

Second-by-second, MPV playback progress bar at the 50% point:

Time (left) 01:04:30 [_]__ -00:01:36 Left (right)
01:04:29 [_]__ -00:01:35
01:04:28 [_]__ -00:01:34
00:00:00 [_]__ -01:06:28
00:00:01 [_]__ -01:06:27
00:00:02 [_]__ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior 
to the 50% point.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 04:04 PM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park :


It is pretty much abandoned but did you try the dvd2concat perl script in the 
tools directory?


It is supposed to work for this use case, but mplayer -dumpstream was tested
much more and is better suited if you need a file that contains a dvd track.


By trial-&-error I discovered that this:
'mplayer H:\VIDEO_TS\VTS_01_1.IFO -dumpstream -dumpfile TITLE1.VOB'
works. However, TITLE1.VOB does not play correctly.

TITLE1.VOB total time shown (1:06:28) [1] is slightly more than 1/2 the movie's actual total time 
(2:11:15). Otherwise, playback is normal. Skipping forward and back in the video only slightly 
malfunctions [2].


[1] Curiously, PowerDVD reports TITLE1.VOB total time as 1:50:06.
[2] Very near the end of the movie, the progress bar shows

Second-by-second, MPV playback progress bar at 50% point:

Time (left) 01:04:30 [_]__ -00:01:36 Left (right)
01:04:29 [_]__ -00:01:35
01:04:28 [_]__ -00:01:34
00:00:00 [_]__ -01:06:28
00:00:01 [_]__ -01:06:27
00:00:02 [_]__ -01:06:26

At that point, skipping forward by '5' seconds jumps to the credits roll.
At that point, skipping back by '5' seconds jumps back to about 2 minutes prior 
to the 50% point.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread pdr0
Carl Eugen Hoyos-2 wrote
>> e.g
>> ffmpeg -i input.mpeg -c:v rawvideo -an output.yuv
> 
> (Consider to test with other output formats.)

What did you have in mind?
e.g.

ffmpeg -i input.mpeg -c:v utvideo -an output.avi

The output is 29.97, according to ffmpeg and double check using official
utvideo VFW decoder, duplicate frames . Missing 3 frames if duplicates abide
by RF flags

e.g.

ffmpeg -i input.mpeg -c:v utvideo -an output.mkv

Output is 29.97, but no duplicate frames.  Missing 1 frame

eg.

ffmpeg -i input.mpeg -c:v libx264 -crf 18 -an output.mp4

Output is 29.97 with duplicates . Elementary stream analysis confirms
finding.  But missing  3 frames if duplicates abide by RF flags


ffmpeg -i input.mpeg -c:v libx264 -crf 18 -an output.mkv

Output is 23.976 no duplicates . Missing 1 frame



eg.

ffmpeg -i input.mpeg -c:v ffv1 -an output_ffv1.mkv

Output is 29.97, no duplicates.  Missing 1 frame


Looks like some container differences too. 






--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi,

> That works only under Linux, right? It seems libzmq is not enabled in the 
> FFmpeg build for Windows from Zeranoe.

FFmpeg would need to have been built with 0mq support but I'm almost sure there 
are windows versions of the library, client and server. Any way to send 
commands to a filter would work, you can sort of do it in the shell that's 
running FFmpeg (typing "c" brings up a command line) but it pauses everything.

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Michael Koch

Am 24.04.2020 um 21:56 schrieb Edward Park:

Hi,


How can this be done with FFmpeg? Do you have an example? I know how commands / 
sendcmd works. The opacity could be toggled, or the streamselect filter could 
be used. But where does the switching signal come from, while FFmpeg is running?


The specific messaging protocol/method would depend on a variety of factors 
including personal preference, but to parrot an example given in the manual 
using zmq,

% ffmpeg -i INPUT -filter_complex 
'null[main];movie=INPUT2,zmq,lumakey@toggle=tolerance=1,[main]overlay,realtime' 
OUTPUT

and sending commands to the named lumakey filter would mimic toggling between 
the two streams if they were the same size and position.
i.e. using the zmqsend example program,

% zmqsend <<<"lumakey@toggle tolerance 0"


That works only under Linux, right? It seems libzmq is not enabled in 
the FFmpeg build for Windows from Zeranoe.


Michael
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Carl Eugen Hoyos
Am Fr., 24. Apr. 2020 um 17:14 Uhr schrieb Edward Park :

> It is pretty much abandoned but did you try the dvd2concat perl script in the 
> tools directory?

It is supposed to work for this use case, but mplayer -dumpstream was tested
much more and is better suited if you need a file that contains a dvd track.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi,

> How can this be done with FFmpeg? Do you have an example? I know how commands 
> / sendcmd works. The opacity could be toggled, or the streamselect filter 
> could be used. But where does the switching signal come from, while FFmpeg is 
> running?


The specific messaging protocol/method would depend on a variety of factors 
including personal preference, but to parrot an example given in the manual 
using zmq, 

% ffmpeg -i INPUT -filter_complex 
'null[main];movie=INPUT2,zmq,lumakey@toggle=tolerance=1,[main]overlay,realtime' 
OUTPUT

and sending commands to the named lumakey filter would mimic toggling between 
the two streams if they were the same size and position. 
i.e. using the zmqsend example program,

% zmqsend <<<"lumakey@toggle tolerance 0"

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Carl Eugen Hoyos


> Am 24.04.2020 um 19:34 schrieb pdr0 :
> 
> Carl Eugen Hoyos-2 wrote
>>> Am 24.04.2020 um 11:10 schrieb Mark Filipak 
> 
>> markfilipak.windows+ffmpeg@
> 
>> :
>>> 
>>> I've been told that, for soft telecined video the decoder is fully
>>> compliant and therefore outputs 30fps
>> 
>> (“fps” is highly ambiguous in this sentence.)
>> 
>> This is not correct.
>> I believe I told you some time ago that this is not how the decoder
>> behaves. I believe such a behaviour would not make sense for FFmpeg
>> (because you cannot connect FFmpeg’s output to an NTSC CRT). The telecine
>> filter would not work at all if above were the case.
>> Or in other words: FFmpeg outputs approximately 24 frames per second for
>> typical soft-telecined program streams.
>> 
>> The only thing FFmpeg does to be “compliant” is to forward the correct
>> time base.
> 
> 
> If you use direct encode, no filters, no switches, the output from soft
> telecine input video is 29.97p, where every 5th frame is a duplicate

No

> e.g
> ffmpeg -i input.mpeg -c:v rawvideo -an output.yuv

(Consider to test with other output formats.)

> But you can "force" it to output 23.976p by using -vf fps
> 
> Is this what you mean by "forward the correct time base" ?

No.

Carl Eugen 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Michael Koch

Am 24.04.2020 um 20:08 schrieb Edward Park:

I would now like to add stream2 as second video input and switch
between stream1 and stream2 back and forth without interrupting the
audio. Both streams are identical / come from identical cameras.

Is there any sane way to do this with ffmpeg? Or how would you
recommend doing it?

If I had to do this, I would basically composite the two streams and toggle 
opacity of the top layer between 0 and 1.
It would break if either stream had reading problems, and you would constantly 
be processing both streams which might not be desirable if you were switching 
from A to B and never go back to A, for example.


How can this be done with FFmpeg? Do you have an example? I know how 
commands / sendcmd works. The opacity could be toggled, or the 
streamselect filter could be used. But where does the switching signal 
come from, while FFmpeg is running?


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Edward Park
Hi,

> Output is actually 29.97p with 5th frame duplicates . The repeat field flags
> are not taken into account.

> If you use direct encode, no filters, no switches, the output from soft
> telecine input video is 29.97p, where every 5th frame is a duplicate
> 
> e.g
> ffmpeg -i input.mpeg -c:v rawvideo -an output.yuv
> 
> But you can "force" it to output 23.976p by using -vf fps
> 
> Is this what you mean by "forward the correct time base" ?

I think 5th frame duplicated is only accurate for shorter durations, I think 
you will see if you look at the timestamps of each frame over a longer period. 
They advance by 2 60fps 'ticks', 3 ticks, etc as if the duration was determined 
using rf and tff flags.

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi,

> I would now like to add stream2 as second video input and switch
> between stream1 and stream2 back and forth without interrupting the
> audio. Both streams are identical / come from identical cameras.
> 
> Is there any sane way to do this with ffmpeg? Or how would you
> recommend doing it?
If I had to do this, I would basically composite the two streams and toggle 
opacity of the top layer between 0 and 1.
It would break if either stream had reading problems, and you would constantly 
be processing both streams which might not be desirable if you were switching 
from A to B and never go back to A, for example.

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread pdr0
pdr0 wrote
> If you take a soft telecine input, encode it directly to rawvideo or
> lossless output, you can confirm this. 
> The output is 29.97 (interlaced content) . 


So my earlier post is  incorrect

Output is actually 29.97p with 5th frame duplicates . The repeat field flags
are not taken into account.





--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread pdr0
Carl Eugen Hoyos-2 wrote
>> Am 24.04.2020 um 11:10 schrieb Mark Filipak 

> markfilipak.windows+ffmpeg@

> :
>> 
>> I've been told that, for soft telecined video the decoder is fully
>> compliant and therefore outputs 30fps
> 
> (“fps” is highly ambiguous in this sentence.)
> 
> This is not correct.
> I believe I told you some time ago that this is not how the decoder
> behaves. I believe such a behaviour would not make sense for FFmpeg
> (because you cannot connect FFmpeg’s output to an NTSC CRT). The telecine
> filter would not work at all if above were the case.
> Or in other words: FFmpeg outputs approximately 24 frames per second for
> typical soft-telecined program streams.
> 
> The only thing FFmpeg does to be “compliant” is to forward the correct
> time base.


If you use direct encode, no filters, no switches, the output from soft
telecine input video is 29.97p, where every 5th frame is a duplicate

e.g
ffmpeg -i input.mpeg -c:v rawvideo -an output.yuv

But you can "force" it to output 23.976p by using -vf fps

Is this what you mean by "forward the correct time base" ?



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Carl Zwanzig

On 4/24/2020 1:50 AM, Stephan Monecke wrote:

Is there any sane way to do this with ffmpeg? Or how would you
recommend doing it?


You need something like OBS Studio (free, works well) to do this.

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread pdr0
Mark Filipak wrote
>> I've been told that, for soft telecined video
>>  the decoder is fully compliant and therefore outputs 30fps
>> I've also been told that the 30fps is interlaced (which I found
>> surprising)
>> Is this correct so far?

Yes

If you take a soft telecine input, encode it directly to rawvideo or
lossless output, you can confirm this. 
The output is 29.97 (interlaced content) . 



> When I do 'telecine=pattern=5', I wind up with this
> 
> |<--1/6s-->|
> [A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine
> 
> I have confirmed it by single-frame stepping through test videos.

No. 

Pattern looks correct, but unless you are doing something differently , your
timescale is not correct

When input is vob, mpeg2-ps or mpeg-es using soft telecine in my test, using
telecine=pattern=5 the output frame rate is 74.925 as expected  (2.5 * 29.97
= 74.925). This mean RF flags are used, 29.97i output from decoder. Since
its 74.925fps, the scale in your diagram for 1/6s is wrong for
telecine=pattern=5 


Both ffplay and mpv look like they ignore the repeat field flags, the
preview is progressive 23.976p



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Carl Eugen Hoyos


> Am 24.04.2020 um 11:10 schrieb Mark Filipak 
> :
> 
> I've been told that, for soft telecined video the decoder is fully compliant 
> and therefore outputs 30fps

(“fps” is highly ambiguous in this sentence.)

This is not correct.
I believe I told you some time ago that this is not how the decoder behaves. I 
believe such a behaviour would not make sense for FFmpeg (because you cannot 
connect FFmpeg’s output to an NTSC CRT). The telecine filter would not work at 
all if above were the case.
Or in other words: FFmpeg outputs approximately 24 frames per second for 
typical soft-telecined program streams.

The only thing FFmpeg does to be “compliant” is to forward the correct time 
base.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Stereo 3D encoding with nvenc

2020-04-24 Thread Dennis Mungai
On Fri, 24 Apr 2020, 18:39 Dennis Mungai,  wrote:

>
> On Fri, 24 Apr 2020, 14:47 Etienne Sandré-Chardonnal, <
> etienne.san...@m4x.org> wrote:
>
>> Hi,
>>
>> Are there options for encoding 3D video with nvenc, like with x264 and
>> --frame-packing? I know the NVEnc API has the option, but was it enabled
>> in
>> ffmpeg? I can't find any documented option.
>>
>> Thanks!
>>
>
> On the hardware side, VAAPI (and possibly QuickSync) have such an option
> exposed via FFmpeg. There was patchwork (not sure if it's merged or not,
> it's been a while) authored by Mark? Thompson (sic, not sure, need to
> confirm) enabling such functionality. Let me check on that and get back to
> you.
>

I found the patch series, not sure if it was applied for VAAPI back in the
day. It was authored by Mark Thompson at the request of a user who was
dealing with stereoscopic H/W decode issues
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-October/250966.html

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Stereo 3D encoding with nvenc

2020-04-24 Thread Dennis Mungai
On Fri, 24 Apr 2020, 14:47 Etienne Sandré-Chardonnal, <
etienne.san...@m4x.org> wrote:

> Hi,
>
> Are there options for encoding 3D video with nvenc, like with x264 and
> --frame-packing? I know the NVEnc API has the option, but was it enabled in
> ffmpeg? I can't find any documented option.
>
> Thanks!
>

On the hardware side, VAAPI (and possibly QuickSync) have such an option
exposed via FFmpeg. There was patchwork (not sure if it's merged or not,
it's been a while) authored by Mark? Thompson (sic, not sure, need to
confirm) enabling such functionality. Let me check on that and get back to
you.

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Adrian
They answered your question,  It is time to let it go.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Edward Park
Hi,

I don't know if the decoder outputs 30fps as is from 24fps soft telecine, but 
if it does, it must include the flags that you need to reconstruct the original 
24 format or set it as metadata because frame stepping in ffplay (using the "s" 
key on the keyboard) goes over 1/24 s progressive frames, even though the 
stream info says 29.97fps.

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Edward Park
Hi,

It is pretty much abandoned but did you try the dvd2concat perl script in the 
tools directory? That will output a file to use with the concat demuxer (not 
the protocol, I think that is only good for files you can literally use cat to 
concatenate), and it is pretty big, it should show that vobs from DVDs aren't 
that flat.

Example output:

ffconcat version 1.0

stream
exact_stream_id 0x1E0

stream
exact_stream_id 0x80

stream
exact_stream_id 0x81

stream
exact_stream_id 0x82

stream
exact_stream_id 0x83

stream
exact_stream_id 0x20

stream
exact_stream_id 0x21

stream
exact_stream_id 0x22

stream
exact_stream_id 0x23

stream
exact_stream_id 0x24

stream
exact_stream_id 0x25

stream
exact_stream_id 0x26

stream
exact_stream_id 0x27

stream
exact_stream_id 0x28

stream
exact_stream_id 0x29

file 'subfile,,start,382976,end,397312,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,397312,end,411648,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,411648,end,425984,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,425984,end,440320,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,440320,end,454656,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,454656,end,468992,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,468992,end,483328,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,483328,end,497664,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,497664,end,512000,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,512000,end,526336,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 'subfile,,start,526336,end,2215936,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.000

file 
'subfile,,start,2215936,end,4225024,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.033

file 
'subfile,,start,4225024,end,11036672,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.033

file 
'subfile,,start,11036672,end,16971776,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.100

file 
'subfile,,start,16971776,end,20178944,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.233

file 
'subfile,,start,20178944,end,24090624,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.233

file 
'subfile,,start,24090624,end,31891456,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.266

file 
'subfile,,start,31891456,end,34271232,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.200

file 
'subfile,,start,34271232,end,34314240,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.066

file 
'subfile,,start,34314240,end,34328576,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.133

file 
'subfile,,start,34328576,end,34392064,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:00:00.467

file 
'subfile,,start,34392064,end,187197440,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:27.400

file 
'subfile,,start,187197440,end,431077376,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:04:42.333

file 
'subfile,,start,431077376,end,589074432,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:22.200

file 
'subfile,,start,589074432,end,777889792,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:57.433

file 
'subfile,,start,777889792,end,940957696,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB'
duration 00:03:29.133

file 
'subfile,,start,940957696,end,1121656832,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_1.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:03:50.967

file 
'subfile,,start,47917056,end,251195392,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:23.500

file 
'subfile,,start,251195392,end,469211136,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:28.633

file 
'subfile,,start,469211136,end,694167552,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:05:09.834

file 
'subfile,,start,694167552,end,798273536,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:02:17.667

file 
'subfile,,start,798273536,end,1016700928,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB'
duration 00:04:21.700

file 
'subfile,,start,1016700928,end,1287690240,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_2.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:05:53.633

file 
'subfile,,start,213950464,end,433152000,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:08.300

file 
'subfile,,start,433152000,end,621991936,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:07.166

file 
'subfile,,start,621991936,end,851488768,,:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB'
duration 00:04:36.400

file 
'subfile,,start,851488768,end,1098213376,,:concat:/Volumes/CAPOTE/VIDEO_TS/VTS_01_3.VOB|/Volumes/CAPOTE/VIDEO_TS/VTS_01_4.VOB'
duration 00:05:25.200

file 

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak
PS: Just to make it clear, I don't think the PTS errors when I try to transcode BD movies is a real 
problem with 'telecine=pattern=5' or 'interlace' or any of the modulo splits. I think it's a memory 
management problem in ffmpeg that is being exposed by what I'm doing.


I know I'm mixing threads here, and I'm sorry about that. The 55-telecine works so well with short 
videos and it fails with full length movies, all full length movies, and in the same places, and in 
the same ways.


On 04/24/2020 09:56 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 09:46 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.


I downloaded mplayer and tried 'mplayer -dumpstream
h:\video_ts\vts_01_1.vob'. It created
'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
don't know the point of that.

I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
vts_01_1.vob ... vts_01_6.vob.
I tried every combination I could think of. It's not documented.



You have not tried playing with dvd protocol of mplayer by any chance?


I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
(H: in this case), so I
couldn't get it to work.


Ugh, that makes no sense, consult mplayer documentation and use google.


I did consult mplayer documentation, Paul. And Google's useless for stuff like this: A half million 
hits showing "How to play videos". When the person doing the search (me) is so unsure, forming a 
meaningful search string is difficult. You folks are the pros. I hope you can provide the guidance.


Look, this is really a side trip. I just wanted to see whether 55-telecine would work with a DVD 
video that's as long running as the BD videos -- the ones that ffmpeg can't 55-telecine without PTS 
errors. PTS errors is what really needs to be fixed. For now, this is just a distraction.


Carl Eugen reminded me of 'mplayer -dumpstream'. As you know, I've been rather busy lately. Well, I 
can't get 'mplayer -dumpstream' to work with a string of VOBs. ...But it's just a distraction.



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

On 04/24/2020 05:10 AM, Mark Filipak wrote:

Hello,

I've been told that, for soft telecined video

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source

 the decoder is fully compliant and therefore outputs 30fps

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine

I've also been told that the 30fps is interlaced (which I found surprising)

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine
[A/-_][-/a_][B/-_][-/b_][B/-_][-/c_][C/-_][-/d_][D/-_][-/d_] i30-TFF

Is this correct so far?


(No response, so continuing.)

When I do 'telecine=pattern=5', I wind up with this

|<--1/6s-->|
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

I have confirmed it by single-frame stepping through test videos.

So, if the 'i30, TFF' from the decoder is correct, the following must be the 
full picture:

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine
[A/-_][-/a_][B/-_][-/b_][B/-_][-/c_][C/-_][-/d_][D/-_][-/d_] i30, TFF
[A/a___][B/b___][B/c___][C/d___][D/d___] deinterlace
[A/a__][B/b__][C/c__][D/d__] detelecine
[A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine

Now, I'm not telling ffmpeg to do the deinterlace or the detelecine. If it indeed is doing 
deinterlace & detelecine -- I don't know how to get from i30-TFF to 55-telecine any other way -- it 
must be doing it on its own.


Is this correct?

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 09:56 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 09:46 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.


I downloaded mplayer and tried 'mplayer -dumpstream
h:\video_ts\vts_01_1.vob'. It created
'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
don't know the point of that.

I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
vts_01_1.vob ... vts_01_6.vob.
I tried every combination I could think of. It's not documented.



You have not tried playing with dvd protocol of mplayer by any chance?


I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
(H: in this case), so I
couldn't get it to work.


Ugh, that makes no sense, consult mplayer documentation and use google.


I did consult mplayer documentation, Paul. And Google's useless for stuff like this: A half million 
hits showing "How to play videos". When the person doing the search (me) is so unsure, forming a 
meaningful search string is difficult. You folks are the pros. I hope you can provide the guidance.


Look, this is really a side trip. I just wanted to see whether 55-telecine would work with a DVD 
video that's as long running as the BD videos -- the ones that ffmpeg can't 55-telecine without PTS 
errors. PTS errors is what really needs to be fixed. For now, this is just a distraction.


Carl Eugen reminded me of 'mplayer -dumpstream'. As you know, I've been rather busy lately. Well, I 
can't get 'mplayer -dumpstream' to work with a string of VOBs. ...But it's just a distraction.



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Paul B Mahol
On 4/24/20, Mark Filipak  wrote:
> On 04/24/2020 09:46 AM, Paul B Mahol wrote:
>> On 4/24/20, Mark Filipak  wrote:
>>> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
 Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
 :
>
> What's going wrong with my remux?

 I believe that you have already been told that you cannot generally
 concatenate vob files as you did, use mplayer -dumpstream.
>>>
>>> I downloaded mplayer and tried 'mplayer -dumpstream
>>> h:\video_ts\vts_01_1.vob'. It created
>>> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
>>> don't know the point of that.
>>>
>>> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
>>> vts_01_1.vob ... vts_01_6.vob.
>>> I tried every combination I could think of. It's not documented.
>>>
>>
>> You have not tried playing with dvd protocol of mplayer by any chance?
>
> I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter
> (H: in this case), so I
> couldn't get it to work.

Ugh, that makes no sense, consult mplayer documentation and use google.

>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 09:46 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.


I downloaded mplayer and tried 'mplayer -dumpstream
h:\video_ts\vts_01_1.vob'. It created
'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
don't know the point of that.

I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
vts_01_1.vob ... vts_01_6.vob.
I tried every combination I could think of. It's not documented.



You have not tried playing with dvd protocol of mplayer by any chance?


I tried. The dvd protocol wants a number (1, 2, 3, ...), not a drive letter (H: in this case), so I 
couldn't get it to work.



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Paul B Mahol
On 4/24/20, Mark Filipak  wrote:
> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>> :
>>>
>>> What's going wrong with my remux?
>>
>> I believe that you have already been told that you cannot generally
>> concatenate vob files as you did, use mplayer -dumpstream.
>
> I downloaded mplayer and tried 'mplayer -dumpstream
> h:\video_ts\vts_01_1.vob'. It created
> 'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I
> don't know the point of that.
>
> I couldn't figure out how to use 'mplayer -dumpstream' to concatenate
> vts_01_1.vob ... vts_01_6.vob.
> I tried every combination I could think of. It's not documented.
>

You have not tried playing with dvd protocol of mplayer by any chance?

> I did make an MP4 via VLC. The judder is awful.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.


I downloaded mplayer and tried 'mplayer -dumpstream h:\video_ts\vts_01_1.vob'. It created 
'stream.dump'. 'stream.dump' is just an exact copy of 'vts_01_1.vob'. I don't know the point of that.


I couldn't figure out how to use 'mplayer -dumpstream' to concatenate vts_01_1.vob ... vts_01_6.vob. 
I tried every combination I could think of. It's not documented.


I did make an MP4 via VLC. The judder is awful.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Stereo 3D encoding with nvenc

2020-04-24 Thread Etienne Sandré-Chardonnal
Hi,

Are there options for encoding 3D video with nvenc, like with x264 and
--frame-packing? I know the NVEnc API has the option, but was it enabled in
ffmpeg? I can't find any documented option.

Thanks!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Michael Koch

Mark,


Okay. What can be concatenated? That purpose does the 'concat:' filter
serve?



What an big ignorance? You are using concat protocol.
Finally learn something


Like I wrote: What can be concatenated? What purpose does the 
'concat:' protocol serve?


There are three different things: concat demuxer, concat protocol and 
concat filter.

It's described here:
https://trac.ffmpeg.org/wiki/Concatenate

Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 05:42 AM, Paul B Mahol wrote:

On 4/24/20, Mark Filipak  wrote:

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.

Carl Eugen


Okay. What can be concatenated? That purpose does the 'concat:' filter
serve?



What an big ignorance? You are using concat protocol.
Finally learn something


Like I wrote: What can be concatenated? What purpose does the 'concat:' 
protocol serve?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Paul B Mahol
On 4/24/20, Mark Filipak  wrote:
> On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:
>> Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
>> :
>>>
>>> What's going wrong with my remux?
>>
>> I believe that you have already been told that you cannot generally
>> concatenate vob files as you did, use mplayer -dumpstream.
>>
>> Carl Eugen
>
> Okay. What can be concatenated? That purpose does the 'concat:' filter
> serve?
>

What an big ignorance? You are using concat protocol.
Finally learn something
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Change FPS on a clip without transcodng

2020-04-24 Thread Jens-Peter Sjöberg
Ok, so what you are saying it is not possible to change fps without a
transcode?
I don't have a Commandline and for that reason no output as I have not
found any way to do it and wonder if it is possible..
If I had I would provide.

Kindest
JP

On Fri, Apr 24, 2020 at 11:00 AM Carl Eugen Hoyos 
wrote:

> Am Fr., 24. Apr. 2020 um 09:22 Uhr schrieb Jens-Peter Sjöberg
> :
>
> > I have tried to find out a way to change the FPS in the metadata for clp
> > with a certain FPS.
>
> For real containers, such "metadata" does not exist / can rarely
> be changed.
>
> > Is there a way to do this on the same clip without transcoding?
>
> This is unlikely but...
>
> > Sorry if this is to basic question, but I have search for a week now
> > without any results.
>
> ... command line and complete, uncut console output missing.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".



-- 
*Jens-Peter Sjöberg*
Creative Director / Producer
https://jens-petersjoberg.com
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak

On 04/24/2020 05:01 AM, Carl Eugen Hoyos wrote:

Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:


What's going wrong with my remux?


I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.

Carl Eugen


Okay. What can be concatenated? That purpose does the 'concat:' filter serve?

Thanks,
Mark.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffmpeg architecture question #2

2020-04-24 Thread Mark Filipak

Hello,

I've been told that, for soft telecined video

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source

 the decoder is fully compliant and therefore outputs 30fps

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine

I've also been told that the 30fps is interlaced (which I found surprising)

|<--1/6s-->|
[A/a__][B/b__][C/c__][D/d__] source
[A/a___][B/b___][B/c___][C/d___][D/d___] hard telecine
[A/-_][-/a_][B/-_][-/b_][B/-_][-/c_][C/-_][-/d_][D/-_][-/d_] i30, TFF

Is this correct so far?

Thanks,
Mark.
--
COVID-19 facts:
The United States is 4% of world population, 32% of cases, 25% of deaths.
The U.S. & S.Korea reported 1st cases on the same day.
In March, week 2, S.Korea did 10,000 tests per day, 4 hour results.
In March, week 2, The U.S. did 400 tests per day, 7 day results.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Carl Eugen Hoyos
Am Fr., 24. Apr. 2020 um 09:17 Uhr schrieb Mark Filipak
:
>
> What's going wrong with my remux?

I believe that you have already been told that you cannot generally
concatenate vob files as you did, use mplayer -dumpstream.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Change FPS on a clip without transcodng

2020-04-24 Thread Carl Eugen Hoyos
Am Fr., 24. Apr. 2020 um 09:22 Uhr schrieb Jens-Peter Sjöberg
:

> I have tried to find out a way to change the FPS in the metadata for clp
> with a certain FPS.

For real containers, such "metadata" does not exist / can rarely
be changed.

> Is there a way to do this on the same clip without transcoding?

This is unlikely but...

> Sorry if this is to basic question, but I have search for a week now
> without any results.

... command line and complete, uncut console output missing.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] (no subject)

2020-04-24 Thread Carl Eugen Hoyos
Am Fr., 24. Apr. 2020 um 10:01 Uhr schrieb Tajti Krisztian
:

> I have an issue where I start merging video and audio
> and my mac will render it for a long time and also the file size
> does not match the sum of the video and audio.
> I tried it on a pc and it does it in one second (without rendering),
> and the file size is the sum of the audio and video file.
>
> I used exactly the same command (and of c. same files) on both machines.
> ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4

> What could be wrong ?

Complete, uncut console outputs missing.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Stephan Monecke
Hey!


I have two identical rtsp video-sources stream1, stream2 and an audio
source. I currently merge stream1 with the audio for a rtmp-server
using:

stream1="rtsp://streamurl1"

/usr/bin/ffmpeg\
[...]
-i "$stream1"  \
[...]
-itsoffset $AUDIOVIDEOOFFSET   \
-f pulse   \
-i default \
[...]
-vcodec copy   \
-map 0:v -map 1:a  \
[...]
-f flv "rtmp://streamingserver"

I would now like to add stream2 as second video input and switch
between stream1 and stream2 back and forth without interrupting the
audio. Both streams are identical / come from identical cameras.

Is there any sane way to do this with ffmpeg? Or how would you
recommend doing it?

Just stopping the process and restarting it using stream2 instead of
stream1 with some timeoff on the rtmp-server should work but would
result in several seconds outage on the stream and is the current the
worst case scenario I would like to improve.

Thanks a ton!

Cheers,
Stephan


P.s. Maybe some additional visual information: Since students
currently can't attend, we want to record university
blackboard-lectures (math) but have an array of blackboards that each
get its own camera. Hence we try to keep the audio stream running
while switching the input source when the lecturer switches the
blackboard.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] (no subject)

2020-04-24 Thread Tajti Krisztian
Hi,

I have an issue where I start merging video and audio
and my mac will render it for a long time and also the file size
does not match the sum of the video and audio.
I tried it on a pc and it does it in one second (without rendering),
and the file size is the sum of the audio and video file.

I used exactly the same command (and of c. same files) on both machines.
ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4

What could be wrong ?

Regards,
Krisztian
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Change FPS on a clip without transcodng

2020-04-24 Thread Jens-Peter Sjöberg
Hi everyone,

I have tried to find out a way to change the FPS in the metadata for clp
with a certain FPS.
Is there a way to do this on the same clip without transcoding?

Sorry if this is to basic question, but I have search for a week now
without any results.

Kindest
JP
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Can't write packet with unknown timestamp

2020-04-24 Thread Mark Filipak
What's going wrong with my remux? '-dn' tells ffmpeg to ignore data (stream 0, i.e., nav packets) 
yet I get "Timestamps are unset in a packet for stream 0".


Thanks,
Mark.

ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB" 
-map 0 -codec:v copy -codec:a copy -codec:s copy -dn "C:\AVOut\VTS_01_1.MKV" -y

ffmpeg version git-2020-04-20-cacdac8 Copyright (c) 2000-2020 the FFmpeg 
developers
  built with gcc 9.3.1 (GCC) 20200328
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls 
--enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype 
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib 
--enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc 
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads 
--enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc 
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf

  libavutil  56. 42.102 / 56. 42.102
  libavcodec 58. 80.100 / 58. 80.100
  libavformat58. 42.100 / 58. 42.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 79.100 /  7. 79.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
Input #0, mpeg, from 
'concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB':

  Duration: 01:06:28.82, start: 0.039456, bitrate: 12486 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 
16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc

Side data:
  cpb: bitrate max/min/avg: 750/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Output #0, matroska, to 'C:\AVOut\VTS_01_1.MKV':
  Metadata:
encoder : Lavf58.42.100
Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, progressive), 720x480 
[SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 59.94 tbr, 1k tbn, 90k tbc

Side data:
  cpb: bitrate max/min/avg: 750/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 
kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 01b5fa53bac0] Timestamps are unset in a packet for stream 0. This is deprecated and 
will stop working in the future. Fix your code to set the timestamps properly

[matroska @ 01b5fa53bac0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame=4 fps=0.0 q=-1.0 Lsize=  15kB time=00:00:00.09 
bitrate=1251.4kbits/s speed=3.76x
video:12kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: unknown
Conversion failed!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".