[opensuse] cinelerra on 11.4 won't render though ffmpeg pipe. Work OK with mpeg2enc pipe??
Guys, I'm having problems with cinelerra. I have a simple 8 second sequence of 4 images I need to render. Cinelerra will not render with ffmpeg, but the mpeg2enc pipe works -- what gives? The error I get is something like: int YUVStream:: write_frame(uint8_t**):write_frame() failed:system error (failed read/write) Here is a screenshot of the error (yep, full host.domain info this time :) http://www.3111skyline.com/dl/suse/bugs/114/cinelerra/yumstream-write-error.... The setting for the render are: http://www.3111skyline.com/dl/suse/bugs/114/cinelerra/render-settings.jpg and the setting for ffmpeg are the default DVD: http://www.3111skyline.com/dl/suse/bugs/114/cinelerra/ffmpeg-settings.jpg I really don't understand what I'm missing or how I've managed to mess this up. Anybody with cinelerra experience have any ideas? I have the following installed: cinelerra-2.1.5cv20110222-1.pm.27.13.x86_64 ffmpeg-0.8.4.git.20110927-1.1.x86_64 Thanks for any help you can give. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 04 Oct 2011 18:08:32 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote: <snipped>
I really don't understand what I'm missing or how I've managed to mess this up. Anybody with cinelerra experience have any ideas? I have the following installed:
cinelerra-2.1.5cv20110222-1.pm.27.13.x86_64 ffmpeg-0.8.4.git.20110927-1.1.x86_64
Hi David, I'm not seeing anything useful in your settings or errors pics, but I do notice you're running ~-1.pm.27.13 vs. my ~-1.pm.27.14 and your ffmpeg version is non-Packman (tsk tsk) :-) and older, ~-0.8.4 vs. my 0.8.5. My guess is there's a good chance your problems will go away if you standardize your multimedia libraries to the latest Packman packages released for the version of openSUSE that you're running. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/04/2011 07:39 PM, Carl Hartung wrote:
I really don't understand what I'm missing or how I've managed to
mess this up. Anybody with cinelerra experience have any ideas? I have the following installed:
cinelerra-2.1.5cv20110222-1.pm.27.13.x86_64 ffmpeg-0.8.4.git.20110927-1.1.x86_64
Hi David,
I'm not seeing anything useful in your settings or errors pics, but I do notice you're running ~-1.pm.27.13 vs. my ~-1.pm.27.14 and your ffmpeg version is non-Packman (tsk tsk) :-) and older, ~-0.8.4 vs. my 0.8.5.
My guess is there's a good chance your problems will go away if you standardize your multimedia libraries to the latest Packman packages released for the version of openSUSE that you're running.
hth& regards,
Carl, I thought you were on to something :) But... switching all to packman didn't change the error :( I installed the following: cinelerra-2.1.5cv20110222-1.pm.27.14.x86_64 ffmpeg-0.8.5-0.pm.1.1.x86_64 I get the same error trying to render to DVD using ffmpeg: int YUVStream:: write_frame(uint8_t**):write_frame() failed:system error (failed read/write) This looks like a some data type mismatch in ffmpeg or cinelerra?? Maybe ffmpeg. I just tried to run it on the command line to test join the jpg files together and got a 'floating point exception' (my command line may be wrong, but here is what I tried): the ../still directory contents is: black-RVP-R.jpg black-RVP-RV.jpg black-RVP-RVP-full.jpg black-RVP-RVP.jpg black-RVP-white.jpg black-screen.jpg the CLI was: 09:09 alchemy:~/mmedia/video/res/still> ffmpeg -f image2 -i black*.jpg video.mpg ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 3 2011 01:59:29 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-debug --disable-stripping --enable-libgsm --enable-libschroedinger --enable-libdirac --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads --enable-librtmp WARNING: library configuration mismatch avfilter configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --shlibdir=/usr/lib64 --disable-stripping --enable-pthreads --enable-shared --enable-avfilter --disable-static --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-postproc --enable-shared --enable-libdc1394 --enable-libtheora --enable-libschroedinger --enable-libvpx --enable-gpl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 43. 6 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, image2, from 'black-RVP-R.jpg': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], 25 tbr, 25 tbn, 25 tbc [buffer @ 0x64e5e0] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [buffer @ 0x630140] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [buffer @ 0x65a480] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [buffer @ 0x65f400] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [buffer @ 0x6600e0] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: Incompatible pixel format 'yuvj420p' for codec 'mpeg1video', auto-selecting format 'yuv420p' [buffer @ 0x660dc0] w:720 h:480 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [buffersink @ 0x661160] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x6619c0] w:720 h:480 fmt:yuvj420p -> w:720 h:480 fmt:yuv420p flags:0x4 [mpeg @ 0x64e6a0] VBV buffer size not set, muxing may fail Output #0, image2, to 'black-RVP-RV.jpg': Metadata: encoder : Lavf53.4.0 Stream #0.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Output #1, image2, to 'black-RVP-RVP-full.jpg': Metadata: encoder : Lavf53.4.0 Stream #1.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Output #2, image2, to 'black-RVP-RVP.jpg': Metadata: encoder : Lavf53.4.0 Stream #2.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Output #3, image2, to 'black-RVP-white.jpg': Metadata: encoder : Lavf53.4.0 Stream #3.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Output #4, image2, to 'black-screen.jpg': Metadata: encoder : Lavf53.4.0 Stream #4.0: Video: mjpeg, yuvj420p, 720x480 [PAR 72:72 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Output #5, mpeg, to 'video.mpg': Metadata: encoder : Lavf53.4.0 Stream #5.0: Video: mpeg1video, yuv420p, 720x480 [PAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Stream #0.0 -> #1.0 Stream #0.0 -> #2.0 Stream #0.0 -> #3.0 Stream #0.0 -> #4.0 Stream #0.0 -> #5.0 Press [q] to stop, [?] for help Floating point exception Hmm... the 'WARNING: library configuration mismatch' mismatch stands out, but I'm not sure that is the problem. You see anything odd? I don't know what is error is other than something is hosed in the ffmpeg I have. What's it look like to you? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/05/2011 09:17 AM, David C. Rankin wrote:
Carl,
I thought you were on to something :) But... switching all to packman didn't change the error :( I installed the following:
cinelerra-2.1.5cv20110222-1.pm.27.14.x86_64 ffmpeg-0.8.5-0.pm.1.1.x86_64
Oh, by the way, my original packages were from videolan... They have the same versions you have now. I'll give those a try. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 05 Oct 2011 09:19:45 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
On 10/05/2011 09:17 AM, David C. Rankin wrote:
Carl,
I thought you were on to something :) But... switching all to packman didn't change the error :( I installed the following:
cinelerra-2.1.5cv20110222-1.pm.27.14.x86_64 ffmpeg-0.8.5-0.pm.1.1.x86_64
Oh, by the way, my original packages were from videolan... They have the same versions you have now. I'll give those a try.
Hi David, Pardon the direct reply but I wanted to attach a trimmed screencap of the repositories I have configured on my system. Now that I think about it, I had the exact same problem with ffmpeg some time ago. I was testing all the audio / video tools that I could get my hands on, the goal being to reduce that collection to a core set of 'tried and true' tools to learn and use. I even wrote Packman's Cinelerra maintainer, who updated the code so it would work with my nVidia card; he turned hardware acceleration 'on', which was great :-) but in the process I learned that there are subtle differences between some Packman and videolan packages. Each maintainer is locked into these differences to maintain compatibility with their respective package sets. He specifically told me not to 'mix and match' between the two. I'd bet you have a library pulled in from videolan that is conflicting with one or more packages from Packman. I would try removing both repositories, downgrading everything to 'stock' openSUSE and then adding Packman again to install these packages. hth & regards, Carl
On 10/05/2011 10:41 AM, Carl Hartung wrote:
I'd bet you have a library pulled in from videolan that is conflicting with one or more packages from Packman.
I would try removing both repositories, downgrading everything to 'stock' openSUSE and then adding Packman again to install these packages.
hth& regards,
Thanks for the repositories Carl. It looks like I may have run into a cinelerra bug new in cinelerra-2.1.5cv20110222-1.pm. I have been able to render my video with both mpeg2enc and ffmpeg, but only using: ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -f mpeg2video % will allow ffmpeg to work. Using 'dvd -ilme -ildct -hq' fails with the int YUVStream:: write_frame(uint8_t**):write_frame() failed:system error (failed read/write) error. The problem I am having (on both openSuSE and Arch) is that the rendered video (.m2v files) is garbage, see: http://www.3111skyline.com/dl/img/misc/dv/ffmpeg-image.jpg I just talked with the cinelerra devs and tested exporting the video as 'raw dv' which worked fine, so there is something wrong with either the defaults in cinelerra or in ffmpeg itself. The video I'm working with is digital video which for some reason will not render even though it plays perfectly in cinelerra. So I'm still stuck at the render stage. I was able to render the collection of stills I had with both mpeg2enc and ffmpeg - both fine. Cinelerra is a fantastic editor, so I'm motivated to get the rendering to work. No to figure out how to encode it with ffmpeg from the cli... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Wed, 05 Oct 2011, David C. Rankin wrote:
09:09 alchemy:~/mmedia/video/res/still> ffmpeg -f image2 -i black*.jpg video.mpg
FWIW as an alternative: mencoder -of mpeg -mpegopts=format=dvd -fps 0.5 -ofps 25 -mf fps=25 \ -ovc lavc -lavcopts vcodec=mpeg2video \ -vf harddup -o video.mpg 'mf://black*.jpg' Use other -ofps OFPS / -mf fps=OFPS values for ntsc, the parameter -fps IPFS controls how long each picture is shown, i.e. IFPS = 1 / SECONDS_TO_SHOW_PIC here, IFPS = 1 / 2 = 0.5. HTH, -dnh -- 3rd Law of Computing: Anything that can go wr fortune: Segmentation violation -- Core dumped -- from a post by Simon Cozens -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 5 Oct 2011 23:11:17 +0200 David Haller <dnh@opensuse.org> wrote:
Hello,
On Wed, 05 Oct 2011, David C. Rankin wrote:
09:09 alchemy:~/mmedia/video/res/still> ffmpeg -f image2 -i black*.jpg video.mpg
FWIW as an alternative:
mencoder -of mpeg -mpegopts=format=dvd -fps 0.5 -ofps 25 -mf fps=25 \ -ovc lavc -lavcopts vcodec=mpeg2video \ -vf harddup -o video.mpg 'mf://black*.jpg'
Use other -ofps OFPS / -mf fps=OFPS values for ntsc, the parameter -fps IPFS controls how long each picture is shown, i.e.
IFPS = 1 / SECONDS_TO_SHOW_PIC
here, IFPS = 1 / 2 = 0.5.
HTH, -dnh
Thanks for the tips, David. I just /love/ adding stuff like this to my cli examples / snippets / cheat sheet directory. :-) regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/05/2011 07:13 PM, Carl Hartung wrote:
On Wed, 5 Oct 2011 23:11:17 +0200 David Haller<dnh@opensuse.org> wrote:
Hello,
On Wed, 05 Oct 2011, David C. Rankin wrote:
09:09 alchemy:~/mmedia/video/res/still> ffmpeg -f image2 -i black*.jpg video.mpg
FWIW as an alternative:
mencoder -of mpeg -mpegopts=format=dvd -fps 0.5 -ofps 25 -mf fps=25 \ -ovc lavc -lavcopts vcodec=mpeg2video \ -vf harddup -o video.mpg 'mf://black*.jpg'
Use other -ofps OFPS / -mf fps=OFPS values for ntsc, the parameter -fps IPFS controls how long each picture is shown, i.e.
IFPS = 1 / SECONDS_TO_SHOW_PIC
here, IFPS = 1 / 2 = 0.5.
HTH, -dnh
Thanks for the tips, David. I just /love/ adding stuff like this to my cli examples / snippets / cheat sheet directory. :-)
regards,
Carl
+1 David, Carl, I have a work-around, but no direct solution yet. I haven't had time to fully test, but there were new cinelerra and ffmpeg packages out today on Arch. On opensuse, I can export to raw dv and then use ffmpeg on the command line to encode to dvd - works fine. Just the simple 'ffmpeg -i <infile.dv> -y -target ntsc-dvd <outfile.mpg>' I still don't have an answer as to what the issue is exporting from cinelerra to .m2v is, but I'll have more time after the weekend to look. Thanks for your help. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carl Hartung
-
David C. Rankin
-
David Haller