You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(151) |
Apr
(278) |
May
(221) |
Jun
(161) |
Jul
(158) |
Aug
(204) |
Sep
(111) |
Oct
(344) |
Nov
(246) |
Dec
(348) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(393) |
Feb
(317) |
Mar
(225) |
Apr
(338) |
May
(328) |
Jun
(226) |
Jul
(195) |
Aug
(191) |
Sep
(211) |
Oct
(212) |
Nov
(304) |
Dec
(280) |
2003 |
Jan
(332) |
Feb
(401) |
Mar
(355) |
Apr
(240) |
May
(277) |
Jun
(299) |
Jul
(97) |
Aug
(280) |
Sep
(300) |
Oct
(200) |
Nov
(272) |
Dec
(281) |
2004 |
Jan
(384) |
Feb
(155) |
Mar
(155) |
Apr
(98) |
May
(191) |
Jun
(117) |
Jul
(119) |
Aug
(242) |
Sep
(146) |
Oct
(166) |
Nov
(101) |
Dec
(133) |
2005 |
Jan
(196) |
Feb
(133) |
Mar
(190) |
Apr
(100) |
May
(124) |
Jun
(78) |
Jul
(73) |
Aug
(110) |
Sep
(87) |
Oct
(102) |
Nov
(67) |
Dec
(77) |
2006 |
Jan
(75) |
Feb
(35) |
Mar
(51) |
Apr
(144) |
May
(40) |
Jun
(70) |
Jul
(53) |
Aug
(34) |
Sep
(31) |
Oct
(49) |
Nov
(80) |
Dec
(53) |
2007 |
Jan
(72) |
Feb
(21) |
Mar
(67) |
Apr
(56) |
May
(45) |
Jun
(23) |
Jul
(15) |
Aug
(27) |
Sep
(41) |
Oct
(20) |
Nov
(60) |
Dec
(52) |
2008 |
Jan
(40) |
Feb
(53) |
Mar
(41) |
Apr
(12) |
May
(25) |
Jun
(20) |
Jul
(19) |
Aug
(23) |
Sep
(29) |
Oct
(15) |
Nov
(10) |
Dec
(18) |
2009 |
Jan
(24) |
Feb
(19) |
Mar
(5) |
Apr
(17) |
May
(11) |
Jun
(43) |
Jul
(4) |
Aug
(2) |
Sep
(17) |
Oct
(15) |
Nov
(15) |
Dec
(4) |
2010 |
Jan
(8) |
Feb
(5) |
Mar
(4) |
Apr
(23) |
May
(16) |
Jun
|
Jul
(5) |
Aug
(1) |
Sep
(7) |
Oct
(31) |
Nov
(11) |
Dec
(6) |
2011 |
Jan
(10) |
Feb
(3) |
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
(1) |
Sep
(25) |
Oct
(1) |
Nov
(13) |
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
(9) |
Dec
(3) |
2013 |
Jan
(3) |
Feb
(1) |
Mar
(9) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(2) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
(2) |
Sep
|
Oct
(2) |
Nov
(4) |
Dec
(5) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(6) |
Jun
|
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(3) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
(10) |
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(2) |
Mar
|
Apr
(7) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(5) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(12) |
Nov
|
Dec
|
2021 |
Jan
(9) |
Feb
(4) |
Mar
(4) |
Apr
(2) |
May
(45) |
Jun
(1) |
Jul
|
Aug
|
Sep
(23) |
Oct
(39) |
Nov
(8) |
Dec
(19) |
2022 |
Jan
|
Feb
|
Mar
(10) |
Apr
(26) |
May
(8) |
Jun
(2) |
Jul
(10) |
Aug
(2) |
Sep
(3) |
Oct
(21) |
Nov
(3) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2024 |
Jan
(14) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bernhard P. <ber...@gr...> - 2022-10-22 08:33:36
|
Hallo, Janos G. Komaromi wrote: > Thanks. Yes, glav works with -a 0. > > As far as /dev/dsp is concerned I may have to recompile kernel to > include oss drivers. I'll keep on working the sound part, but for my > most immediate editing tasks sound output is not that important. You should not need to include it directly into the kernel, you might just need to compile it as module and every thing should be fine. > Thanks again for all you support and also for Stephen's idea of ffmpeg > method of simmply cutting out a section of the original (compressed) > .avi file. > > Best to all, > > Janos > PS - please add my other email address > ja...@an... > to members of your mailing list. > > On Wed, 2022-10-19 at 19:33 +0200, Bernhard Praschinger wrote: >> Hallo, >> >> the workaround I did use was playing back the file without sound. So >> a >> command like that should work: glav -a 0 output.avi >> If that works you can go. >> >> If the /dev/dsp does not exist try loading the kernel module snd-pcm- >> oss >> using a command like that: modprobe snd-pcm-oss >> You should find than the /dev/dsp >> You can give glav than another try like the way before, please also >> add >> -v 2 for a more verbose output: >> glav -v 2 output.avi >> >> Janos G Komaromi wrote: >>> Update: >>> >>> I've installed alsa-oss and now glav does not die. But it is still >>> not >>> working properly. Here is the command and terminal output: >>> >>> Quote: >>> >>> janos@andraslinux ~/tmp $ aoss glav output.avi >>> ++: ++ WARN: [lavplay] Unable to set negative priority for audio >>> thread. >>> ++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio >>> thread >>> could not be enabled. ++: lavtools version 2.2.1 >>> ++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing >>> audio ++: >>> >>> Unquote >>> >>> The initial screen appears, and after about 4 second some noise >>> comes >>> out of the speakers, and soon after the whole thing dies. Same with >>> lavplay. However, mplayer can play the almost 7 Gig output,avi >>> correctly with sound. >>> >>> Is the file too big? Any other methods? >>> >>> Thanks for your attention, >>> >>> Janos >>> >> -- auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-20 15:03:22
|
Sorry to bother this community again with a follow up question: Now that glav works I have visually noticed a difference between the original (compressed) file and the glav-compatible (huge) file. In order to confirm my suspicion I issued the command: ffprobe -v error -show_format -show_streams <both versions> and compared the outputs - see attached diff.txt file. It is obvious that (a) width and height ratio is changed (lines 12-13 vs 19-20); (b) yuv420p vs yuvj422p (lines 26 vs 33) - maybe not relevant for visual appearance; (c) time base (lines 42 vs 44) - this explains the bloated size, do we need this, and if not, how to leave it as original? Obviously, only item (a) is important, the rest is mainly for my curiosity and better understanding of the digital video concepts. Janos On Wed, 19 Oct 2022 14:36:58 -0400 "Janos G. Komaromi" <ja...@ja...> wrote: > Thanks. Yes, glav works with -a 0. > > As far as /dev/dsp is concerned I may have to recompile kernel to > include oss drivers. I'll keep on working the sound part, but for my > most immediate editing tasks sound output is not that important. > > Thanks again for all you support and also for Stephen's idea of ffmpeg > method of simmply cutting out a section of the original (compressed) > .avi file. > > Best to all, > > Janos > PS - please add my other email address > ja...@an... > to members of your mailing list. > |
From: Janos G. K. <ja...@ja...> - 2022-10-19 18:37:19
|
Thanks. Yes, glav works with -a 0. As far as /dev/dsp is concerned I may have to recompile kernel to include oss drivers. I'll keep on working the sound part, but for my most immediate editing tasks sound output is not that important. Thanks again for all you support and also for Stephen's idea of ffmpeg method of simmply cutting out a section of the original (compressed) .avi file. Best to all, Janos PS - please add my other email address ja...@an... to members of your mailing list. On Wed, 2022-10-19 at 19:33 +0200, Bernhard Praschinger wrote: > Hallo, > > the workaround I did use was playing back the file without sound. So > a > command like that should work: glav -a 0 output.avi > If that works you can go. > > If the /dev/dsp does not exist try loading the kernel module snd-pcm- > oss > using a command like that: modprobe snd-pcm-oss > You should find than the /dev/dsp > You can give glav than another try like the way before, please also > add > -v 2 for a more verbose output: > glav -v 2 output.avi > > Janos G Komaromi wrote: > > Update: > > > > I've installed alsa-oss and now glav does not die. But it is still > > not > > working properly. Here is the command and terminal output: > > > > Quote: > > > > janos@andraslinux ~/tmp $ aoss glav output.avi > > ++: ++ WARN: [lavplay] Unable to set negative priority for audio > > thread. > > ++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio > > thread > > could not be enabled. ++: lavtools version 2.2.1 > > ++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing > > audio ++: > > > > Unquote > > > > The initial screen appears, and after about 4 second some noise > > comes > > out of the speakers, and soon after the whole thing dies. Same with > > lavplay. However, mplayer can play the almost 7 Gig output,avi > > correctly with sound. > > > > Is the file too big? Any other methods? > > > > Thanks for your attention, > > > > Janos > > > |
From: Bernhard P. <ber...@gr...> - 2022-10-19 17:34:02
|
Hallo, the workaround I did use was playing back the file without sound. So a command like that should work: glav -a 0 output.avi If that works you can go. If the /dev/dsp does not exist try loading the kernel module snd-pcm-oss using a command like that: modprobe snd-pcm-oss You should find than the /dev/dsp You can give glav than another try like the way before, please also add -v 2 for a more verbose output: glav -v 2 output.avi Janos G Komaromi wrote: > Update: > > I've installed alsa-oss and now glav does not die. But it is still not > working properly. Here is the command and terminal output: > > Quote: > > janos@andraslinux ~/tmp $ aoss glav output.avi > ++: ++ WARN: [lavplay] Unable to set negative priority for audio thread. > ++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread > could not be enabled. ++: lavtools version 2.2.1 > ++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing > audio ++: > > Unquote > > The initial screen appears, and after about 4 second some noise comes > out of the speakers, and soon after the whole thing dies. Same with > lavplay. However, mplayer can play the almost 7 Gig output,avi > correctly with sound. > > Is the file too big? Any other methods? > > Thanks for your attention, > > Janos > -- auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-19 16:19:26
|
Update: I've installed alsa-oss and now glav does not die. But it is still not working properly. Here is the command and terminal output: Quote: janos@andraslinux ~/tmp $ aoss glav output.avi ++: ++ WARN: [lavplay] Unable to set negative priority for audio thread. ++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread could not be enabled. ++: lavtools version 2.2.1 ++: **ERROR: [lavplay] Error playing audio: Buffer overflow writing audio ++: Unquote The initial screen appears, and after about 4 second some noise comes out of the speakers, and soon after the whole thing dies. Same with lavplay. However, mplayer can play the almost 7 Gig output,avi correctly with sound. Is the file too big? Any other methods? Thanks for your attention, Janos -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ On Tue, 18 Oct 2022 15:22:18 -0400 Janos G Komaromi <ja...@an...> wrote: > Yes, it did. > > Although glav still died because of missing /dev/dsp. > > I remember from a few years ago that glav uses OSS not Alsa. Can you > please help what to do next? > > On Tue, 18 Oct 2022 19:27:45 +0200 > Bernhard Praschinger <ber...@gr...> wrote: > |
From: Janos G K. <ja...@an...> - 2022-10-18 19:22:38
|
Yes, it did. Although glav still died because of missing /dev/dsp. I remember from a few years ago that glav uses OSS not Alsa. Can you please help what to do next? On Tue, 18 Oct 2022 19:27:45 +0200 Bernhard Praschinger <ber...@gr...> wrote: > Hallo, > > my fault. You have a .wav file an need to add that to the video file. > So you can skip this command: cat audio.wav | mp2enc -v 2 -V -o > sound.mp2 > > And just use that command: > lavaddwav video_without_sound.avi audio.wav output.avi > > I hope that works. > > Regards, Bernhard > > Janos G Komaromi wrote: > > Hi Bernie, > > > > I had to recompile (re-emerge in Gentoo) mjpegtools with quicktime > > and dv included (with -f a the file size was over 2 Gig). Looks > > like I had the right idea but not the precise way to get there. > > Followed your instructions, but still not finshed. Note, I had to > > add -n n parameters to the yuvscaler because it did not recognize > > the format. Here is the problem: > > > > Quote > > > > janos@andraslinux ~/tmp $ cat audio.wav | mp2enc -v 2 -V -o > > sound.mp2 ... > > --DEBUG: [mp2enc] 6533 seconds done > > INFO: [mp2enc] Num frames 250036 Avg slots/frame = 731.429; > > b/smp = 5.08; br = 224.000 kbps INFO: [mp2enc] Encoding to layer 2 > > with psychoacoustic model 2 is finished INFO: [mp2enc] The MPEG > > encoded output file name is "sound.mp2" > > > > janos@andraslinux ~/tmp $ lavaddwav video_without_sound.avi > > sound.mp2 output.avi --DEBUG: [lavaddwav] File: > > video_without_sound.avi --DEBUG: [lavaddwav] format: > > q --DEBUG: [lavaddwav] frames: 195950 > > --DEBUG: [lavaddwav] width: 480 > > --DEBUG: [lavaddwav] height: 480 > > --DEBUG: [lavaddwav] interlacing: 0 > > --DEBUG: [lavaddwav] frames/sec: 30.000 > > --DEBUG: [lavaddwav] duration: 6531.667 sec > > --DEBUG: [lavaddwav] > > **ERROR: [lavaddwav] Error in WAV header of sound.mp2 > > **ERROR: [lavaddwav] Unable to fill audio file structure > > > > Unquote > > > > The original video excap0001.avi is 753 MiB > > The video_without_sound.avi is 5.7 GiB (same as with -a a) > > The sound.mp2 is 174 MiB > > > > Why is the "Error in WAV header"? > > My audio.wav file is 1.1 GiB > > > > > > On Sun, 16 Oct 2022 10:38:41 +0200 > > Bernhard Praschinger <ber...@gr...> wrote: > > > >> Hallo, > >> > >> Sorry for the delay. > >> When you want to convert the file so you can edit it with glav, you > >> need to change the commands a little bit so glav understand the > >> AVI. You need to create a intermediate AVI file: > >> > >> mkfifo stream.yuv > >> cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o > >> video_without_sound.avi & > >> mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi > >> > >> mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi > >> cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 > >> > >> You need than to add the sound/audio to the video: > >> lavaddwav video_without_sound.avi sound.mp2 output.avi > >> > >> If the avi file reaches the 2GB Filesizelimit you should change to > >> the Quicktime. You need to replace the yuv2lav option -f a with: > >> -f q > >> > >> output.avi contains video and sound, you can edit it with glav. > >> After editing you get the edilist file, you can process as you are > >> used. to. > >> > >> Janos G Komaromi wrote: > >>> Progress report after reading the FM. > >>> > >>> Executed the followig commands: > >>> mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > >>> cat audio.wav | mp2enc -o audio.mp2 > >>> mplex audio.mp2 video_svcd.m2v -o test.mpg > >>> mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > >>> mplayer test.mpg > >>> glav test.mpg > >>> > >>> Results: > >>> (1) mplex in either forms complains about too many frames dropped > >>> and then quits. > >>> (2) mplayer plays the file, but it is a long video, so I stopped > >>> B4 completion. > >>> (3) glav has the same error as in my initial post. > >>> > >>> So I'm still asking for help. There is no video editor available > >>> for Gentoo. I like glav and would like to use it for my video > >>> files transferred from old video recorder tapes. > >>> > >>> Thx - Janos > >>> > >>> > >>> On Mon, 10 Oct 2022 14:51:11 -0400 > >>> Janos G Komaromi <ja...@an...> wrote: > -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ |
From: Bernhard P. <ber...@gr...> - 2022-10-18 17:28:01
|
Hallo, my fault. You have a .wav file an need to add that to the video file. So you can skip this command: cat audio.wav | mp2enc -v 2 -V -o sound.mp2 And just use that command: lavaddwav video_without_sound.avi audio.wav output.avi I hope that works. Regards, Bernhard Janos G Komaromi wrote: > Hi Bernie, > > I had to recompile (re-emerge in Gentoo) mjpegtools with quicktime and > dv included (with -f a the file size was over 2 Gig). Looks like I had > the right idea but not the precise way to get there. Followed your > instructions, but still not finshed. Note, I had to add -n n parameters > to the yuvscaler because it did not recognize the format. Here is the > problem: > > Quote > > janos@andraslinux ~/tmp $ cat audio.wav | mp2enc -v 2 -V -o sound.mp2 > ... > --DEBUG: [mp2enc] 6533 seconds done > INFO: [mp2enc] Num frames 250036 Avg slots/frame = 731.429; b/smp = > 5.08; br = 224.000 kbps INFO: [mp2enc] Encoding to layer 2 with > psychoacoustic model 2 is finished INFO: [mp2enc] The MPEG encoded > output file name is "sound.mp2" > > janos@andraslinux ~/tmp $ lavaddwav video_without_sound.avi sound.mp2 > output.avi --DEBUG: [lavaddwav] File: video_without_sound.avi > --DEBUG: [lavaddwav] format: q > --DEBUG: [lavaddwav] frames: 195950 > --DEBUG: [lavaddwav] width: 480 > --DEBUG: [lavaddwav] height: 480 > --DEBUG: [lavaddwav] interlacing: 0 > --DEBUG: [lavaddwav] frames/sec: 30.000 > --DEBUG: [lavaddwav] duration: 6531.667 sec > --DEBUG: [lavaddwav] > **ERROR: [lavaddwav] Error in WAV header of sound.mp2 > **ERROR: [lavaddwav] Unable to fill audio file structure > > Unquote > > The original video excap0001.avi is 753 MiB > The video_without_sound.avi is 5.7 GiB (same as with -a a) > The sound.mp2 is 174 MiB > > Why is the "Error in WAV header"? > My audio.wav file is 1.1 GiB > > > On Sun, 16 Oct 2022 10:38:41 +0200 > Bernhard Praschinger <ber...@gr...> wrote: > >> Hallo, >> >> Sorry for the delay. >> When you want to convert the file so you can edit it with glav, you >> need to change the commands a little bit so glav understand the AVI. >> You need to create a intermediate AVI file: >> >> mkfifo stream.yuv >> cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o >> video_without_sound.avi & >> mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi >> >> mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi >> cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 >> >> You need than to add the sound/audio to the video: >> lavaddwav video_without_sound.avi sound.mp2 output.avi >> >> If the avi file reaches the 2GB Filesizelimit you should change to >> the Quicktime. You need to replace the yuv2lav option -f a with: -f q >> >> output.avi contains video and sound, you can edit it with glav. >> After editing you get the edilist file, you can process as you are >> used. to. >> >> Janos G Komaromi wrote: >>> Progress report after reading the FM. >>> >>> Executed the followig commands: >>> mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi >>> cat audio.wav | mp2enc -o audio.mp2 >>> mplex audio.mp2 video_svcd.m2v -o test.mpg >>> mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg >>> mplayer test.mpg >>> glav test.mpg >>> >>> Results: >>> (1) mplex in either forms complains about too many frames dropped >>> and then quits. >>> (2) mplayer plays the file, but it is a long video, so I stopped B4 >>> completion. >>> (3) glav has the same error as in my initial post. >>> >>> So I'm still asking for help. There is no video editor available for >>> Gentoo. I like glav and would like to use it for my video files >>> transferred from old video recorder tapes. >>> >>> Thx - Janos >>> >>> >>> On Mon, 10 Oct 2022 14:51:11 -0400 >>> Janos G Komaromi <ja...@an...> wrote: -- auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-18 14:39:53
|
Hi Bernie, I had to recompile (re-emerge in Gentoo) mjpegtools with quicktime and dv included (with -f a the file size was over 2 Gig). Looks like I had the right idea but not the precise way to get there. Followed your instructions, but still not finshed. Note, I had to add -n n parameters to the yuvscaler because it did not recognize the format. Here is the problem: Quote janos@andraslinux ~/tmp $ cat audio.wav | mp2enc -v 2 -V -o sound.mp2 ... --DEBUG: [mp2enc] 6533 seconds done INFO: [mp2enc] Num frames 250036 Avg slots/frame = 731.429; b/smp = 5.08; br = 224.000 kbps INFO: [mp2enc] Encoding to layer 2 with psychoacoustic model 2 is finished INFO: [mp2enc] The MPEG encoded output file name is "sound.mp2" janos@andraslinux ~/tmp $ lavaddwav video_without_sound.avi sound.mp2 output.avi --DEBUG: [lavaddwav] File: video_without_sound.avi --DEBUG: [lavaddwav] format: q --DEBUG: [lavaddwav] frames: 195950 --DEBUG: [lavaddwav] width: 480 --DEBUG: [lavaddwav] height: 480 --DEBUG: [lavaddwav] interlacing: 0 --DEBUG: [lavaddwav] frames/sec: 30.000 --DEBUG: [lavaddwav] duration: 6531.667 sec --DEBUG: [lavaddwav] **ERROR: [lavaddwav] Error in WAV header of sound.mp2 **ERROR: [lavaddwav] Unable to fill audio file structure Unquote The original video excap0001.avi is 753 MiB The video_without_sound.avi is 5.7 GiB (same as with -a a) The sound.mp2 is 174 MiB Why is the "Error in WAV header"? My audio.wav file is 1.1 GiB On Sun, 16 Oct 2022 10:38:41 +0200 Bernhard Praschinger <ber...@gr...> wrote: > Hallo, > > Sorry for the delay. > When you want to convert the file so you can edit it with glav, you > need to change the commands a little bit so glav understand the AVI. > You need to create a intermediate AVI file: > > mkfifo stream.yuv > cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o > video_without_sound.avi & > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi > > mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi > cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 > > You need than to add the sound/audio to the video: > lavaddwav video_without_sound.avi sound.mp2 output.avi > > If the avi file reaches the 2GB Filesizelimit you should change to > the Quicktime. You need to replace the yuv2lav option -f a with: -f q > > output.avi contains video and sound, you can edit it with glav. > After editing you get the edilist file, you can process as you are > used. to. > > Janos G Komaromi wrote: > > Progress report after reading the FM. > > > > Executed the followig commands: > > mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > > cat audio.wav | mp2enc -o audio.mp2 > > mplex audio.mp2 video_svcd.m2v -o test.mpg > > mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > > mplayer test.mpg > > glav test.mpg > > > > Results: > > (1) mplex in either forms complains about too many frames dropped > > and then quits. > > (2) mplayer plays the file, but it is a long video, so I stopped B4 > > completion. > > (3) glav has the same error as in my initial post. > > > > So I'm still asking for help. There is no video editor available for > > Gentoo. I like glav and would like to use it for my video files > > transferred from old video recorder tapes. > > > > Thx - Janos > > > > > > On Mon, 10 Oct 2022 14:51:11 -0400 > > Janos G Komaromi <ja...@an...> wrote: > > > >> Hi, > >> > >> Thanks, Bernie. One step closer. > >> I recompiled mplayer, and now the command works. I now have a > >> "video_svcd.m2v" file. It plays with mplayer but there is no sound. > >> So the next step: how do I make a complete file, video and sound, > >> that glav will be able to process for editing? > >> > >> Regards, > >> > >> Janos > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: ber...@gr... > www: http://www.lysator.liu.se/~gz/bernhard -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ |
From: Janos G K. <ja...@an...> - 2022-10-17 02:55:35
|
Hi Stephen, Thank you for your very useful comments. Yes, it is clear for me how to use ffmpeg for "topping and tailing" and will try that, and add it to my toolbox. Presenty I'm proceeding along Bernie's instructions so that I can master glav. For now I'm looking for simple, not fancy methods, but will eventually look at pitivi as well. Regards, Janos P.S. sending this from my machine where I do the video stuff. On Sun, 16 Oct 2022 11:28:59 -0400 "Janos G. Komaromi" <ja...@ja...> wrote: > -------- Forwarded Message -------- > From: Stephen Mollett <mol...@ya...> > To: mjp...@li..., ja...@ja... > Subject: Re: [Mjpeg-users] glav error opening .avi file > Date: Sun, 16 Oct 2022 10:46:14 +0100 > Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 > Thunderbird/102.3.1 > > Hi Janos, > > I know I'm coming into this discussion a bit late but what kind of > editing do you need to do on the files? If it's just "topping and > tailing" - extracting specific timed sections out of the capture > files and encoding them to another file - then the way I do it is > with ffmpeg using something like: > > $ ffmpeg -accurate_seek -ss $START_TIME_SECS -t $DURATION_SECS \ > -i $SOURCE_FILE -c:v $VIDEO_CODEC $VIDEO_CODEC_OPTIONS -vtag $FOURCC \ > -c:a $AUDIO_CODEC $AUDIO_CODEC_OPTIONS $OUTPUT_FILE > > Hopefully, the shell variables are self-explanatory. I can get the > times > by simply playing the video with vlc or similar and using the fine > adjustment controls and/or reduced play speed. You can add in filters > as > necessary to sharpen/denoise/crop. > > I used to do this quite regularly and had a script to automate it, > which > I dumped onto github a few years ago at: > https://github.com/molletts/handy-scripts/tree/master/cut-video > in case someone somewhere found it useful. It's some years since I > last used it so I don't know whether it still works. Both components > (the main script and the helper which it calls) need to be in $PATH. > > I've never tried Kdenlive or Pitivi so I don't know what they're like > but I've seen them both mentioned as good-enough video editors for > basic > work. They've both got ebuilds in the main Gentoo repo so it may be > worth giving one or both a try. (Kdenlive is likely to pull in a ton > of KDE dependencies, of course.) > > Hope this helps, > Stephen > > On 15/10/2022 16:14, Janos G Komaromi wrote: > > Progress report after reading the FM. > > > > Executed the followig commands: > > mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > > cat audio.wav | mp2enc -o audio.mp2 > > mplex audio.mp2 video_svcd.m2v -o test.mpg > > mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > > mplayer test.mpg > > glav test.mpg > > > > Results: > > (1) mplex in either forms complains about too many frames dropped > > and then quits. > > (2) mplayer plays the file, but it is a long video, so I stopped B4 > > completion. > > (3) glav has the same error as in my initial post. > > > > So I'm still asking for help. There is no video editor available for > > Gentoo. I like glav and would like to use it for my video files > > transferred from old video recorder tapes. > > > > Thx - Janos > > > > > > On Mon, 10 Oct 2022 14:51:11 -0400 > > Janos G Komaromi <ja...@an...> wrote: > > > > > Hi, > > > > > > Thanks, Bernie. One step closer. > > > I recompiled mplayer, and now the command works. I now have a > > > "video_svcd.m2v" file. It plays with mplayer but there is no > > > sound. So the next step: how do I make a complete file, video and > > > sound, that > > > glav will be able to process for editing? > > > > > > Regards, > > > > > > Janos > > > > > > On Sat, 8 Oct 2022 19:15:04 +0200 > > > Bernhard Praschinger <ber...@gr...> wrote: > > > > > > > Hallo > > > > > > > > Janos G Komaromi wrote: > > > > > Yes Bernie, that's it. My distro is Gentoo, which means it i > > > > > compiled from a Gentoo source. I believe I can recompile it > > > > > with > > > > > the yuv4mpeg use flag. I'll post another message once I > > > > > succeed with the original command set just to close this > > > > > thread. Thank you > > > > > for your help - Janos > > > > One thing comes into my mind, it might be that the configure > > > > script > > > > checks if the mjpegtools libraries are available and only > > > > activates > > > > it automatic if it finds them the Option that force yuv4mpeg is: > > > > --enable-yuv4mpeg. > > > > > > -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ |
From: Stephen M. <mol...@ya...> - 2022-10-16 09:46:28
|
Hi Janos, I know I'm coming into this discussion a bit late but what kind of editing do you need to do on the files? If it's just "topping and tailing" - extracting specific timed sections out of the capture files and encoding them to another file - then the way I do it is with ffmpeg using something like: $ ffmpeg -accurate_seek -ss $START_TIME_SECS -t $DURATION_SECS \ -i $SOURCE_FILE -c:v $VIDEO_CODEC $VIDEO_CODEC_OPTIONS -vtag $FOURCC \ -c:a $AUDIO_CODEC $AUDIO_CODEC_OPTIONS $OUTPUT_FILE Hopefully, the shell variables are self-explanatory. I can get the times by simply playing the video with vlc or similar and using the fine adjustment controls and/or reduced play speed. You can add in filters as necessary to sharpen/denoise/crop. I used to do this quite regularly and had a script to automate it, which I dumped onto github a few years ago at: https://github.com/molletts/handy-scripts/tree/master/cut-video in case someone somewhere found it useful. It's some years since I last used it so I don't know whether it still works. Both components (the main script and the helper which it calls) need to be in $PATH. I've never tried Kdenlive or Pitivi so I don't know what they're like but I've seen them both mentioned as good-enough video editors for basic work. They've both got ebuilds in the main Gentoo repo so it may be worth giving one or both a try. (Kdenlive is likely to pull in a ton of KDE dependencies, of course.) Hope this helps, Stephen On 15/10/2022 16:14, Janos G Komaromi wrote: > Progress report after reading the FM. > > Executed the followig commands: > mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > cat audio.wav | mp2enc -o audio.mp2 > mplex audio.mp2 video_svcd.m2v -o test.mpg > mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > mplayer test.mpg > glav test.mpg > > Results: > (1) mplex in either forms complains about too many frames dropped and > then quits. > (2) mplayer plays the file, but it is a long video, so I stopped B4 > completion. > (3) glav has the same error as in my initial post. > > So I'm still asking for help. There is no video editor available for > Gentoo. I like glav and would like to use it for my video files > transferred from old video recorder tapes. > > Thx - Janos > > > On Mon, 10 Oct 2022 14:51:11 -0400 > Janos G Komaromi <ja...@an...> wrote: > >> Hi, >> >> Thanks, Bernie. One step closer. >> I recompiled mplayer, and now the command works. I now have a >> "video_svcd.m2v" file. It plays with mplayer but there is no sound. >> So the next step: how do I make a complete file, video and sound, that >> glav will be able to process for editing? >> >> Regards, >> >> Janos >> >> On Sat, 8 Oct 2022 19:15:04 +0200 >> Bernhard Praschinger <ber...@gr...> wrote: >> >>> Hallo >>> >>> Janos G Komaromi wrote: >>>> Yes Bernie, that's it. My distro is Gentoo, which means it i >>>> compiled from a Gentoo source. I believe I can recompile it with >>>> the yuv4mpeg use flag. I'll post another message once I succeed >>>> with the original command set just to close this thread. Thank you >>>> for your help - Janos >>> One thing comes into my mind, it might be that the configure script >>> checks if the mjpegtools libraries are available and only activates >>> it automatic if it finds them the Option that force yuv4mpeg is: >>> --enable-yuv4mpeg. > > > |
From: Bernhard P. <ber...@gr...> - 2022-10-16 08:38:52
|
Hallo, Sorry for the delay. When you want to convert the file so you can edit it with glav, you need to change the commands a little bit so glav understand the AVI. You need to create a intermediate AVI file: mkfifo stream.yuv cat stream.yuv │ yuvscaler -O SVCD │ yuv2lav -q 90 -f a -o video_without_sound.avi & mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 You need than to add the sound/audio to the video: lavaddwav video_without_sound.avi sound.mp2 output.avi If the avi file reaches the 2GB Filesizelimit you should change to the Quicktime. You need to replace the yuv2lav option -f a with: -f q output.avi contains video and sound, you can edit it with glav. After editing you get the edilist file, you can process as you are used. to. Janos G Komaromi wrote: > Progress report after reading the FM. > > Executed the followig commands: > mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > cat audio.wav | mp2enc -o audio.mp2 > mplex audio.mp2 video_svcd.m2v -o test.mpg > mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > mplayer test.mpg > glav test.mpg > > Results: > (1) mplex in either forms complains about too many frames dropped and > then quits. > (2) mplayer plays the file, but it is a long video, so I stopped B4 > completion. > (3) glav has the same error as in my initial post. > > So I'm still asking for help. There is no video editor available for > Gentoo. I like glav and would like to use it for my video files > transferred from old video recorder tapes. > > Thx - Janos > > > On Mon, 10 Oct 2022 14:51:11 -0400 > Janos G Komaromi <ja...@an...> wrote: > >> Hi, >> >> Thanks, Bernie. One step closer. >> I recompiled mplayer, and now the command works. I now have a >> "video_svcd.m2v" file. It plays with mplayer but there is no sound. >> So the next step: how do I make a complete file, video and sound, that >> glav will be able to process for editing? >> >> Regards, >> >> Janos auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-15 15:14:44
|
Progress report after reading the FM. Executed the followig commands: mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi cat audio.wav | mp2enc -o audio.mp2 mplex audio.mp2 video_svcd.m2v -o test.mpg mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg mplayer test.mpg glav test.mpg Results: (1) mplex in either forms complains about too many frames dropped and then quits. (2) mplayer plays the file, but it is a long video, so I stopped B4 completion. (3) glav has the same error as in my initial post. So I'm still asking for help. There is no video editor available for Gentoo. I like glav and would like to use it for my video files transferred from old video recorder tapes. Thx - Janos On Mon, 10 Oct 2022 14:51:11 -0400 Janos G Komaromi <ja...@an...> wrote: > Hi, > > Thanks, Bernie. One step closer. > I recompiled mplayer, and now the command works. I now have a > "video_svcd.m2v" file. It plays with mplayer but there is no sound. > So the next step: how do I make a complete file, video and sound, that > glav will be able to process for editing? > > Regards, > > Janos > > On Sat, 8 Oct 2022 19:15:04 +0200 > Bernhard Praschinger <ber...@gr...> wrote: > > > Hallo > > > > Janos G Komaromi wrote: > > > Yes Bernie, that's it. My distro is Gentoo, which means it i > > > compiled from a Gentoo source. I believe I can recompile it with > > > the yuv4mpeg use flag. I'll post another message once I succeed > > > with the original command set just to close this thread. Thank you > > > for your help - Janos > > One thing comes into my mind, it might be that the configure script > > checks if the mjpegtools libraries are available and only activates > > it automatic if it finds them the Option that force yuv4mpeg is: > > --enable-yuv4mpeg. -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ |
From: Janos G K. <ja...@an...> - 2022-10-10 19:07:42
|
Hi, Thanks, Bernie. One step closer. I recompiled mplayer, and now the command works. I now have a "video_svcd.m2v" file. It plays with mplayer but there is no sound. So the next step: how do I make a complete file, video and sound, that glav will be able to process for editing? Regards, Janos On Sat, 8 Oct 2022 19:15:04 +0200 Bernhard Praschinger <ber...@gr...> wrote: > Hallo > > Janos G Komaromi wrote: > > Yes Bernie, that's it. My distro is Gentoo, which means it i > > compiled from a Gentoo source. I believe I can recompile it with > > the yuv4mpeg use flag. I'll post another message once I succeed > > with the original command set just to close this thread. Thank you > > for your help - Janos > One thing comes into my mind, it might be that the configure script > checks if the mjpegtools libraries are available and only activates > it automatic if it finds them the Option that force yuv4mpeg is: > --enable-yuv4mpeg. |
From: Bernhard P. <ber...@gr...> - 2022-10-08 17:15:15
|
Hallo Janos G Komaromi wrote: > Yes Bernie, that's it. My distro is Gentoo, which means it i compiled > from a Gentoo source. I believe I can recompile it with the yuv4mpeg use > flag. I'll post another message once I succeed with the original command > set just to close this thread. Thank you for your help - Janos One thing comes into my mind, it might be that the configure script checks if the mjpegtools libraries are available and only activates it automatic if it finds them the Option that force yuv4mpeg is: --enable-yuv4mpeg. > On Sat, 8 Oct 2022 06:29:22 +0200 > Bernhard Praschinger <ber...@gr...> wrote: > >> Hallo, >> >> It seems that your version of mplayer was not complied with the >> That is the important line: Error opening/initializing the selected >> video_out (-vo) device. >> >> Please do a test: > mplayer -vo help >> You should find a line like: >> yuv4mpeg yuv4mpeg output for mjpegtools >> >> If not, it would mean to me that mplayer was compiled without >> yuv4mpeg support. My version of mplayer: MPlayer 1.4-7 >> >> If you did compile it on you own please check when running t >> configure that you find in the enabled driver yuv4mpeg. >> Enabled optional drivers: >> Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking >> Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2 >> mpg123 speex >> Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb) >> Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb) >> fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga >> ---END--- >> >> If you use the precompiled version from your distribution I would >> recommend that you download the source and compile it on your own. >> >> auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-08 14:11:33
|
Yes Bernie, that's it. My distro is Gentoo, which means it i compiled from a Gentoo source. I believe I can recompile it with the yuv4mpeg use flag. I'll post another message once I succeed with the original command set just to close this thread. Thank you for your help - Janos On Sat, 8 Oct 2022 06:29:22 +0200 Bernhard Praschinger <ber...@gr...> wrote: > Hallo, > > It seems that your version of mplayer was not complied with the > That is the important line: Error opening/initializing the selected > video_out (-vo) device. > > Please do a test: > mplayer -vo help > You should find a line like: > yuv4mpeg yuv4mpeg output for mjpegtools > > If not, it would mean to me that mplayer was compiled without > yuv4mpeg support. My version of mplayer: MPlayer 1.4-7 > > If you did compile it on you own please check when running t > configure that you find in the enabled driver yuv4mpeg. > Enabled optional drivers: > Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking > Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2 > mpg123 speex > Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb) > Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb) > fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga > ---END--- > > If you use the precompiled version from your distribution I would > recommend that you download the source and compile it on your own. > > > Janos G Komaromi wrote: > > Hello Bernie, thanks. Here is what happened: > > > > janos@andraslinux ~/tmp $ cat stream.yuv | yuvscaler -O SVCD | > > mpeg2enc -f 4 -o video_svcd.m2v & mplayer -nosound -noframedrop -vo > > yuv4mpeg ezcap0001.avi > > > > [1] 21535 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007 > > INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard > > <xbi...@fr...>, yuvscaler -h for help, or man yuvscaler INFO: > > [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc] > > SETTING SSE and MMX for TRANSFORM! INFO: [mpeg2enc] SETTING > > EXTENDED MMX for PREDICTION! MPlayer 1.4-11.3.0 (C) 2000-2019 > > MPlayer Team > > > > Playing ezcap0001.avi. > > libavformat version 58.76.100 (external) > > AVI file format detected. > > [aviheader] Video stream found, -vid 0 > > [aviheader] Audio stream found, -aid 1 > > VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 > > kbyte/s) Error opening/initializing the selected video_out (-vo) > > device. No stream found. > > > > > > Exiting... (End of file) > > janos@andraslinux ~/tmp $ ls > > ezcap0001.avi stream.yuv > > > > I don't understand. if I issue command > > > > janos@andraslinux ~/tmp $ mplayer ezcap0001.avi > > > > MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team > > > > Playing ezcap0001.avi. > > libavformat version 58.76.100 (external) > > AVI file format detected. > > [aviheader] Video stream found, -vid 0 > > [aviheader] Audio stream found, -aid 1 > > VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 > > kbyte/s) > > ========================================================================== > > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > > libavcodec version 58.134.100 (external) [mpeg4 @ > > 0x7ff6ba3a8f60]Requested frame threading with a custom > > get_buffer2() implementation which is not marked as thread safe. > > This is not supported anymore, make your callback thread-safe. > > Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) > > ========================================================================== > > Load subtitles in ./ > > ========================================================================== > > Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III > > AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400) > > Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers > > I, II, III) > > ========================================================================== > > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting > > playback... Movie-Aspect is undefined - no prescaling applied. > > VO: [xv] 800x592 => 800x592 Planar YV12 > > Movie-Aspect is 1.35:1 - prescaling to correct movie aspect. > > VO: [xv] 800x592 => 800x592 Planar YV12 > > A: 16.2 V: 16.2 A-V: -0.001 ct: 0.012 486/486 27% 0% 0.9% 17 0 > > > > Exiting... (Quit) > > janos@andraslinux ~/tmp $ > > > > the file starts to play almost imediately in a new window, perfectly > > with sound and picture. So the video-out (-vo) device works > > automatically with mplayer. > > > > Janos > > P.S. I'm sending this message from my other email address, a > > mailserver on my fitlet machine where I try glav, etc. > > > > On Thu, 06 Oct 2022 08:06:19 -0400 > > "Janos G. Komaromi" <ja...@ja...> wrote: > > > >> -------- Forwarded Message -------- > >> From: Bernhard Praschinger <ber...@gr...> > >> To: Janos G. Komaromi <ja...@ja...>, MJPEG-tools user list > >> <mjp...@li...> > >> Subject: Re: [Mjpeg-users] glav error opening .avi file > >> Date: Thu, 6 Oct 2022 06:27:00 +0200 > >> Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 > >> Firefox/68.0 SeaMonkey/2.53.13 > >> > >> Hallo, > >> > >> mkfifo creates a file where one file/process reads it's content, > >> and another process puts data into. You need is when program data > >> can't pipe > >> direct to each other. So you create the named pipe. You start > >> afterwards > >> the process that reads the data and as last step you put the data > >> into it. > >> > >> The commands for the video would than be in one terminal window: > >> > mkfifo stream.yuv > >> > cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o > >> video_svcd.m2v & > >> > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi > >> > >> Don't forget to add the & in the 2nd line to start the process in > >> the background. You don't need to start mplayer in the background. > >> > >> For audio: > >> > mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi > >> > cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 > >> > >> Afterwards mutiplex the files together with: > >> mplex -f 4 sound.mp2 video_svcd.m2v -o SVCD.mpg > >> > >> You have then a encoded MPEG file with ist suitable for SVCD. You > >> need to change the commands for you need. > >> What do you want with the AVI file ? > >> > >> If you encounter errors please add the output to the mail. > >> > >> Janos G. Komaromi wrote: > >>> Hi Bernie, thanks for your answer. Sorry, I have not been doing > >>> video edits lately, so I need a little more help. Lat time I used > >>> Cinelerra for video edit on my old FC-3 desktop. > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: ber...@gr... > www: http://www.lysator.liu.se/~gz/bernhard |
From: Bernhard P. <ber...@gr...> - 2022-10-08 04:29:43
|
Hallo, It seems that your version of mplayer was not complied with the That is the important line: Error opening/initializing the selected video_out (-vo) device. Please do a test: > mplayer -vo help You should find a line like: yuv4mpeg yuv4mpeg output for mjpegtools If not, it would mean to me that mplayer was compiled without yuv4mpeg support. My version of mplayer: MPlayer 1.4-7 If you did compile it on you own please check when running t configure that you find in the enabled driver yuv4mpeg. Enabled optional drivers: Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2 mpg123 speex Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb) Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb) fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga ---END--- If you use the precompiled version from your distribution I would recommend that you download the source and compile it on your own. Janos G Komaromi wrote: > Hello Bernie, thanks. Here is what happened: > > janos@andraslinux ~/tmp $ cat stream.yuv | yuvscaler -O SVCD | mpeg2enc > -f 4 -o video_svcd.m2v & mplayer -nosound -noframedrop -vo yuv4mpeg > ezcap0001.avi > > [1] 21535 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007 > INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbi...@fr...>, > yuvscaler -h for help, or man yuvscaler INFO: [mpeg2enc] SETTING > EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING SSE and MMX for > TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION! > MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team > > Playing ezcap0001.avi. > libavformat version 58.76.100 (external) > AVI file format detected. > [aviheader] Video stream found, -vid 0 > [aviheader] Audio stream found, -aid 1 > VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 kbyte/s) > Error opening/initializing the selected video_out (-vo) device. > No stream found. > > > Exiting... (End of file) > janos@andraslinux ~/tmp $ ls > ezcap0001.avi stream.yuv > > I don't understand. if I issue command > > janos@andraslinux ~/tmp $ mplayer ezcap0001.avi > > MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team > > Playing ezcap0001.avi. > libavformat version 58.76.100 (external) > AVI file format detected. > [aviheader] Video stream found, -vid 0 > [aviheader] Audio stream found, -aid 1 > VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 kbyte/s) > ========================================================================== > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > libavcodec version 58.134.100 (external) > [mpeg4 @ 0x7ff6ba3a8f60]Requested frame threading with a custom > get_buffer2() implementation which is not marked as thread safe. This > is not supported anymore, make your callback thread-safe. Selected > video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) > ========================================================================== > Load subtitles in ./ > ========================================================================== > Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III > AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400) > Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, > II, III) > ========================================================================== > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) > Starting playback... > Movie-Aspect is undefined - no prescaling applied. > VO: [xv] 800x592 => 800x592 Planar YV12 > Movie-Aspect is 1.35:1 - prescaling to correct movie aspect. > VO: [xv] 800x592 => 800x592 Planar YV12 > A: 16.2 V: 16.2 A-V: -0.001 ct: 0.012 486/486 27% 0% 0.9% 17 0 > > Exiting... (Quit) > janos@andraslinux ~/tmp $ > > the file starts to play almost imediately in a new window, perfectly > with sound and picture. So the video-out (-vo) device works > automatically with mplayer. > > Janos > P.S. I'm sending this message from my other email address, a mailserver > on my fitlet machine where I try glav, etc. > > On Thu, 06 Oct 2022 08:06:19 -0400 > "Janos G. Komaromi" <ja...@ja...> wrote: > >> -------- Forwarded Message -------- >> From: Bernhard Praschinger <ber...@gr...> >> To: Janos G. Komaromi <ja...@ja...>, MJPEG-tools user list >> <mjp...@li...> >> Subject: Re: [Mjpeg-users] glav error opening .avi file >> Date: Thu, 6 Oct 2022 06:27:00 +0200 >> Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 >> Firefox/68.0 SeaMonkey/2.53.13 >> >> Hallo, >> >> mkfifo creates a file where one file/process reads it's content, and >> another process puts data into. You need is when program data can't >> pipe >> direct to each other. So you create the named pipe. You start >> afterwards >> the process that reads the data and as last step you put the data into >> it. >> >> The commands for the video would than be in one terminal window: >> > mkfifo stream.yuv >> > cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o >> video_svcd.m2v & >> > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi >> >> Don't forget to add the & in the 2nd line to start the process in the >> background. You don't need to start mplayer in the background. >> >> For audio: >> > mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi >> > cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 >> >> Afterwards mutiplex the files together with: >> mplex -f 4 sound.mp2 video_svcd.m2v -o SVCD.mpg >> >> You have then a encoded MPEG file with ist suitable for SVCD. You >> need to change the commands for you need. >> What do you want with the AVI file ? >> >> If you encounter errors please add the output to the mail. >> >> Janos G. Komaromi wrote: >>> Hi Bernie, thanks for your answer. Sorry, I have not been doing >>> video edits lately, so I need a little more help. Lat time I used >>> Cinelerra for video edit on my old FC-3 desktop. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G K. <ja...@an...> - 2022-10-06 14:37:52
|
Hello Bernie, thanks. Here is what happened: janos@andraslinux ~/tmp $ cat stream.yuv | yuvscaler -O SVCD | mpeg2enc -f 4 -o video_svcd.m2v & mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi [1] 21535 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007 INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbi...@fr...>, yuvscaler -h for help, or man yuvscaler INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION! MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team Playing ezcap0001.avi. libavformat version 58.76.100 (external) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 kbyte/s) Error opening/initializing the selected video_out (-vo) device. No stream found. Exiting... (End of file) janos@andraslinux ~/tmp $ ls ezcap0001.avi stream.yuv I don't understand. if I issue command janos@andraslinux ~/tmp $ mplayer ezcap0001.avi MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team Playing ezcap0001.avi. libavformat version 58.76.100 (external) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 800x592 24bpp 30.000 fps 896.5 kbps (109.4 kbyte/s) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 58.134.100 (external) [mpeg4 @ 0x7ff6ba3a8f60]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe. Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== Load subtitles in ./ ========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is undefined - no prescaling applied. VO: [xv] 800x592 => 800x592 Planar YV12 Movie-Aspect is 1.35:1 - prescaling to correct movie aspect. VO: [xv] 800x592 => 800x592 Planar YV12 A: 16.2 V: 16.2 A-V: -0.001 ct: 0.012 486/486 27% 0% 0.9% 17 0 Exiting... (Quit) janos@andraslinux ~/tmp $ the file starts to play almost imediately in a new window, perfectly with sound and picture. So the video-out (-vo) device works automatically with mplayer. Janos P.S. I'm sending this message from my other email address, a mailserver on my fitlet machine where I try glav, etc. On Thu, 06 Oct 2022 08:06:19 -0400 "Janos G. Komaromi" <ja...@ja...> wrote: > -------- Forwarded Message -------- > From: Bernhard Praschinger <ber...@gr...> > To: Janos G. Komaromi <ja...@ja...>, MJPEG-tools user list > <mjp...@li...> > Subject: Re: [Mjpeg-users] glav error opening .avi file > Date: Thu, 6 Oct 2022 06:27:00 +0200 > Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 > Firefox/68.0 SeaMonkey/2.53.13 > > Hallo, > > mkfifo creates a file where one file/process reads it's content, and > another process puts data into. You need is when program data can't > pipe > direct to each other. So you create the named pipe. You start > afterwards > the process that reads the data and as last step you put the data into > it. > > The commands for the video would than be in one terminal window: > > mkfifo stream.yuv > > cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o > video_svcd.m2v & > > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi > > Don't forget to add the & in the 2nd line to start the process in the > background. You don't need to start mplayer in the background. > > For audio: > > mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi > > cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 > > Afterwards mutiplex the files together with: > mplex -f 4 sound.mp2 video_svcd.m2v -o SVCD.mpg > > You have then a encoded MPEG file with ist suitable for SVCD. You > need to change the commands for you need. > What do you want with the AVI file ? > > If you encounter errors please add the output to the mail. > > Janos G. Komaromi wrote: > > Hi Bernie, thanks for your answer. Sorry, I have not been doing > > video edits lately, so I need a little more help. Lat time I used > > Cinelerra for video edit on my old FC-3 desktop. > > > > I tried > > Quote > > > mkfifo stream.yuv > > > >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 > > > -o > > > video_svcd.m2v > > > >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg > > > > > > For Audio: > > > >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > > > > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 > > > > > Unquote > > > > but did not get far. > > > > My video clip is "ezcap0001.avi" as shown in DETAILS below. What are > > the exact commands I need to issue? How do I make the "stream.yuv"? > > If > > I just issue the command "mkfifo stream.yuv" it creates a zero byte > > pipe file that the next command uses: "cat stream.yuv | > > yuvdenoise.... > > etc", but it does not do anything. And what is the "anyfile.mpg" > > output? Is it the file that can be edited with glav? If it is only > > the > > picture content of my video how the edited version will be > > synchronized > > with the unedited sound part of the original clip? > > > > Sorry, these may be stupid questions but I'd like to understand the > > whole thing better. OK, there is the RTFM principle, and I read > > MJPEG HOWTO document 4.1 through 4.3 but still don't know how to > > edit my "ezcap0001.avi" video file with glav. > > > > PLease, explain - Janos > > P.S. tried other opensource linux video editors on my Gentoo > > machine, but openshot does not run, and could not compile flowblade > > yet. I like > > the simplicity of your glav. > > > > On Thu, 2022-09-29 at 19:20 +0200, Bernhard Praschinger wrote: > > ... > > > > > > > > DETAILS: > > > > janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi > > > > lavplay2.2.1 > > > > lavtools version 2.2.1 > > > > --DEBUG: [lavplay] Opening video file ezcap0001.avi ... > > > > **ERROR: [lavplay] Error opening ezcap0001.avi > > > > > > > > janos@andraslinux ~/tmp $ file ezcap0001.avi > > > > ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 > > > > fps, > > > > video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) > > > > > > > > janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi > > > > ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg > > > > developers > > > > built with gcc 11.3.0 (Gentoo 11.3.0 p4) > > > > ... > > > > Input #0, avi, from 'ezcap0001.avi': > > > > Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s > > > > Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / > > > > 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 > > > > fps, 30 > > > > tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / > > > > 0x0055), > > > > 44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a > > > > few > > > > AVI Codecs. For example: dvvideo > > > and mjpeg it can't decode the encoded MPEG4 > > > > > > I don't know if ffmpeg can decode it in a format the mjpegtools > > > understand. But mplayer can (should) do it, here is are example > > > commands > > > for video: > > > >mkfifo stream.yuv > > > >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f > > > 4 -o > > > video_svcd.m2v > > > >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg > > > > > > For Audio: > > > >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > > > > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 > > > > > > You find a section in the: mjpegtools manpage called: Decoding > > > streams > > > with mplayer that should explain it in more detail. I hope the > > > program > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: ber...@gr... > www: http://www.lysator.liu.se/~gz/bernhard |
From: Bernhard P. <ber...@gr...> - 2022-10-06 04:27:18
|
Hallo, mkfifo creates a file where one file/process reads it's content, and another process puts data into. You need is when program data can't pipe direct to each other. So you create the named pipe. You start afterwards the process that reads the data and as last step you put the data into it. The commands for the video would than be in one terminal window: > mkfifo stream.yuv > cat stream.yuv │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o video_svcd.m2v & > mplayer -nosound -noframedrop -vo yuv4mpeg ezcap0001.avi Don't forget to add the & in the 2nd line to start the process in the background. You don't need to start mplayer in the background. For audio: > mplayer -vo null -ao pcm:file=audio.wav ezcap0001.avi > cat audio.wav │ mp2enc -v 2 -V -o sound.mp2 Afterwards mutiplex the files together with: mplex -f 4 sound.mp2 video_svcd.m2v -o SVCD.mpg You have then a encoded MPEG file with ist suitable for SVCD. You need to change the commands for you need. What do you want with the AVI file ? If you encounter errors please add the output to the mail. Janos G. Komaromi wrote: > Hi Bernie, thanks for your answer. Sorry, I have not been doing video > edits lately, so I need a little more help. Lat time I used Cinelerra > for video edit on my old FC-3 desktop. > > I tried > Quote >> mkfifo stream.yuv >> >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o >> video_svcd.m2v >> >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg >> >> For Audio: >> >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg >> > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 >> > Unquote > > but did not get far. > > My video clip is "ezcap0001.avi" as shown in DETAILS below. What are > the exact commands I need to issue? How do I make the "stream.yuv"? If > I just issue the command "mkfifo stream.yuv" it creates a zero byte > pipe file that the next command uses: "cat stream.yuv | yuvdenoise.... > etc", but it does not do anything. And what is the "anyfile.mpg" > output? Is it the file that can be edited with glav? If it is only the > picture content of my video how the edited version will be synchronized > with the unedited sound part of the original clip? > > Sorry, these may be stupid questions but I'd like to understand the > whole thing better. OK, there is the RTFM principle, and I read MJPEG > HOWTO document 4.1 through 4.3 but still don't know how to edit my > "ezcap0001.avi" video file with glav. > > PLease, explain - Janos > P.S. tried other opensource linux video editors on my Gentoo machine, > but openshot does not run, and could not compile flowblade yet. I like > the simplicity of your glav. > > On Thu, 2022-09-29 at 19:20 +0200, Bernhard Praschinger wrote: > ... >>> >>> DETAILS: >>> janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi >>> lavplay2.2.1 >>> lavtools version 2.2.1 >>> --DEBUG: [lavplay] Opening video file ezcap0001.avi ... >>> **ERROR: [lavplay] Error opening ezcap0001.avi >>> >>> janos@andraslinux ~/tmp $ file ezcap0001.avi >>> ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 >>> fps, >>> video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) >>> >>> janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi >>> ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers >>> built with gcc 11.3.0 (Gentoo 11.3.0 p4) >>> ... >>> Input #0, avi, from 'ezcap0001.avi': >>> Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s >>> Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / >>> 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 >>> fps, 30 >>> tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), >>> 44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few >>> AVI Codecs. For example: dvvideo >> and mjpeg it can't decode the encoded MPEG4 >> >> I don't know if ffmpeg can decode it in a format the mjpegtools >> understand. But mplayer can (should) do it, here is are example >> commands >> for video: >> >mkfifo stream.yuv >> >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o >> video_svcd.m2v >> >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg >> >> For Audio: >> >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg >> > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 >> >> You find a section in the: mjpegtools manpage called: Decoding >> streams >> with mplayer that should explain it in more detail. I hope the >> program auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G. K. <ja...@ja...> - 2022-10-03 16:13:36
|
Hi Bernie, thanks for your answer. Sorry, I have not been doing video edits lately, so I need a little more help. Lat time I used Cinelerra for video edit on my old FC-3 desktop. I tried Quote >mkfifo stream.yuv > >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o > video_svcd.m2v > >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg > > For Audio: > >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 > Unquote but did not get far. My video clip is "ezcap0001.avi" as shown in DETAILS below. What are the exact commands I need to issue? How do I make the "stream.yuv"? If I just issue the command "mkfifo stream.yuv" it creates a zero byte pipe file that the next command uses: "cat stream.yuv | yuvdenoise.... etc", but it does not do anything. And what is the "anyfile.mpg" output? Is it the file that can be edited with glav? If it is only the picture content of my video how the edited version will be synchronized with the unedited sound part of the original clip? Sorry, these may be stupid questions but I'd like to understand the whole thing better. OK, there is the RTFM principle, and I read MJPEG HOWTO document 4.1 through 4.3 but still don't know how to edit my "ezcap0001.avi" video file with glav. PLease, explain - Janos P.S. tried other opensource linux video editors on my Gentoo machine, but openshot does not run, and could not compile flowblade yet. I like the simplicity of your glav. On Thu, 2022-09-29 at 19:20 +0200, Bernhard Praschinger wrote: ... > > > > DETAILS: > > janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi > > lavplay2.2.1 > > lavtools version 2.2.1 > > --DEBUG: [lavplay] Opening video file ezcap0001.avi ... > > **ERROR: [lavplay] Error opening ezcap0001.avi > > > > janos@andraslinux ~/tmp $ file ezcap0001.avi > > ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 > > fps, > > video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) > > > > janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi > > ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers > > built with gcc 11.3.0 (Gentoo 11.3.0 p4) > > ... > > Input #0, avi, from 'ezcap0001.avi': > > Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s > > Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / > > 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 > > fps, 30 > > tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), > > 44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few > > AVI Codecs. For example: dvvideo > and mjpeg it can't decode the encoded MPEG4 > > I don't know if ffmpeg can decode it in a format the mjpegtools > understand. But mplayer can (should) do it, here is are example > commands > for video: > >mkfifo stream.yuv > >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o > video_svcd.m2v > >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg > > For Audio: > >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 > > You find a section in the: mjpegtools manpage called: Decoding > streams > with mplayer that should explain it in more detail. I hope the > program > > I did a quick check it should work. Please test it and let us know if > it > worked. > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: ber...@gr... > www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G. K. <ja...@ja...> - 2022-09-29 20:26:37
|
Thanks, Bernie. I understand. Greetings, Janos -- Janos G. Komaromi sent it NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, #@*~| etc. - neither of those https://jgklinux.jankom.net/ On Thu, 2022-09-29 at 19:20 +0200, Bernhard Praschinger wrote: > Hallo, > > > I have not been doing video stuff for a few years, but now as a > > retiree > > I wanted to digitize my old videos from magnetic tapes. I have a > > neat > > gizmo that creates an .avi file from VHS video and stereo inputs on > > a > > micro sd card. The created .avi file plays well with vlc. > That kind of device is what I would use this day's too. > > > Here is my issue and request for help. > > > > I try to make some very basic editing of the digitized .avi file, > > but > > ran into a problem. I studied my older posts, notes, but am still > > stuck. It looks like the.avi file created with the digitizing gizmo > > is > > too sophisticated for lavplay or glav - see below. Do I need to > > trans- > > code the .avi file, and how? Thank you for your attention - Janos > > > > As a side note: could you please add another email address to this > > mailing list. It is the address on the mail server running on my > > Fitlet > > machine - ja...@an... > > > > DETAILS: > > janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi > > lavplay2.2.1 > > lavtools version 2.2.1 > > --DEBUG: [lavplay] Opening video file ezcap0001.avi ... > > **ERROR: [lavplay] Error opening ezcap0001.avi > > > > janos@andraslinux ~/tmp $ file ezcap0001.avi > > ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 > > fps, > > video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) > > > > janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi > > ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers > > built with gcc 11.3.0 (Gentoo 11.3.0 p4) > > ... > > Input #0, avi, from 'ezcap0001.avi': > > Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s > > Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / > > 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 > > fps, 30 > > tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), > > 44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few > > AVI Codecs. For example: dvvideo > and mjpeg it can't decode the encoded MPEG4 > > I don't know if ffmpeg can decode it in a format the mjpegtools > understand. But mplayer can (should) do it, here is are example > commands > for video: > >mkfifo stream.yuv > >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o > video_svcd.m2v > >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg > > For Audio: > >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 > > You find a section in the: mjpegtools manpage called: Decoding > streams > with mplayer that should explain it in more detail. I hope the > program > > I did a quick check it should work. Please test it and let us know if > it > worked. > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: ber...@gr... > www: http://www.lysator.liu.se/~gz/bernhard |
From: Bernhard P. <ber...@gr...> - 2022-09-29 17:35:54
|
Hallo, > I have not been doing video stuff for a few years, but now as a retiree > I wanted to digitize my old videos from magnetic tapes. I have a neat > gizmo that creates an .avi file from VHS video and stereo inputs on a > micro sd card. The created .avi file plays well with vlc. That kind of device is what I would use this day's too. > Here is my issue and request for help. > > I try to make some very basic editing of the digitized .avi file, but > ran into a problem. I studied my older posts, notes, but am still > stuck. It looks like the.avi file created with the digitizing gizmo is > too sophisticated for lavplay or glav - see below. Do I need to trans- > code the .avi file, and how? Thank you for your attention - Janos > > As a side note: could you please add another email address to this > mailing list. It is the address on the mail server running on my Fitlet > machine - ja...@an... > > DETAILS: > janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi > lavplay2.2.1 > lavtools version 2.2.1 > --DEBUG: [lavplay] Opening video file ezcap0001.avi ... > **ERROR: [lavplay] Error opening ezcap0001.avi > > janos@andraslinux ~/tmp $ file ezcap0001.avi > ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 fps, > video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) > > janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi > ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers > built with gcc 11.3.0 (Gentoo 11.3.0 p4) > ... > Input #0, avi, from 'ezcap0001.avi': > Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s > Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / > 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 fps, 30 > tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), > 44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few AVI Codecs. For example: dvvideo and mjpeg it can't decode the encoded MPEG4 I don't know if ffmpeg can decode it in a format the mjpegtools understand. But mplayer can (should) do it, here is are example commands for video: >mkfifo stream.yuv >cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o video_svcd.m2v >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg For Audio: >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg > cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2 You find a section in the: mjpegtools manpage called: Decoding streams with mplayer that should explain it in more detail. I hope the program I did a quick check it should work. Please test it and let us know if it worked. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |
From: Janos G. K. <ja...@ja...> - 2022-09-27 14:00:56
|
Hi friends, I have not been doing video stuff for a few years, but now as a retiree I wanted to digitize my old videos from magnetic tapes. I have a neat gizmo that creates an .avi file from VHS video and stereo inputs on a micro sd card. The created .avi file plays well with vlc. I used to have an old desktop with Fedora-3 and then CentOS, but I retired that old friend, and have now a nice little Fitlet2 machine that I can recommend to anyone. It is almost as small as a smart phone, and I use my old keyboard and LCD screen with it. It runs Gentoo linux with my custom twm window manager. I have installed most of the stuff from my old desktop, including mjpegtools, ffmpeg, etc. on it. Here is my issue and request for help. I try to make some very basic editing of the digitized .avi file, but ran into a problem. I studied my older posts, notes, but am still stuck. It looks like the.avi file created with the digitizing gizmo is too sophisticated for lavplay or glav - see below. Do I need to trans- code the .avi file, and how? Thank you for your attention - Janos As a side note: could you please add another email address to this mailing list. It is the address on the mail server running on my Fitlet machine - ja...@an... DETAILS: janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi lavplay2.2.1 lavtools version 2.2.1 --DEBUG: [lavplay] Opening video file ezcap0001.avi ... **ERROR: [lavplay] Error opening ezcap0001.avi janos@andraslinux ~/tmp $ file ezcap0001.avi ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 11.3.0 (Gentoo 11.3.0 p4) ... Input #0, avi, from 'ezcap0001.avi': Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, fltp, 64 kb/s -- Janos G. Komaromi sent it NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, #@*~| etc. - neither of those https://jgklinux.jankom.net/ |
From: Abhijeet S. <abh...@gm...> - 2022-08-24 12:08:08
|
No problem, I understand. On Wed, 24 Aug, 2022, 3:18 pm Hans Verkuil, <hve...@xs...> wrote: > Hi Abhijeet, > > Thank you for the zoran patches, unfortunately these are a duplicate of > > > https://patchwork.linuxtv.org/project/linux-media/patch/202...@xs.../ > > I wish I'd noticed your patches earlier, it would have saved me some work > :-( > > I'm marking your patches Obsoleted in patchwork. > > Regards, > > Hans > > On 21/07/2022 17:00, Abhijeet Srivastava wrote: > > Warning found by checkpatch.pl script. > > > > Signed-off-by: Abhijeet Srivastava <abh...@gm...> > > --- > > drivers/staging/media/zoran/zoran_card.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/staging/media/zoran/zoran_card.c > b/drivers/staging/media/zoran/zoran_card.c > > index 26f978a1cc72..0c138d47d0c3 100644 > > --- a/drivers/staging/media/zoran/zoran_card.c > > +++ b/drivers/staging/media/zoran/zoran_card.c > > @@ -1038,9 +1038,9 @@ static int zr36057_init(struct zoran *zr) > > zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev, > > BUZ_NUM_STAT_COM * sizeof(u32), > > &zr->p_sc, GFP_KERNEL); > > - if (!zr->stat_com) { > > + if (!zr->stat_com) > > return -ENOMEM; > > - } > > + > > for (j = 0; j < BUZ_NUM_STAT_COM; j++) > > zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable > to zr36057 */ > > > |
From: Hans V. <hve...@xs...> - 2022-08-24 09:49:17
|
Hi Abhijeet, Thank you for the zoran patches, unfortunately these are a duplicate of https://patchwork.linuxtv.org/project/linux-media/patch/202...@xs.../ I wish I'd noticed your patches earlier, it would have saved me some work :-( I'm marking your patches Obsoleted in patchwork. Regards, Hans On 21/07/2022 17:00, Abhijeet Srivastava wrote: > Warning found by checkpatch.pl script. > > Signed-off-by: Abhijeet Srivastava <abh...@gm...> > --- > drivers/staging/media/zoran/zoran_card.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c > index 26f978a1cc72..0c138d47d0c3 100644 > --- a/drivers/staging/media/zoran/zoran_card.c > +++ b/drivers/staging/media/zoran/zoran_card.c > @@ -1038,9 +1038,9 @@ static int zr36057_init(struct zoran *zr) > zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev, > BUZ_NUM_STAT_COM * sizeof(u32), > &zr->p_sc, GFP_KERNEL); > - if (!zr->stat_com) { > + if (!zr->stat_com) > return -ENOMEM; > - } > + > for (j = 0; j < BUZ_NUM_STAT_COM; j++) > zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ > |
From: Mauro C. C. <mc...@ke...> - 2022-07-22 19:25:37
|
Em Fri, 22 Jul 2022 20:52:29 +0200 Philipp Hortmann <phi...@gm...> escreveu: > On 7/22/22 20:26, Abhijeet Srivastava wrote: > > Deleted part of code in block comment > > > > Signed-off-by: Abhijeet Srivastava <abh...@gm...> > > --- > > drivers/staging/media/zoran/zoran_driver.c | 9 --------- > > 1 file changed, 9 deletions(-) > > > > diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c > > index b408c1d4e0a7..836edf623571 100644 > > --- a/drivers/staging/media/zoran/zoran_driver.c > > +++ b/drivers/staging/media/zoran/zoran_driver.c > > @@ -746,11 +746,6 @@ static const struct v4l2_ioctl_ops zoran_ioctl_ops = { > > .vidioc_enum_input = zoran_enum_input, > > .vidioc_g_input = zoran_g_input, > > .vidioc_s_input = zoran_s_input, > > - > > -/* .vidioc_enum_output = zoran_enum_output, > > - * .vidioc_g_output = zoran_g_output, > > - * .vidioc_s_output = zoran_s_output, > > - */ > > .vidioc_g_std = zoran_g_std, > > .vidioc_s_std = zoran_s_std, > > .vidioc_create_bufs = vb2_ioctl_create_bufs, > > @@ -762,13 +757,9 @@ static const struct v4l2_ioctl_ops zoran_ioctl_ops = { > > .vidioc_streamon = vb2_ioctl_streamon, > > .vidioc_streamoff = vb2_ioctl_streamoff, > > .vidioc_enum_fmt_vid_cap = zoran_enum_fmt_vid_cap, > > -/* .vidioc_enum_fmt_vid_out = zoran_enum_fmt_vid_out,*/ > > .vidioc_g_fmt_vid_cap = zoran_g_fmt_vid_cap, > > -/* .vidioc_g_fmt_vid_out = zoran_g_fmt_vid_out,*/ > > .vidioc_s_fmt_vid_cap = zoran_s_fmt_vid_cap, > > -/* .vidioc_s_fmt_vid_out = zoran_s_fmt_vid_out,*/ > > .vidioc_try_fmt_vid_cap = zoran_try_fmt_vid_cap, > > -/* .vidioc_try_fmt_vid_out = zoran_try_fmt_vid_out,*/ > > .vidioc_subscribe_event = v4l2_ctrl_subscribe_event, > > .vidioc_unsubscribe_event = v4l2_event_unsubscribe, > > }; > > Why does the subject line start with "media:" The subsystem is > "staging:" so the subject should start with "staging: media: ..." > > I have no clue if this is accepted. The subsystem is media. The drivers for both drivers/media and drivers/staging/media have the same maintainers. The "staging" is just a place where we place stuff that are either not ready for upstream or are under deprecation. So, we expect that all subjects start with media:. I prefer if they don't have "staging" at the subject, as makes the driver logs more coherent when they're moved in/out staging dir. Regards, Mauro |