Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to convert and watch dav video file?
Date: Thu, 16 Jan 2014 15:46:02
Message-Id: 52d7feac.81620e0a.0802.ffffb6b2@mx.google.com
In Reply to: Re: [gentoo-user] How to convert and watch dav video file? by Alan McKinnon
1 On Thu, 16 Jan 2014 16:01:14 +0200
2 Alan McKinnon <alan.mckinnon@×××××.com> wrote:
3
4 > On 16/01/2014 15:21, Gevisz wrote:
5 > > On Thu, 16 Jan 2014 12:30:29 +0000
6 > > Neil Bothwick <neil@××××××××××.uk> wrote:
7 > >
8 > >> On Thu, 16 Jan 2014 14:19:52 +0200, Gevisz wrote:
9 > >>
10 > >>> I have to watch a lot of dav video files and possibly convert
11 > >>> them to a more common video format like avi or mp4.
12 > >>>
13 > >>> What are my options?
14 > >>
15 > >> Have you tried media-video/handbrake? It's straightforward to use
16 > >> and comes with plenty of preset output settings.
17 > >
18 > > No.
19 > >
20 > > I am afraid of installing a package that is masked in Gentoo
21 > > portage tree.
22 > >
23 > > emerge --search handbrake
24 > > Searching...
25 > > [ Results for search key : handbrake ]
26 > > [ Applications found : 1 ]
27 > >
28 > > * media-video/handbrake [ Masked ]
29 > > Latest version available: 9999
30 > > Latest version installed: [ Not Installed ]
31 > > Size of files: 0 kB
32 > > Homepage: http://handbrake.fr/
33 > > Description: Open-source, GPL-licensed, multiplatform,
34 > > multithreaded video transcoder. License: GPL-2
35 > >
36 > > May be, something else?
37 >
38 >
39 >
40 > don't use emerge -s to look for stuffs. It's slow and never shows the
41 > full picture. Use app-portage/eix instead:
42
43 Thank you for your advice. emerge --search is indeed very slow.
44
45 >
46 > # eix handbrake
47 > [I] media-video/handbrake
48 > Available versions: (~)0.9.9 **9999 {fdk ffmpeg gstreamer gtk}
49 > Installed versions: 0.9.9(15:09:43 18/10/2013)(ffmpeg gstreamer
50 > gtk -fdk)
51 > Homepage: http://handbrake.fr/
52 > Description: Open-source, GPL-licensed, multiplatform,
53 > multithreaded video transcoder.
54 >
55 >
56 > handbrake-0.9.9 works very well indeed but it's ~arch. If you don't
57 > see it in your output, you need to --sync
58
59 Last time, I updated my portage tree on January 11, 2014.
60 So, it is something different. May be, ~amd64.
61
62 > Incidentally, there's nothing bad about installing that package's 9999
63 > version. It's masked because it's in the source repo (all
64 > cvs/svn/git/etc sources are always masked so they don't get installed
65 > accidentally). But keeping them current is a pain.
66
67 Thank you for information, but so far I am trying to keep my system as
68 close to the main portage tree as possible and really afraid of any
69 masked packaged and even the packages from other overlays.
70
71 By the way, is there any way to find why any given package is masked
72 in the main portage tree?
73
74 Back to the main topic.
75
76 I have found out the ffmpeg can convert dav to avi but it also
77 outputs a lot of error messages. May be, because I use some wrong
78 options? I use:
79
80 ffmpeg -i input.dav -vcodec libx264 -crf 24 output.avi
81
82 The error messages are like these:
83
84 missing picture in access unit with size 27time=00:00:04.92 bitrate=
85 171.6kbits/s non-existing PPS 1 referencedze= 145kB
86 time=00:00:08.00 bitrate= 148.5kbits/s [h264 @ 0x2b30ca0]
87 decode_slice_header error [h264 @ 0x2b30ca0] no frame!
88 Error while decoding stream #0:0: Operation not permitted
89 Partitioned H.264 support is incomplete7kB time=00:00:26.04 bitrate=
90 143.8kbits/s Error while decoding stream #0:0: Operation not permitted
91 non-existing PPS referencedsize= 689kB time=00:00:37.52 bitrate=
92 150.4kbits/s [h264 @ 0x2a84ac0] non-existing PPS 1 referenced
93 [h264 @ 0x2a84ac0] decode_slice_header error
94 [h264 @ 0x2a84ac0] no frame!
95 [h264 @ 0x2ac9800] Missing reference picture, default is 0
96 [h264 @ 0x2ac9800] decode_slice_header error
97 [h264 @ 0x2b30ca0] mmco: unref short failure
98 Error while decoding stream #0:0: Operation not permitted
99 illegal POC type 32 q=29.0 size= 1077kB time=00:00:58.20 bitrate=
100 151.5kbits/s [h264 @ 0x2a84ac0] illegal POC type 32
101 Last message repeated 1 times
102 FMO not supported47 q=29.0 size= 1239kB time=00:01:07.12 bitrate=
103 151.2kbits/s [h264 @ 0x232e4a0] reference overflow (pps)
104 [h264 @ 0x2ac9800] FMO not supported
105 [h264 @ 0x2ac9800] reference overflow (pps)

Replies

Subject Author
Re: [gentoo-user] How to convert and watch dav video file? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] How to convert and watch dav video file? Alan McKinnon <alan.mckinnon@×××××.com>