Hi all,
I have a computer running ubuntu 18.04, gem 0.94 and pd 0.52-2.
I am trying to export a video in mp4 container with the h264 codec. the codeclist message lists it as codec 0:
print: codec 0 x264 H.264 (MPEG4 AVC) encoder
However, when I send the message "codec 0" I get:
[pix_record]: invalid codec# 0 (0..35)
also if I record a video with no codec message (assuming the default codec is 0) I get the printout in the terminal where i opened pd, as printed at the end of this email** and I can see a noticeable loss of quality in the recorded video.
Can anyone point to me to what the problem might be and might anyone recommend a high quality (or lossless?) codec for HD videos?
All the best,
J
** [x264] Warning: Unrecognized parameter x264_i_weighted_pred [x264] Warning: Unrecognized parameter x264_b_fast_pskip [x264] Warning: Unrecognized parameter x264_b_dct_decimate [x264] Info: using SAR=1/1 [x264] Info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [x264] Info: profile Main, level 4.0 [x264] Info: frame I:1 Avg QP:10.30 size: 2908 [x264] Info: frame P:240 Avg QP:13.51 size: 536 [x264] Info: mb I I16..4: 99.2% 0.0% 0.8% [x264] Info: mb P I16..4: 0.5% 0.0% 0.0% P16..4: 0.3% 0.2% 0.0% 0.0% 0.0% skip:99.0% [x264] Info: coded y,uvDC,uvAC intra: 1.1% 3.2% 2.0% inter: 0.1% 0.2% 0.2% [x264] Info: i16 v,h,dc,p: 63% 37% 1% 0% [x264] Info: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 10% 47% 1% 0% 2% 0% 2% 0% [x264] Info: i8c dc,h,v,p: 58% 36% 6% 0% [x264] Info: Weighted P-Frames: Y:0.0% UV:0.0% [x264] Info: kb/s:0.00
On 11/17/19 5:41 AM, Jaime Oliver wrote:
Hi all,
I have a computer running ubuntu 18.04, gem 0.94 and pd 0.52-2.
I am trying to export a video in mp4 container with the h264 codec. the codeclist message lists it as codec 0:
print: codec 0 x264 H.264 (MPEG4 AVC) encoder
However, when I send the message "codec 0" I get:
[pix_record]: invalid codec# 0 (0..35)
oha, that's a bug when comparing numbers. (please report it in the bug-tracker)
you can also use the symbolic (short) codec-name, e.g. [codec x264(
gdasmr IOhannes
I'll report. Can you point me to the current bug-tracker?
I tried the symbolic codec-name and it works as earlier still getting the messages:
[x264] Warning: Unrecognized parameter x264_i_weighted_pred [x264] Warning: Unrecognized parameter x264_b_fast_pskip [x264] Warning: Unrecognized parameter x264_b_dct_decimate
I wonder if there are any handles for the codec I can tweak?
best,
J
On Sun, Nov 17, 2019 at 3:29 AM IOhannes m zmölnig zmoelnig@iem.at wrote:
On 11/17/19 5:41 AM, Jaime Oliver wrote:
Hi all,
I have a computer running ubuntu 18.04, gem 0.94 and pd 0.52-2.
I am trying to export a video in mp4 container with the h264 codec. the codeclist message lists it as codec 0:
print: codec 0 x264 H.264 (MPEG4 AVC) encoder
However, when I send the message "codec 0" I get:
[pix_record]: invalid codec# 0 (0..35)
oha, that's a bug when comparing numbers. (please report it in the bug-tracker)
you can also use the symbolic (short) codec-name, e.g. [codec x264(
gdasmr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 11/17/19 4:34 PM, Jaime Oliver wrote:
I'll report. Can you point me to the current bug-tracker?
I tried the symbolic codec-name and it works as earlier still getting the messages:
[x264] Warning: Unrecognized parameter x264_i_weighted_pred [x264] Warning: Unrecognized parameter x264_b_fast_pskip [x264] Warning: Unrecognized parameter x264_b_dct_decimate
I wonder if there are any handles for the codec I can tweak?
you'll get a list of all available/tweakavle properties on the last outlet right after selecting the codec. these properties are the ones reported by the backend (libquicktime in this case). Gem cannot do much if the backend reports properties as being available but then refuses to use them ... :-(
in this case, Gem doesn't set anything. it seems that libquicktime has problems communicating with one if *its* backends.
gadsmr IOhannes