-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Content-ID: <[email protected]>


El 2017-02-15 a las 23:48 +0100, Carlos E. R. escribió:
El 2017-02-15 a las 16:49 -0000, Gerhard Kühbauer escribió:
Am 2017-02-14 um 23:49 schrieb Carlos E. R.:

- ffmpeg -i clip.mpeg2 -vcodec copy -acodec copy clip.mkv or
- mkvmerge -i clip.mpeg2 -o clip.mpeg2.mkv

Mkvmerge is part of mkvtoolnix and also available with a gui.
The difference: http://i.imgur.com/tkpOd4w.png

Strangely exactly the same video, just in another container, can be
opened and edited by Vidcutter without any problems.

Without recoding? You use the "copy" codec. Curious!

Well, this method processes 811 MB, then crashes:

Press [q] to stop, [?] for help
[matroska @ 0xdbf7a0] 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 @ 0xdbf7a0] Non-monotonous DTS in output stream 0:0; previous: 
3511960, current: 3511920; changing to 3511960. This may result in incorrect 
timestamps in the output file.
[matroska @ 0xdbf7a0] Non-monotonous DTS in output stream 0:0; previous: 
3511960, current: 3511920; changing to 3511960. This may result in incorrect 
timestamps in the output file.
[matroska @ 0xdbf7a0] Non-monotonous DTS in output stream 0:0; previous: 
3511960, current: 3511920; changing to 3511960. This may result in incorrect 
timestamps in the output file.
[matroska @ 0xdbf7a0] Non-monotonous DTS in output stream 0:0; previous: 
3511960, current: 3511920; changing to 3511960. This may result in incorrect 
timestamps in the output file.
[matroska @ 0xdbf7a0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
[matroska @ 0xdbf7a0] Can't write packet with unknown timestamp
Error writing trailer of out.mkv: Invalid argumentframe=91633 fps=1518 q=-1.0 Lsize= 829474kB time=00:58:31.96 bitrate=1934.8kbits/s speed=58.2x video:746711kB audio:82638kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.015138%
Conversion failed!


That's the sync problem I mentioned, I think. I'll try another flavour:

ffmpeg -i "input.mpeg" -copyts  -vcodec copy -acodec copy "output - c.mkv"

Crashes at the same place :-(

I think it is some error in the transmitted stream that makes ffmpeg to fail. But that's a completely different issue than vidcutter.

Maybe some specific mail list for ffmpeg?


I think I used this:

ffmpeg -i "input.mpeg" -copyts -map 0:0 -map 0:1 -map 0:2 -c:v libx264 -preset ultrafast -vf crop=1920:804:0:138 -c:a copy "output.mkv"

I will try that on this movie and comment back. Without the crop filter,
not needed.

Yes, this one finished correctly, and, vidcutter is able to load it. Now I'll try to remove comercials.

I try to use the keyboard cursor, but it is slow: I'm used to ctrl-arrows moving the cursor more than using the arrow. Ie, arrow speed modifiers. If fact, moving the cursor with the mouse doesn't work right, because on release it jumps to a different point.

Letting the movie play advances faster than with the cursor.

Ok, cut points defined... let's convert.
I forgot to see if the cut points can be saved to a file :-?

[...]

Well, it's the only editor that could cope :-))


There is, however, a final problem: it took only one sound track, it ignored the second. Typically, movies in Spain come in Spanish and English, and I want to keep both languages, obviously. No editor does.

I understand vidcutter uses ffmpeg. If it wrote an ffmpeg script, I could adjust the options.

Time to go to their mail list or forum and ask ;-)

- -- Cheers
       Carlos E. R.

       (from 42.2 x86_64 "Malachite" (Minas Tirith))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlik8q0ACgkQja8UbcUWM1wDpwD/bw7lEf+KYd7c520m5KHthC/j
kkwke0V2/hKEGJ9el6YA/iF9Olc/0mPxyLeKC54y11ki9DOmu2kvkth7KyWDKGbW
=f0kM
-----END PGP SIGNATURE-----
_______________________________________________
Packman mailing list
[email protected]
http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an