Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] Again, trying to find a suitable video editor . trying ffmpeg and failing


On 10/03/2016 15:00, Carlos E. R. wrote:
On 2016-03-10 11:11, Carlos E. R. wrote:
On 2016-03-10 09:22, Carlos E. R. wrote:
On 2016-03-05 19:39, Carlos E. R. wrote:


In this stream, things are correct till 00:15:30, then choppiness starts.


Does that tell something? :-?

Using the codec "copy", I get more interesting info:

time ffmpeg -i "La pelicula de la semana Star Trek.mpeg" -ss 00:05:44.600 -map
0:0 -map 0:1 -map 0:2 -c:v copy -c:a copy StarTrek-Copy.mkv
...
Input #0, mpegts, from 'La pelicula de la semana Star Trek.mpeg':
Duration: 03:01:02.68, start: 1.017833, bitrate: 9902 kb/s
Program 1
Stream #0:0[0x1e1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv,
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1e2](esp): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
s16p, 192 kb/s (clean effects)
Stream #0:2[0x1e3](AU2): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
s16p, 128 kb/s (clean effects)
Output #0, matroska, to 'StarTrek-Copy.mkv':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(esp): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 192 kb/s
(clean effects)
Stream #0:2(AU2): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 128 kb/s
(clean effects)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x25a47c0] 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 @ 0x25a47c0] Non-monotonous DTS in output stream 0:0; previous:
929720, current: 929680; changing to 929720. This may result in incorrect
timestamps in the output file.
[matroska @ 0x25a47c0] Non-monotonous DTS in output stream 0:0; previous:
929720, current: 929680; changing to 929720. This may result in incorrect
timestamps in the output file.
[matroska @ 0x25a47c0] Non-monotonous DTS in output stream 0:0; previous:
929720, current: 929680; changing to 929720. This may result in incorrect
timestamps in the output file.
[matroska @ 0x25a47c0] Non-monotonous DTS in output stream 0:0; previous:
929720, current: 929680; changing to 929720. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x259cea0] PES packet size mismatch
Last message repeated 1 times
[matroska @ 0x25a47c0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
[matroska @ 0x25a47c0] Can't write packet with unknown timestamp
Error writing trailer of StarTrek-Copy.mkv: Invalid argumentframe=23239
fps=2508 q=-1.0 Lsize= 1060888kB time=00:15:29.72 bitrate=9347.8kbits/s speed=
100x
video:1024132kB audio:36313kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.041773%
Conversion failed!

real 0m9.804s
user 0m4.904s
sys 0m2.079s
cer@Telcontar:~/Videos/Fusion/trabajo>


It crashes that instant that the video and sound starts to be choppy.

Try starting your ffmpeg with -fflags genpts before anything else.
Dave P

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups