Ned
Why don't you use x264 directly ?
Create a local file (/usr/local/bin/export_AVCHD)
chmod it in 755

and call it in the yuv4mpeg export

here is the content
#/bin/bash
fichier=$1.264
mkfifo $1.y4m
x264  --sar 1:1 -m 6 --me umh -b 4 --bitrate 36000 -o $fichier $1.y4m  &
sleep 0.5
cat /dev/stdin  > $1.y4m
rm $1.y4m

Cheers
Edouard


On 27/08/13 10:18, Ned Haskin wrote:
> Hi, 
> CinelerraHV-4.4 wierdness, 
> yuvstream acted like it worked, I used the same ffmpeg line I've used before 
> The cores all when to 95 to 100% fans sped up. No output file. I set the 
> output 
> in both windows the same & the filename in the ffmpeg line all the same. 
> I looked all over for the file, not sure what happened. I tried m4v & mp4 as 
> output 
> containers. This was the cl output 
>  
> BC_WindowBase::flush Cinelerra: Render not locked
> render.C: 376
> render.C: 379
> render.C: 381
> render.C: 391
> trying popen(ffmpeg -f yuv4mpegpipe -i - -vcodec libx264 -profile:v high422 
> -preset slow -s 720x480 -crf 15 -bf 3 -b_strategy 2 -pix_fmt yuv420p 
> bike072813-test-x264.mp4)
> ffmpeg version N-55387-ge1a5ee2 Copyright (c) 2000-2013 the FFmpeg developers
>   built on Aug  9 2013 09:41:44 with gcc 4.7 (Debian 4.7.2-5)
>   configuration: --enable-gpl --enable-nonfree --enable-libx264 
> --enable-libxvid --enable-libmp3lame --enable-libfaac --enable-libtwolame
>   libavutil      52. 41.100 / 52. 41.100
>   libavcodec     55. 24.100 / 55. 24.100
>   libavformat    55. 13.102 / 55. 13.102
>   libavdevice    55.  3.100 / 55.  3.100
>   libavfilter     3. 82.100 /  3. 82.100
>   libswscale      2.  4.100 /  2.  4.100
>   libswresample   0. 17.103 /  0. 17.103
>   libpostproc    52.  3.100 / 52.  3.100
> [h264 @ 0x32dc610]Cannot parallelize deblocking type 1, decoding such frames 
> in sequential order
> Input #0, yuv4mpegpipe, from 'pipe:':
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480, SAR 
> 10:11 DAR 15:11, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
> [libx264 @ 0x336c300] using SAR=10/11
> [libx264 @ 0x336c300] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
> [libx264 @ 0x336c300] profile High, level 3.0
> [libx264 @ 0x336c300] 264 - core 135 r2345 f0c1c53 - H.264/MPEG-4 AVC codec - 
> Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 
> ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 
> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
> fast_pskip=1 chroma_qp_offset=-2 threads=7 lookahead_threads=1 
> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 
> constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 
> weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 
> intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=15.0 qcomp=0.60 qpmin=0 
> qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
> Output #0, mp4, to 'bike072813-test-x264.mp4':
>   Metadata:
>     encoder         : Lavf55.13.102
>     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 
> 720x480 [SAR 10:11 DAR 15:11], q=-1--1, 30k tbn, 29.97 tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (rawvideo -> libx264)
> frame= 4339 fps= 41 q=-1.0 Lsize=   82380kB time=00:02:24.71 
> bitrate=4663.5kbits/s    
> video:82327kB audio:0kB subtitle:0 global headers:0kB muxing overhead 
> 0.064004%
> [libx264 @ 0x336c300] frame I:20    Avg QP:13.68  size: 30799
> [libx264 @ 0x336c300] frame P:1348  Avg QP:16.65  size: 24048
> [libx264 @ 0x336c300] frame B:2971  Avg QP:18.24  size: 17257
> [libx264 @ 0x336c300] consecutive B-frames:  4.3%  7.0% 18.3% 70.3%
> [libx264 @ 0x336c300] mb I  I16..4:  7.8% 88.2%  4.0%
> [libx264 @ 0x336c300] mb P  I16..4:  3.3% 62.9%  2.9%  P16..4:  9.5% 10.1%  
> 9.3%  0.0%  0.0%    skip: 2.0%
> [libx264 @ 0x336c300] mb B  I16..4:  1.0% 32.3%  0.8%  B16..8: 17.3% 20.0% 
> 10.0%  direct:14.0%  skip: 4.6%  L0:42.9% L1:33.6% BI:23.5%
> [libx264 @ 0x336c300] 8x8 transform intra:92.9% inter:77.7%
> [libx264 @ 0x336c300] direct mvs  spatial:99.9% temporal:0.1%
> [libx264 @ 0x336c300] coded y,uvDC,uvAC intra: 80.4% 79.5% 33.5% inter: 57.1% 
> 78.7% 24.8%
> [libx264 @ 0x336c300] i16 v,h,dc,p: 26% 34% 17% 23%
> [libx264 @ 0x336c300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 31% 36%  3%  2%  2%  
> 2%  3%  6%
> [libx264 @ 0x336c300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 23% 12%  6%  8%  7%  
> 8%  6%  9%
> [libx264 @ 0x336c300] i8c dc,h,v,p: 41% 33% 24%  2%
> [libx264 @ 0x336c300] Weighted P-Frames: Y:27.9% UV:14.0%
> [libx264 @ 0x336c300] ref P L0: 44.3% 13.6% 18.6% 12.2%  8.2%  2.7%  0.4%
> [libx264 @ 0x336c300] ref B L0: 72.2% 18.4%  7.3%  2.1%
> [libx264 @ 0x336c300] ref B L1: 90.3%  9.7%
> [libx264 @ 0x336c300] kb/s:4658.30
> Render::render_single: Session finished.
>
> This is my yuvstream to ffmpeg cl
> ffmpeg -f yuv4mpegpipe -i - -vcodec libx264 -profile:v high -preset slow -s 
> 720x480 -crf 17 -bf 3 -b_strategy 2 -pix_fmt yuv420p test-x264.m2v
>
> Thanks for any help, 
> Ned 
>
>
> _______________________________________________
> Cinelerra mailing list
> Cinelerra@skolelinux.no
> https://lists.skolelinux.org/listinfo/cinelerra
>

Attachment: 0xDF906822.asc
Description: application/pgp-keys

_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra

Reply via email to