-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, 2017-12-01 at 02:51 +0100, David Haller wrote:
Hello,
On Wed, 29 Nov 2017, Carlos E. R. wrote:
[..]
cer@Telcontar:~/Fusion/Hacer/Trek> vidcutter
--debug p.mpeg
[..]
2017-11-29 23:27 - vidcutter.libs.mpvwidget
Looks like vidcutter uses an embedded mpv for display...
- INFO - [opengl-cb] GL_VERSION='3.3.0 NVIDIA
340.102'
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] Detected desktop OpenGL
3.3.
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] GL_VENDOR='NVIDIA
Corporation'
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] GL_RENDERER='GeForce
9500 GT/PCIe/SSE2'
[..]
2017-11-29 23:27 - vidcutter.libs.mpvwidget -
INFO - [opengl-cb] Loading hwdec driver 'vaapi-glx'
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb/vaapi-glx] Not using this
by default.
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] Loading failed.
2017-11-29 23:27 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] Loading hwdec driver
'vdpau-glx'
Try disabling the vdpau-glx driver too. The HW-decoders are rather
limited in regard to supported features of the codecs and may barf
on stuff that software-decoders (e.g. from ffmpeg) plays without problem.
It's why I stopped using hw-decoding it at all (and using hw-encoding)[1].
How do I disable it?
I'm using the proprietary nvidia driver.
There is no command line option in vidcutter to do that.
2017-11-29
23:27 - vidcutter.libs.videoservice - INFO -
/usr/bin/ffprobe -hide_banner -v error
-show_streams \
-show_format -of json "/home_aux/cer/Fusion/Hacer/Trek/p.mpeg"
Could you
paste.opensuse.org the output of that ffprobe command?
cer@Telcontar:~/Fusion/Hacer/Trek> ffprobe -hide_banner -v error -show_streams
-show_format -of json p.mpeg > ffprobeoutput.txt
[h264 @ 0xa911e0] mmco: unref short failure
cer@Telcontar:~/Fusion/Hacer/Trek>
Huh. An error. Needs "2>&1".
<http://paste.opensuse.org/19321365>
Huh. Command susepaste default is 59 minutes. Repeating.
<http://susepaste.org/85780054>
2017-11-29 23:27 - vidcutter.libs.videoservice -
ERROR - Error
decoding ffprobe JSON output
As that what the python-code seems to barf on parsing...
Yes, and ffprobe has an error, too. I see.
[..]
File
"/usr/lib64/python3.4/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib64/python3.4/site-packages/simplejson/decoder.py", line 400, in
raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
2017-11-29 23:27 - root - CRITICAL - <class
'simplejson.scanner.JSONDecodeError'>: Expecting value: line 1 column 2 (char
1)
You could also try updating python3-simplejson (if that does not pull
in too much other stuff) from d:l:py (and downgrade back if it does
not help). Could be that vidcutter expects a rather new version of the
simplejson module (just guessing though).
Could try... As long as that doesn't break other things.
HTH,
-dnh
[1] I routinely get half the filesize by reencoding the files from the
public tv-stations, just by using a variable bitrate and the
internal de-noiser of x264 at "nr=750"... e.g. one that had about
2256kbps (IIRC just video) is down to 862kpbs (including 1 audio
AAC).
mencoder -nosound -ovc x264 -x264encopts \
crf=23:trellis=1:qcomp=0.8:weight_b:8x8dct:subq=6:nr=750:threads=1 \
-o out.avi in.mp4 && mkvmerge -o out.mkv out.avi -D in.mp4
(and after checking: rm out.avi in.mp4 ;) No scaling in that case.
Thanks for the hint :-)
Foir the moment, I was not looking at recoding at all, but just to remove
commercials in the middle and the lead/tail sections, which sometimes are
half of the file.
- --
Cheers,
Carlos E. R.
(from openSUSE 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlohYqQACgkQtTMYHG2NR9Wa5gCeNd+iJhTbwgs59eWgzxObaLgG
cGgAn2HZ5V8Hi+BVCxUpUpYdSVM6qvLV
=ZYon
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org