On Fri, July 16, 2010 04:49, John wrote: > > > --- On Tue, 7/13/10, John <[email protected]> wrote: > >> From: John <[email protected]> >> Subject: Re: [Lives-users] 720P and mpeg4 >> To: "LiVES users list" <[email protected]> >> Date: Tuesday, July 13, 2010, 7:59 PM >> >> >> --- On Mon, 7/12/10, [email protected] >> <[email protected]> >> wrote: >> >> > From: [email protected] >> <[email protected]> >> > Subject: Re: [Lives-users] 720P and mpeg4 >> > To: "LiVES users list" <[email protected]> >> > Date: Monday, July 12, 2010, 3:03 PM >> > On Mon, July 12, 2010 21:14, John >> > wrote: >> > > >> > > >> > > --- On Mon, 7/12/10, [email protected] >> > <[email protected]> >> > wrote: >> > > >> > >> From: [email protected] >> > <[email protected]> >> > >> Subject: Re: [Lives-users] 720P and mpeg4 >> > >> To: "LiVES users list" <[email protected]> >> > >> Date: Monday, July 12, 2010, 1:54 AM >> > >> On Mon, July 12, 2010 03:00, John >> > >> wrote: >> > >> > >> > >> >> > >> >> OK, I managed to get this working >> now on >> > my own >> > >> machine ! >> > >> >> >> > >> >> The latest update should work for >> all >> > video. >> > >> >> >> > >> >> >> > >> >> >> > >> >> > Also, I know you said there's a >> bug >> > in audio. >> > >> Is there >> > >> >> a way to merge the >> > >> >> > clip and the audio together >> say >> > after the >> > >> fact. >> > >> >> > >> > >> >> > >> > >> >> >> > >> >> I'm looking into this now. There may >> be a >> > way >> > >> using >> > >> >> mencoder and mp4box. >> > >> >> >> > >> >> >> > >> >> Gabriel. >> > >> >> >> > >> > >> > >> > I'm still having the same issue. Did you >> make >> > the >> > >> changes to lives svn. >> > >> > The latest rev 644 looks like the .y4m >> change >> > only. >> > >> > >> > >> >> > >> Yes you are right. My bad. >> > >> >> > >> I managed to get audio working - you will >> need >> > ffmpeg >> > >> encoded with aac >> > >> support, and MP4Box from the gpac package: >> > >> >> > >> http://gpac.sourceforge.net >> > >> >> > >> >> > >> Gabriel. >> > >> >> > >> >> > > >> > > Here's the latest error. >> > > >> > > 99.9%] 1050/1051 frames, 0.14 fps, 23133.72 >> > kb/s, eta 0:00:07 >> > > [100.0%] 1051/1051 frames, 0.14 fps, 23111.76 >> kb/s, >> > eta 0:00:00 >> > > >> > > x264 [info]: frame I:46 Avg >> > QP:15.00 size:181000 >> > > x264 [info]: frame P:321 Avg >> > QP:18.34 size: 88676 >> > > x264 [info]: frame B:684 Avg >> > QP:20.06 size: 20270 >> > > x264 [info]: consecutive B-frames: 8.0% >> > 1.0% 8.7% 82.4% >> > > x264 [info]: mb I I16..4: 13.8% 49.0% 37.2% >> > > x264 [info]: mb P I16..4: 3.1% 29.8% >> > 9.7% P16..4: 20.4% 16.5% 3.9% >> > > 0.6% 0.3% skip:15.7% >> > > x264 [info]: mb B I16..4: 0.3% >> > 3.1% 1.3% B16..8: 13.9% 6.0% 2.2% >> > > direct: 5.9% skip:67.3% L0:45.6% L1:35.1% >> > BI:19.3% >> > > x264 [info]: 8x8 transform intra:64.8% >> inter:44.1% >> > > x264 [info]: direct mvs spatial:99.9% >> > temporal:0.1% >> > > x264 [info]: coded y,uvDC,uvAC intra: 95.7% >> 98.9% >> > 97.0% inter: 23.1% 32.5% >> > > 24.6% >> > > x264 [info]: i16 v,h,dc,p: 6% 10% 37% 47% >> > > x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% >> 19% >> > 14% 6% 8% 8% 10% >> > > 9% 14% >> > > x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% >> > 17% 8% 7% 10% 10% 11% >> > > 10% 15% >> > > x264 [info]: i8c dc,h,v,p: 54% 19% 13% 14% >> > > x264 [info]: ref P L0: 74.3% 15.9% 5.5% >> > 2.1% 1.3% 0.6% 0.2% 0.0% >> > > x264 [info]: ref B L0: 83.3% 13.0% 2.2% >> > 0.8% 0.4% 0.1% 0.0% >> > > x264 [info]: ref B L1: 99.7% 0.3% >> > > x264 [info]: kb/s:23111.76 >> > > >> > > encoded 1051 frames, 0.14 fps, 23111.76 kb/s >> > > Encoding audio with: >> > > ffmpeg -i audiodump.wav -ab 192000 temp.aac >> > 1>&2 >> > > FFmpeg version SVN-r24155, Copyright (c) >> 2000-2010 the >> > FFmpeg developers >> > > built on Jul 9 2010 20:54:18 >> > with gcc 4.4.3 >> > > configuration: --enable-gpl >> > --enable-version3 --enable-nonfree >> > > --enable-postproc --enable-pthreads >> --enable-libfaac >> > --enable-libmp3lame >> > > --enable-libopencore-amrnb >> --enable-libopencore-amrwb >> > --enable-libtheora >> > > --enable-libx264 --enable-libxvid >> --enable-x11grab >> > > libavutil >> > 50.21. 0 / 50.21. 0 >> > > libavcodec 52.80. 0 / >> > 52.80. 0 >> > > libavformat 52.73. 0 >> > / 52.73. 0 >> > > libavdevice 52. 2. 0 >> > / 52. 2. 0 >> > > libavfilter 1.22. 0 >> > / 1.22. 0 >> > > libswscale >> > 0.11. 0 / 0.11. 0 >> > > libpostproc 51. 2. 0 >> > / 51. 2. 0 >> > > [wav @ 0x93ce510] max_analyze_duration reached >> > > [wav @ 0x93ce510] Estimating duration from >> bitrate, >> > this may be inaccurate >> > > Input #0, wav, from 'audiodump.wav': >> > > Duration: 00:00:18.00, bitrate: 1536 >> > kb/s >> > > Stream #0.0: Audio: pcm_s16le, >> > 48000 Hz, 2 channels, s16, 1536 kb/s >> > > Output #0, adts, to 'temp.aac': >> > > Metadata: >> > > encoder >> > : Lavf52.73.0 >> > > Stream #0.0: Audio: libfaac, >> > 48000 Hz, 2 channels, s16, 192 kb/s >> > > Stream mapping: >> > > Stream #0.0 -> #0.0 >> > > Press [q] to stop encoding >> > > size= 40kB time=1.96 bitrate= >> > 166.3kbits/s >> > > size= 99kB time=4.91 bitrate= >> > 165.1kbits/s >> > > size= 155kB time=7.66 bitrate= >> > 165.3kbits/s >> > > size= 213kB time=10.52 >> > bitrate= 165.7kbits/s >> > > size= 269kB time=13.35 >> > bitrate= 165.2kbits/s >> > > size= 329kB time=16.28 >> > bitrate= 165.6kbits/s >> > > size= 362kB time=17.94 >> > bitrate= 165.4kbits/s >> > > >> > > video:0kB audio:362kB global headers:0kB muxing >> > overhead 0.000000% >> > > Muxing with: >> > > MP4Box -fps 59.94005994 -add output.264 -add >> temp.aac >> > > "/home/username/testme_x264.mpg" 1>&2 >> > > Cannot open destination file >> > /home/username/testme_x264.mpg: Invalid >> > > IsoMedia File >> > > >> > >> > Strange. >> > >> > Can you try encoding with just part of the clip (say >> the >> > first 20 frames >> > or so) ? >> > >> > Also try setting the output file extension to .mp4, >> and >> > uncheck "Let LiVES >> > set the file extension". >> > >> > What version of MP4Box are you using ? Here I have >> MP4Box - >> > GPAC version >> > 0.4.5 (build 33) >> > >> > >> > Gabriel. >> > >> > >> >> The conversion works without kicking out an error. I need >> to try more frames to see if everything else is working. >> >> >> >> > I did 500 frames and after the conversion the frames were doubled. The > conversion seemed to have went well but the audio ends early and the video > keeps going. I do get this warning when trying to use mplayer. >
Yes, I read somewhere that MP4Box has a 2 GB limit per stream, so that may be a problem. Maybe they will fix that in the next version. > ***your system is too slow to play this**** > Well, this is supposed to be blu-ray format, so you would probably do better with a hardware player. I you just want h264 format then you should probably use the multi_encoder with h264/vorbis/matroska. Cheers, Gabriel. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Lives-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lives-users
