Ok I realise my emai was not complete.
save the first script into /us/local/bin give it a 755 (maybe ? not sure)
I save mine as cineAVCHD
and I use the option yuv4mpeg, call the script "cineAVCHD %"
and render it
Then I export the AC3
And from a command line call the H264to MP4 script to mux the lot
cheers
E
On 02/07/10 09:31, E Chalaron wrote:
> Hi Mark
> I never managed to use the internal H264 encoder properly.
>
> I export with a yuv4mpeg pipe
>
> Here is the script I am using
>
> #/bin/bash
> file=$1.264
> mkfifo stream.y4m
> x264 --sar 1:1 -m 6 --me umh -b 4 --bitrate 24000 --threads 4 -o $file
> stream.y4m &
> sleep 0.5
> cat /dev/stdin > stream.y4m
> rm stream.y4m
>
> That will give you the 264 video
> You can export the sound to AC3
>
> Then mux the lot with MP4 tools
>
> #!/bin/bash
> fps=$1
> IFS=$(echo -e "\n\r\t")
> for nom in $(ls *.264) ; do
> echo "Traitement de ${nom}"
> MP4Box -add "${nom}" -flat -add "$(basename ${nom} .264).ac3"
> -fps "$fps" "$(basename ${nom} .264).mp4"
> done
>
> The fps is here for me to work on different frame rate as I am scanning
> films.
>
> Cheers
> E.
>
>
> On 01/07/10 15:03, Mark Goldberg wrote:
>
>> I'd like to hear from some users about what you are using to render HD
>> files with the current version (git jt6 2009-12-10). I've tried the
>> following for
>> my 1080p29.97 files.
>>
>> H.264 does not seem to work, with no video output.
>>
>> Uncompressed RGB works, sent to a quicktime container, but the
>> PCM audio cuts out after about 20 minutes or so. If I render video
>> to uncompressed RGB in a quicktime container and audio to a
>> wav file seperately it seems to work.
>>
>> I then have to use qtstreamize to get the mov atom to where
>> avidemux can see it. This doubles the size of the needed scratch
>> space for the uncompressed video files.
>>
>> Then I use avidemux to create 25 megabit/sec h.264 / pcm audio
>> mkv files. As you can guess the whole process takes many many hours
>> and many many hundreds of gigabytes, but the quality is excellent.
>>
>> Any suggestions?
>>
>> Mark
>>
>> _______________________________________________
>> Cinelerra mailing list
>> [email protected]
>> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>>
>>
>>
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>
>
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra