Very clever.
I found something like this works fine:
sed -e "1s/Ip A0/I\? A0/"
Rather than using a global edit, I told it only to change the first line
("1s"). According to my tests, sed seems to respect line numbers for
edits. Limiting sed to the first line seems safer than doing a glob
Very clever.
I found something like this works fine:
sed -e "1s/Ip A0/I\? A0/"
Rather than using a global edit, I told it only to change the first line
("1s"). According to my tests, sed seems to respect line numbers for
edits. Limiting sed to the first line seems safer than doing a global
e
>Anybody know of a good simple binary file editor for Linux that can
>handle 30 GB files without a problem? If so, I can simply edit the
>YUV4MPEG header to suit me. By the way, the yuv4mpeg man page is quite
>good.
If you only need to modify bytes in-place, I think "lde" will do the
tr
> I can see that using sed would be quite simple. However, I don't want
> to wait for a 30 GB file to be re-written. Looking at the man page, I
I never work with these large files, but rather use pipes (|) of fifo's.
Putting an extra pipe in between is no problem then.
Regards,
Hans
--
I can see that using sed would be quite simple. However, I don't want
to wait for a 30 GB file to be re-written. Looking at the man page, I
see there is an "--in-place" option for sed. I guess I better delve
into sed some more. I wonder if I can tell it to stop after the first
"\n" to avoid
> Anybody know of a good simple binary file editor for Linux that can
> handle 30 GB files without a problem? If so, I can simply edit the
> YUV4MPEG header to suit me. By the way, the yuv4mpeg man page is quite
> good.
I've done this with sed s/[string]/[new string]/g but if you want a real
e
On Wed, 7 Jan 2004, Robert W. Fuller wrote:
Thank you for the reply. That header looks delightfully easy to edit.
Here's one from one of my transcode exports:
YUV4MPEG2 W704 H480 F3:1001 Ip A0:0
FRAME
read
sed s/Ip/It/
echo
cat
something like that.
Is the yuv4mpeg man pa
Subject:
Re: [Mjpeg-users] [Fwd: yuv4mpeg export feature refinement]
From:
"Robert W. Fuller" <[EMAIL PROTECTED]>
Date:
Wed, 07 Jan 2004 14:08:11 -0500
To:
"Steven M. Schultz" <[EMAIL PROTECTED]>
Thank you f
This should have gone to the list
--- Begin Message ---
Thank you for the reply. That header looks delightfully easy to edit.
Here's one from one of my transcode exports:
YUV4MPEG2 W704 H480 F3:1001 Ip A0:0
FRAME
Is the yuv4mpeg man page the best documentation for the header forma
On Wed, 7 Jan 2004, Robert W. Fuller wrote:
When you export from a quicktime file to yuv4mpeg, transcode sets the
frame order to "progressive/none." This does not work well with
programs like "yuvkineco" which will not perform de-interlacing unless ...
That's a very common problem with prog
10 matches
Mail list logo