[SOLVED] ffmpeg help

Hi,
I'm  failing to create a (approx) 10 sec video from a (approx) 25 sec one.
As can be seen the resultant file is WAY too small.
Please advise!
Thnaks
----------copy of terminal------------
$ ffmpeg -i out.mp4 -ss 00:04:18 -t 00:10:46 -async 1 -strict -2 out2.mp4
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 28 2013 21:49:15 with gcc 4.8.2 (GCC) 20131219 (prerelease)
configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Duration: 00:00:25.03, start: 0.000000, bitrate: 9122 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1280x720 [SAR 1:1 DAR 16:9], 8990 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
handler_name : SoundHandler
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0xe529a0] using SAR=1/1
[libx264 @ 0xe529a0] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 0xe529a0] profile High, level 3.1
[libx264 @ 0xe529a0] 264 - core 138 r2363 c628e3b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> aac)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead 509.302326%
miki ~/Chuli $ ls -l
total 56264
-rw-r--r-- 1 miki users 29063772 Dec 31 2013 Chuli_Badt.MOV
-rw-r--r-- 1 miki users 185 Dec 31 11:28 Chuli_Badt2.MOV
-rw-r--r-- 1 miki users 28536839 Dec 31 11:37 out.mp4
-rw-r--r-- 1 miki users 262 Dec 31 12:24 out2.mp4
Last edited by mibadt (2013-12-31 14:22:13)

Why are you re-encoding instead of simply re-muxing? Using stream copy mode:
ffmpeg -i out.mp4 -ss 4 -t 10 -codec copy out2.mp4

Similar Messages

  • After update iPhone4 to iOS6, its stuck, showing only USB to iTunes on the screen. What to do, how to solve problem, help

    after update iPhone4 to iOS6, its stuck, showing only USB to iTunes on the screen. What to do, how to solve problem, help 

    Connect your phone to iTunes on your computer like the diagram has indicated and restore the phone

  • "Solved" and "Helpful" options

    I've been posting on here for a while now, mostly offering help to others, rather than asking questions.
    Mostly I can work through issues myself.
    Recently I helped a poster and actually solved a problem, by their own admission. However they didn't tick the options "Solved" or "Helpful" so I prompted them to do so.
    My request for them to do so was removed by moderators.
    I do not feel this is constructive and more effort should be put in by the moerator to make the forum work correctly and to give people like myslef more incentive to carry on helping people where possible.
    Obviously it's always nice to be able to solve an issue somebody is having, that's actually the business I'm in, but I think it's unreasonable to see that people aren't using the points system and then not allowing that fact to be brought to their attention.
    I help...they say I've helped...my profile increases...everyone is happy.

    Dave --
    IMHO, this iteration of the AD Boards (last 4-5 years or so, since Jive), has been evolving ever since it was established.
    The Hosts rarely respond directly to concerns, but they do pay attention.
    There have been lots of improvements made that came from the posters here.
    I believe that the "new" version of the AD Boards will more effectively encourage posters to remember to become more active in awarding ratings. Have you read this post by Eric W, at the top of the Feedback Forum Start Page? http://discussions.apple.com/thread.jspa?threadID=2540747
    +- Score!+
    +It’s Easy to Earn your Apple Support Communities Rep. +
    +The Apple Support Communities reputation system helps increase community participation. When you recognize another community member for providing helpful advice or a solution to a question, you help increase his or her status level within the community. And they can do the same for you. While it may be better to give (an answer) than to receive (reputation points), at Apple Support Communities, rewards come in both forms.+
    +Want Status? Answer. Recognize. Reward. Learn More.+

  • Error messages when trying to mark response as "solved" or "helpful"

    For about 3 weeks I receive error messages when I try to mark any responses to my questions as "helpful" or "solved." I've posted the error message below.
    Is there a way for me to solve this? I have been unable to find contact info for a system admin.
    Error
    An error in the system has occurred. Please contact the system administrator if the problem persists.
    Useful links :
    * Forum Home -- browse the forums here.
    * Search Forums -- visit the search page to query all forum content.

    The Hosts are aware of the problem and have posted an announcement at the top of this Forum, promising the problem will be fixed this week.

  • [SOLVED :)] Need help with adf table row selection

    Hi,
    In my application I am displaying results in a table. The DisplayRow property of table is set to Selected
    There are Next and Back buttons which help user to view details associated to the next/previous rows.
    I am using ADF 11g
    When user clicks Next or Previous button, then the selection of the row should also gets updated
    To achieve this i wrote below piece of code:
    this.tblS.getSelectedRowKeys().clear();+
    this.tblS.setRowIndex(count);+
    RowKeySet rks =  tblS.getSelectedRowKeys();+
    rks.add(tblS.getRowKey());+
    rks =  tblS.getSelectedRowKeys();+
    ISSUE:_
    When i run application and click Next/Previous Button, all functionalities do take place properly, but a null pointer exception is also thrown._+
    If i remove DisplayRow property of table from Selected to Default, every thing works good and no Exception is thrown_+       
    But as records in my table are going to be around 50-60 everytime, i need to set DisplayRow property of table to Selected.
    Is there any way to achieve this? Solve this problem?
    Some more details:_
    I am using a POJO class to create DataController. This DataController is having a view Object which is used to create results table.
    I have defined Primary key for my POJO Data Controller.
    Here is code of xml file:*
    +<?xml version="1.0" encoding="UTF-8" ?>+
    +<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.52.5"+
    id="ProductListBean" Package="xxadf.mm.resources"
    BeanClass="xxadf.mm.resources.ProductListBean"
    isJavaBased="true">
    +<Attribute Name="Product" Type="java.lang.String" PrimaryKey="true"/>+
    +<Attribute Name="Stock" Type="java.lang.String"/>+
    +<Attribute Name="Rate" Type="java.lang.String"/>+
    +<Attribute Name="Accuracy" Type="java.lang.String"/>+
    +<Attribute Name="Details" Type="java.lang.String"/>+
    +<ConstructorMethod IsCollection="true"+
    Type="xxadf.mm.resources.ProductListBean"
    BeanClass="xxadf.mm.resources.ProductListBean"
    id="ProductListBean"/>
    +</JavaBean>+
    Error Log:*
    SEVERE: Server Exception during PPR, #1
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.model.binding.RowDataManager.getRowIndex(RowDataManager.java:200)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.getRowIndex(FacesCtrlHierBinding.java:506)
    at org.apache.myfaces.trinidad.component.UIXIterator._fixupFirst(UIXIterator.java:414)
    at org.apache.myfaces.trinidad.component.UIXIterator.__encodeBegin(UIXIterator.java:392)
    at org.apache.myfaces.trinidad.component.UIXTable.__encodeBegin(UIXTable.java:168)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:517)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:458)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:618)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:560)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:392)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:641)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:560)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$100(ShowDetailItemRenderer.java:31)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:491)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:464)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:406)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:114)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1523)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.access$500(PanelTabbedRenderer.java:38)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:969)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:920)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer._renderTabBody(PanelTabbedRenderer.java:519)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.encodeAll(PanelTabbedRenderer.java:233)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please Help I have been struggling with this issue for long.
    Thanks and Regards
    Manav Ratra
    Edited by: user11255144 on Feb 8, 2010 5:33 AM

    Hi Arun,
    Thanks for replying.
    Actually in my application there is one result table and a section that is displaying complete details of the product selectd in result table.
    The next/previous buttons are not binded with result table.
    What I am doing is, I am puuliing data from VO and displaying it on form, whenever any of these buttons is clicked.
    As soon as these buttons are clicked data is coming up, but selection state of table is not getting updated.
    So to update selection state i wrote piece of code described in my previous post.
    Everything works fine if displayRow property of table is not set to selected.
    If i set display row property of table to selected, then i get a null pointer exception with message log defined in previous post.
    Although NPE is thrown, yet all data is properly fetched and table selection is also updated. But am not able to get how this NPE is coming and hpw to fix it .
    (I need to keep displayRow = selected, for all other cases NPE is not thrown)
    Please help..
    Thanks and Regards
    Manav Ratra

  • [SOLVED] FFMPEG Using Only 1 Thread

    Greetings,
    I am having a problem that is killing me. I am using ffmpeg-svn from aur, with "-threads 8" on a core i7 and ffmpeg is only using 1 thread. It doesn't matter if I use ffmpeg from extra or "-threads 0". The commands I am using are:
    ffmpeg -y -i movie.h264 -pass 1 -vcodec libx264 -vpre fast_firstpass -b 8192k -bt 1024k -threads 8 -r 24000/1001 -f rawvideo -an -ss 00:30:00 -vframes 2000 /dev/null
    ffmpeg -y -i movie.h264 -pass 2 -vcodec libx264 -vpre fast -b 8192k -bt 1024k -threads 8 -r 24000/1001 -an -ss 00:30:00 -vframes 2000 movie.mp4
    ffmpeg version:
    FFmpeg version SVN-r24856, Copyright (c) 2000-2010 the FFmpeg developers
    built on Aug 20 2010 21:41:07 with gcc 4.5.1
    configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-libmp3lame --enable-libx264 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libvpx --enable-libvorbis --arch=x86_64
    libavutil 50.24. 0 / 50.24. 0
    libavcore 0. 6. 0 / 0. 6. 0
    libavcodec 52.85. 1 / 52.85. 1
    libavformat 52.78. 3 / 52.78. 3
    libavdevice 52. 2. 1 / 52. 2. 1
    libavfilter 1.37. 0 / 1.37. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Where movie.h264 is a raw stream demuxed from a bluray m2ts file. Transcoding HD video with one thread is unbearable. Has anyone else ever had this problem?
    Last edited by demizer (2010-08-21 06:16:33)

    http://aur.archlinux.org/packages.php?ID=5553
    DrZaius wrote:The ./configure option '--enable-pthreads' is redundant because it is now detected automatically:
    $ ./configure --help | grep pthreads
    --disable-pthreads disable pthreads [auto]
    Maybe the package in extra also needs updating, maybe you don't need to explicitly tell ffmpeg how many threads to use and it gets confused.

  • [Solved] ffmpeg records no sound

    I use the following string to record a video with ffmpeg:
    ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s 1920x1080 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 8 output.mkv
    I only have alsa, no PulseAudio or OSS stuff.
    I've been trying everything I managed to find through google but nothing seems to work. General sound output works, I can listen to music and do all my stuff like I'm used to, I just can't get ffmpeg to record my sound.
    Here are logs from aplay and arecord:
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=PCH
    HDA Intel PCH, ALC898 Analog
    Default Audio Device
    sysdefault:CARD=PCH
    HDA Intel PCH, ALC898 Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    Front speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Digital
    IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
    hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
    hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 2: ALC898 Analog [ALC898 Analog]
    Subdevices: 2/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    I'm using the latest ffmpeg-git with x264-git. (I compiled it correctly, so I don't think it's a build issue.)
    I tried using -i default, -i sysdefault and -i plughw:0,0 instead of -i hw:0,0. I also tried various hw:0,1 etc. combinations, because I was fustrated and didn't know how to continue. I also tried recording only the sound, without the video, but nothing works at all.
    Only the video runs perfectly fine. Please help.
    Last edited by HitomiTenshi (2013-03-09 17:59:20)

    Recording sound directly while playing something works with the following .asoundrc script:
    pcm.!default
    type file
    slave.pcm
    type plug
    slave.pcm
    type hw
    card 0
    device 0
    subdevice -1
    file /dev/shm/audio.raw
    format raw
    I then convert the raw file with ffmpeg from RAM. This is extremely annoying though, because the audio file isn't synced to the video. But IT WORKS. I want a solution with ffmpeg though, I have gathered more information, if somebody is interested:
    amixer -c 0 contents
    numid=42,iface=CARD,name='Front Headphone Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=44,iface=CARD,name='Front Mic Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=45,iface=CARD,name='Line Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=40,iface=CARD,name='Line Out CLFE Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=38,iface=CARD,name='Line Out Front Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=41,iface=CARD,name='Line Out Side Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=39,iface=CARD,name='Line Out Surround Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=43,iface=CARD,name='Rear Mic Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=46,iface=CARD,name='SPDIF Phantom Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=47,iface=CARD,name='SPDIF Phantom Jack',index=1
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=37,iface=MIXER,name='Master Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=36,iface=MIXER,name='Master Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=87,step=0
    : values=70
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=12,iface=MIXER,name='Headphone Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=11,iface=MIXER,name='Headphone Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
    : values=87,87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=53,iface=MIXER,name='PCM Playback Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
    : values=255,255
    | dBscale-min=-51.00dB,step=0.20dB,mute=0
    numid=21,iface=MIXER,name='Front Mic Boost Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.00dB,mute=0
    numid=16,iface=MIXER,name='Front Mic Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=15,iface=MIXER,name='Front Mic Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=23,23
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=2,iface=MIXER,name='Front Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=1,iface=MIXER,name='Front Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
    : values=87,87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=4,iface=MIXER,name='Surround Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=3,iface=MIXER,name='Surround Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
    : values=87,87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=7,iface=MIXER,name='Center Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=5,iface=MIXER,name='Center Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=87,step=0
    : values=87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=8,iface=MIXER,name='LFE Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=6,iface=MIXER,name='LFE Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=87,step=0
    : values=87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=18,iface=MIXER,name='Line Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=17,iface=MIXER,name='Line Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=23,23
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=22,iface=MIXER,name='Capture Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=23,iface=MIXER,name='Capture Switch',index=1
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=24,iface=MIXER,name='Capture Switch',index=2
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=25,iface=MIXER,name='Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0
    : values=63,63
    | dBscale-min=-17.25dB,step=0.75dB,mute=0
    numid=26,iface=MIXER,name='Capture Volume',index=1
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0
    : values=63,63
    | dBscale-min=-17.25dB,step=0.75dB,mute=0
    numid=27,iface=MIXER,name='Capture Volume',index=2
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0
    : values=63,63
    | dBscale-min=-17.25dB,step=0.75dB,mute=0
    numid=35,iface=MIXER,name='IEC958 Default PCM Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=31,iface=MIXER,name='IEC958 Playback Con Mask'
    ; type=IEC958,access=r-------,values=1
    : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
    numid=32,iface=MIXER,name='IEC958 Playback Pro Mask'
    ; type=IEC958,access=r-------,values=1
    : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
    numid=33,iface=MIXER,name='IEC958 Playback Default'
    ; type=IEC958,access=rw------,values=1
    : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
    numid=34,iface=MIXER,name='IEC958 Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=19,iface=MIXER,name='Auto-Mute Mode'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'Disabled'
    ; Item #1 'Enabled'
    : values=0
    numid=54,iface=MIXER,name='Digital Capture Volume'
    ; type=INTEGER,access=rw---RW-,values=2,min=0,max=120,step=0
    : values=60,60
    | dBscale-min=-30.00dB,step=0.50dB,mute=0
    numid=28,iface=MIXER,name='Input Source'
    ; type=ENUMERATED,access=rw------,values=1,items=3
    ; Item #0 'Rear Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'Line'
    : values=2
    numid=29,iface=MIXER,name='Input Source',index=1
    ; type=ENUMERATED,access=rw------,values=1,items=3
    ; Item #0 'Rear Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'Line'
    : values=2
    numid=30,iface=MIXER,name='Input Source',index=2
    ; type=ENUMERATED,access=rw------,values=1,items=3
    ; Item #0 'Rear Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'Line'
    : values=2
    numid=20,iface=MIXER,name='Rear Mic Boost Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.00dB,mute=0
    numid=14,iface=MIXER,name='Rear Mic Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=13,iface=MIXER,name='Rear Mic Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=23,23
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=10,iface=MIXER,name='Side Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=9,iface=MIXER,name='Side Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
    : values=87,87
    | dBscale-min=-65.25dB,step=0.75dB,mute=0
    numid=49,iface=PCM,name='Capture Channel Map'
    ; type=INTEGER,access=r----R--,values=2,min=0,max=27,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=48,iface=PCM,name='Playback Channel Map'
    ; type=INTEGER,access=r----R--,values=8,min=0,max=27,step=0
    : values=3,4,0,0,0,0,0,0
    | | TLV size error (257, 8, 0)!
    numid=50,iface=PCM,name='Playback Channel Map',device=1
    ; type=INTEGER,access=r----R--,values=2,min=0,max=27,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=51,iface=PCM,name='Capture Channel Map',device=2
    ; type=INTEGER,access=r----R--,values=2,min=0,max=27,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=52,iface=PCM,name='Capture Channel Map',index=1,device=2
    ; type=INTEGER,access=r----R--,values=2,min=0,max=27,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    Is there any way to add Item 'IEC958 Default PCM' to numid=28,iface=MIXER,name='Input Source'? I tried recording from 'Line' but it doesn't work.
    Am I doing something wrong? I'm still digging mad for a solution, and only the .asoundrc script works this far.
    Last edited by HitomiTenshi (2013-03-09 16:54:16)

  • [SOLVED]please help me with Broadcom Corporation BCM4312 wifi driver

    [SOLVED] see the 4th reply by me:D
    Please friends some one tell me exact steps to make Broadcom Corporation BCM4312 wifi card work in my laptop.
    I want to
                   1)successfully install Broadcom Corporation BCM4312 driver and load it when system boots
                   2)install a good network manager to work with my wifi networks and it should be able to work with my wifi card.
    I just migrated from ubuntu to arch, I really want to know each steps for above issues.
    here is my lspci details
    04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
    (note:I have a broadband internet working, which is connected by LAN port.)
    Last edited by rohu1990 (2010-04-04 03:17:31)

    rohu1990 wrote:
    [SOLVED] I just solved my issue by installing the driver from the broadcom linux driver site here are the steps i followed
    1-Download the driver from http://www.broadcom.com/support/802.11/linux_sta.php
    2-Extract it to a folder in home
    3-Read readme and understand the depedencies and follow the steps to disable the other wifi   modules
                       for me solved with installing :kernal26-headers and base-devel
    4-follow the steps in the read me and make then make install
    5-insert module into kernal
    6-make it automatic to load on startup
    Hope some one find this usefull cheers !!!:)
    I know this will help many people, even though I don't use this card.
    Thing to add to 5 and 6:
    5 - Command: modprobe XXXXX (module name)
    6- Add module name to MODULES=() in /etc/rc.conf

  • [solved]ffmpeg x11grab fail (screencast/streaming)

    So I decided to try and do some live streaming and quickly found a couple of not too complicated guides using ffmpeg, but I get an error and can't seem to find an explanation.
    Command (one of many I've tried):
    ffmpeg -f x11grab -s 1920x1080 -r 30 -i :0.0 -f alsa -ac 2 -i pulse -vcodec libx264 -vpre fast -s 1280x720 -acodec libmp3lame -ab 96k -vol 4096 -ar 22050 -threads 0 -f flv "rtmp://live.justin.tv/app/live_blablablablabla"
    Output:
    ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 7 2012 10:34:18 with gcc 4.6.2 20120120 (prerelease)
    configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
    libavutil 51. 34.101 / 51. 34.101
    libavcodec 53. 60.100 / 53. 60.100
    libavformat 53. 31.100 / 53. 31.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 60.100 / 2. 60.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    [x11grab @ 0x92b5e0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1920 height: 1080
    [x11grab @ 0x92b5e0] shared memory extension found
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 142 (MIT-SHM)
    Minor opcode of failed request: 4 (X_ShmGetImage)
    Serial number of failed request: 11
    Current serial number in output stream: 11
    I've tried doing this in a multitude of ways, but the error is always the same:
    [x11grab @ 0x92b5e0] shared memory extension found
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 142 (MIT-SHM)
    Minor opcode of failed request: 4 (X_ShmGetImage)
    Serial number of failed request: 11
    Current serial number in output stream: 11[
    Quite frankly I haven't got a clue, so please let me know if you've got an explanation.
    So far the only idea I've been able to come up with is that the fact that I run openbox instead of gnome/kde, may have something to do with it. Possibly the proprietary nvidia drivers I'm using could have something to do with it as well I suppose, though I should think it rather odd.
    Best regards.
    Last edited by zacariaz (2012-03-10 04:45:19)

    Wow, a lot of help and I just now got a notice on my email. How is that? Is it only send out once a day or something?
    Anyway, thanks a bunch. I figured out by my self that I didn't have pulseaudio, but whether I want it or need it... Well, I haven't got a clue. I did assume that I could do it without pulse, but I'm still somewhat confused. Worst case scenario I could probably just get pulseaudio up and running, but of course it's confusing as always, messing around with openbox.
    The badmatch error do not imply that the resolution is wrong (at least in my case) and is sorted out by putting the params in the proper order. It's odd but it works.
    Also thanks for the preset tip. I assumed it was something like that, but the manpages are confusing at best, at least for me, so thanks again.
    An no,l do not want lossless video, but my resources are limited. I suppose I misinterpreted the the option.
    So to wrap it all up, it will properly be a few days before I have time to mess around with this again, but I will return whether it goes well or not.
    For those who may wish to offer further advise, here's a few pointers.
    I'm running on a machine with an aging core2 duo (E7400), 4GB RAM, SSD, no swap and a somewhat limited upload (1-1.5 Mbit), so there are a few issues to consider.
    Any advice will be very much appreciated, but for now I'll assume that I can at least get it to work, albeit maybe not great.
    Also would it be wise to encode mp3 instead of aac and how would it be done?
    Best regards.
    Last edited by zacariaz (2012-03-09 10:05:49)

  • ***READ*** iTunes Download and Launch for XP Solved, May Help Others*******

    Well after hours of scouring my computer I have found the answer and solved my problem. People might want to make a note of this because it was simple and much less frustrating then some of the other instructions I have found on here:
    1st- After downloading Itunes I was getting the "itunes encountered a problem and must shut down" error when trying to launch it. I was also getting the "buffer overrun" error when attempting to start Quick Time.
    2- I hit ctrl, Alt, delete to bring up the task manager. I noticed 3 processes running in the background- "iPodService.exe", "iTunesHelper.exe" and "AppleMobileDevic...". this was a surprise to me since I never downloaded iTunes before....HOWEVER I discovered by searching my computer that my 17 year old son had about a year ago. He attempted to uninstall the programs BUT these processes remained even though nothing showed up in the installed programs from start>all programs. Also did not show up in the add/remove installed software. In any event here is what I did:
    I first ended all three processes in task manager. I second went into Start>Search and ran 3 seperate searches for "iPod", "Apple" and "iTunes". Deleted any and all references and dll's. Be careful with the Apple search do not simply select all of your findings and hit delete because applets shows up in the search and u need them for your other programs. Simply delete anything from Apple Computer. Then I ran CCleaner which is available free from www.ccleaner.com. Click on issues and it will give u a laundry list of missing dll's and unused ones. Then by hitting Fix selected issues it safely deletes the registry entries no longer being used. For safety it gives you the option of backing up your registry entries but i have had zero problems doing it. Run that a few times till u get the "No Issues" found message. Then I closed all and redownloaded the new iTunes with quick time and all seems to be working!!! I just got my iPod so im gonna test further but as far as the downloading and opening of the programs on my XP that solved the issue. Hope this helps others.

    teshlachris,
    iTunes, like other applications, will sometimes have issues trying to install from a different admin user than the one used to first install it.
    Did your son install iTunes with a different account? If so, your previous post did not include the fact your son had previously installed iTunes, or I would have suggested trying the install while logged in under his account.
    Hope this helps,
    Nathan C.

  • Email problem. not solved :( please help

    Hi
    My BB can not set up my email account from officebox. is BES account. BB model is curve 9300.
    I can not find there have an icon MAIL and no Enterprise activation inside. What can I do?

    Hello matthewhoyle
    Sorry to hear about your issue. 
    If you are not seeing an Enterprise Activation option on your BlackBerry® smartphone then you may need to contact your wireless service provider to have this feature enabled. Once this option has been enable you will need to contact the BlackBerry Enterprise Server admin to have a password set for you. Once you have the password you can start the activation process. If you are having issues with the activation then you can have a look at the below article for some additional help.
    KB13852 Identifying and troubleshooting issues with the Enterprise Activation process
    Hope this helps, have a good day.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • solved pls help needed in creating template

    hi frs
    i have created a template need some modification to be done my xml output looks like below
    off            hours              q1           q2          q3         avg
    aaa          10                    1            2            3            2
    bbb          20                    2            4             0           3i have done everything but my doubt is while creating avg
    to get average i used the following code
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 3?> i have used div 3 but my requirement is like if any thing is 0 for ex if q1= 2 and q2=4 and q3=0 then my formula for avg is like below
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 2?> like wise if we have values like q1=1 ,q2=0 ,q3=0
    then
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 1?>how to get it.
    pls help.
    thanks
    basa
    Message was edited by:
    Badsha
    Message was edited by:
    Badsha
    Message was edited by:
    Badsha

    Hi,
    I dont know the solution for this, but heres a work arround
    //create new label some where else in the excel sheet as shown below
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                 lblcmbdata = new Label(75, i, (i+1)+" satish", format);
                 sheet1.addCell(lblcmbdata);
    }//set the validation range as shown below
    writableCellFeature.setDataValidationRange(75,0,75,1000);
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);this will create a combo list with 1000 values
    also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
    workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
    // then fill the data in sheet1
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                    lblcmbdata = new Label(0, i, (i+1)+" satish", format);
                    sheet1.addCell(lblcmbdata);
    //set the validation named range as below
    writableCellFeature.setDataValidationRange("cmbdata");
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);Thanks and Regards
    Satish

  • [SOLVED] Need help with rEFInd boot entry for rsync backup

    I made a successful backup my arch install to an other internal SSD disk (from my HDD).
    But now I can't figure out how to make a boot entry for this drive. The wiki only mentions GRUB, which I do not use.
    This is the fstab for my HDD:
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda5
    UUID=c1822e3c-e037-4445-bdd8-b71778237dee / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=SYSTEM_DRV
    UUID=D2DF-9F74 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    And this is the fstab on my SSD which I edited:
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sdb1
    UUID=c61a1301-4728-465d-b40b-bde5e084eb50 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=SYSTEM_DRV
    UUID=D2DF-9F74 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    But I'm not sure about the /boot entry, do I need something else here?
    Afterward I tried updating rEFInd by reinstalling using refind-install, but that did not work.
    ps. I dual boot with Windows.
    Last edited by Devenda (2014-08-18 07:58:07)

    I also tried adding the menu entry manually by editing refind.conf but that didn't work. I got:
    Invalid loader file!
    Error: Not Found while loading vmlinuz-linux
    Here is some additional info:
    refind.conf:
    menuentry "SSD Arch Linux" {
    icon /EFI/refind/icons/os_arch.png
    volume "ArchSSD"
    loader /boot/vmlinuz-linux
    initrd /boot/initramfs-linux.img
    options "root=/dev/sdb1 ro"
    I hope this helps.
    blkid
    /dev/sda1: LABEL="WINRE_DRV" UUID="7C2ADD1D2ADCD4EC" TYPE="ntfs" PARTUUID="b7137819-2ca6-40fb-9167-b73ac37d8d96"
    /dev/sda2: LABEL="SYSTEM_DRV" UUID="D2DF-9F74" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="9c77b526-730f-42f9-9904-f9a31b205687"
    /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="f4d5275b-24c1-4847-b937-345bc23bec89"
    /dev/sda4: LABEL="Windows 8" UUID="38D6E449D6E408C8" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d777a359-f42c-4629-a07c-cc55316352fe"
    /dev/sda5: UUID="c1822e3c-e037-4445-bdd8-b71778237dee" TYPE="ext4" PARTUUID="3d282004-2515-4630-b82e-35ed7f707b89"
    /dev/sda6: UUID="F80680CC06808D76" TYPE="ntfs" PARTUUID="575bc623-c7f1-44da-a79e-220ce3c98d9b"
    /dev/sda7: LABEL="Lenovo_Recovery" UUID="0898D76B98D75632" TYPE="ntfs" PARTUUID="99bfc6d6-1b71-46d1-887e-2f7e65e3eab1"
    /dev/sdb1: LABEL="ArchSSD" UUID="c61a1301-4728-465d-b40b-bde5e084eb50" TYPE="ext4" PARTUUID="e87704a5-01"
    lsblk -f
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    ├─sda1 ntfs WINRE_DRV 7C2ADD1D2ADCD4EC
    ├─sda2 vfat SYSTEM_DRV D2DF-9F74 /boot
    ├─sda3
    ├─sda4 ntfs Windows 8 38D6E449D6E408C8
    ├─sda5 ext4 c1822e3c-e037-4445-bdd8-b71778237dee /
    ├─sda6 ntfs F80680CC06808D76
    └─sda7 ntfs Lenovo_Recovery 0898D76B98D75632
    sdb
    └─sdb1 ext4 ArchSSD c61a1301-4728-465d-b40b-bde5e084eb50
    sr0
    boot tree
    /boot
    ├── BOOT
    │   └── boot.sdi
    ├── BOOTSECT.BAK
    ├── EFI
    │   ├── Boot
    │   │   ├── bootx64.efi
    │   │   ├── LenovoBT.EFI
    │   │   ├── License.txt
    │   │   └── ReadMe.txt
    │   ├── gummiboot
    │   │   └── gummibootx64.efi
    │   ├── Lenovo
    │   │   └── Boot
    │   │   ├── BCD
    │   │   ├── BCD.LOG
    │   │   ├── BCD.LOG1
    │   │   ├── BCD.LOG2
    │   │   ├── bg-BG
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── bootmgfw.efi
    │   │   ├── bootmgr.efi
    │   │   ├── BOOTSTAT.DAT
    │   │   ├── boot.stl
    │   │   ├── cs-CZ
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── da-DK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── de-DE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── el-GR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── en-GB
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── en-US
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── es-ES
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── et-EE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── fi-FI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Fonts
    │   │   │   ├── chs_boot.ttf
    │   │   │   ├── cht_boot.ttf
    │   │   │   ├── jpn_boot.ttf
    │   │   │   ├── kor_boot.ttf
    │   │   │   ├── malgun_boot.ttf
    │   │   │   ├── malgunn_boot.ttf
    │   │   │   ├── meiryo_boot.ttf
    │   │   │   ├── meiryon_boot.ttf
    │   │   │   ├── msjh_boot.ttf
    │   │   │   ├── msjhn_boot.ttf
    │   │   │   ├── msyh_boot.ttf
    │   │   │   ├── msyhn_boot.ttf
    │   │   │   ├── segmono_boot.ttf
    │   │   │   ├── segoen_slboot.ttf
    │   │   │   ├── segoe_slboot.ttf
    │   │   │   └── wgl4_boot.ttf
    │   │   ├── fr-FR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── hr-HR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── hu-HU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── it-IT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ja-JP
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ko-KR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── lt-LT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── lv-LV
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── memtest.efi
    │   │   ├── nb-NO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── nl-NL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pl-PL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-BR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-PT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── qps-ploc
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Resources
    │   │   │   ├── bootres.dll
    │   │   │   └── en-US
    │   │   │   └── bootres.dll.mui
    │   │   ├── ro-RO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── ru-RU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── sk-SK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sl-SI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-CS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sv-SE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── tr-TR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── uk-UA
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── zh-CN
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── zh-HK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   └── zh-TW
    │   │   ├── bootmgfw.efi.mui
    │   │   ├── bootmgr.efi.mui
    │   │   └── memtest.efi.mui
    │   ├── Microsoft
    │   │   └── Boot
    │   │   ├── BCD
    │   │   ├── BCD.LOG
    │   │   ├── BCD.LOG1
    │   │   ├── BCD.LOG2
    │   │   ├── bg-BG
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── bootmgfw.efi
    │   │   ├── bootmgr.efi
    │   │   ├── BOOTSTAT.DAT
    │   │   ├── boot.stl
    │   │   ├── cs-CZ
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── da-DK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── de-DE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── el-GR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── en-GB
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── en-US
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── es-ES
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── et-EE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── fi-FI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Fonts
    │   │   │   ├── chs_boot.ttf
    │   │   │   ├── cht_boot.ttf
    │   │   │   ├── jpn_boot.ttf
    │   │   │   ├── kor_boot.ttf
    │   │   │   ├── malgun_boot.ttf
    │   │   │   ├── malgunn_boot.ttf
    │   │   │   ├── meiryo_boot.ttf
    │   │   │   ├── meiryon_boot.ttf
    │   │   │   ├── msjh_boot.ttf
    │   │   │   ├── msjhn_boot.ttf
    │   │   │   ├── msyh_boot.ttf
    │   │   │   ├── msyhn_boot.ttf
    │   │   │   ├── segmono_boot.ttf
    │   │   │   ├── segoen_slboot.ttf
    │   │   │   ├── segoe_slboot.ttf
    │   │   │   └── wgl4_boot.ttf
    │   │   ├── fr-FR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── hr-HR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── hu-HU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── it-IT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ja-JP
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ko-KR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── lt-LT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── lv-LV
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── memtest.efi
    │   │   ├── nb-NO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── nl-NL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pl-PL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-BR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-PT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── qps-ploc
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Resources
    │   │   │   ├── bootres.dll
    │   │   │   ├── en-US
    │   │   │   │   └── bootres.dll.mui
    │   │   │   └── nl-NL
    │   │   │   └── bootres.dll.mui
    │   │   ├── ro-RO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── ru-RU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── sk-SK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sl-SI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-CS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-RS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sv-SE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── tr-TR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── uk-UA
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── zh-CN
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── zh-HK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   └── zh-TW
    │   │   ├── bootmgfw.efi.mui
    │   │   ├── bootmgr.efi.mui
    │   │   └── memtest.efi.mui
    │   ├── refind
    │   │   ├── icons
    │   │   │   ├── arrow_left.png
    │   │   │   ├── arrow_right.png
    │   │   │   ├── boot_linux.png
    │   │   │   ├── boot_win.png
    │   │   │   ├── func_about.png
    │   │   │   ├── func_exit.png
    │   │   │   ├── func_firmware.png
    │   │   │   ├── func_reset.png
    │   │   │   ├── func_shutdown.png
    │   │   │   ├── os_altlinux.png
    │   │   │   ├── os_arch.png
    │   │   │   ├── os_centos.png
    │   │   │   ├── os_chrome.png
    │   │   │   ├── os_clover.png
    │   │   │   ├── os_debian.png
    │   │   │   ├── os_ecomstation.png
    │   │   │   ├── os_fatdog.png
    │   │   │   ├── os_fedora.png
    │   │   │   ├── os_freebsd.png
    │   │   │   ├── os_freedos.png
    │   │   │   ├── os_funtoo.png
    │   │   │   ├── os_gentoo.png
    │   │   │   ├── os_gummiboot.png
    │   │   │   ├── os_haiku.png
    │   │   │   ├── os_hwtest.png
    │   │   │   ├── os_kubuntu.png
    │   │   │   ├── os_legacy.png
    │   │   │   ├── os_linuxmint.png
    │   │   │   ├── os_linux.png
    │   │   │   ├── os_lubuntu.png
    │   │   │   ├── os_mac.png
    │   │   │   ├── os_mageia.png
    │   │   │   ├── os_mandriva.png
    │   │   │   ├── os_manjaro.png
    │   │   │   ├── os_mythbuntu.png
    │   │   │   ├── os_netbsd.png
    │   │   │   ├── os_openbsd.png
    │   │   │   ├── os_opensuse.png
    │   │   │   ├── os_redhat.png
    │   │   │   ├── os_refind.png
    │   │   │   ├── os_refit.png
    │   │   │   ├── os_slackware.png
    │   │   │   ├── os_suse.png
    │   │   │   ├── os_ubuntu.png
    │   │   │   ├── os_unknown.png
    │   │   │   ├── os_win.png
    │   │   │   ├── tool_apple_rescue.png
    │   │   │   ├── tool_memtest.png
    │   │   │   ├── tool_mok_tool.png
    │   │   │   ├── tool_part.png
    │   │   │   ├── tool_shell.png
    │   │   │   ├── tool_windows_rescue.png
    │   │   │   ├── transparent.png
    │   │   │   ├── vol_external.png
    │   │   │   ├── vol_internal.png
    │   │   │   └── vol_optical.png
    │   │   ├── icons-backup
    │   │   │   ├── arrow_left.png
    │   │   │   ├── arrow_right.png
    │   │   │   ├── boot_linux.png
    │   │   │   ├── boot_win.png
    │   │   │   ├── func_about.png
    │   │   │   ├── func_exit.png
    │   │   │   ├── func_firmware.png
    │   │   │   ├── func_reset.png
    │   │   │   ├── func_shutdown.png
    │   │   │   ├── os_altlinux.png
    │   │   │   ├── os_arch.png
    │   │   │   ├── os_centos.png
    │   │   │   ├── os_chrome.png
    │   │   │   ├── os_clover.png
    │   │   │   ├── os_debian.png
    │   │   │   ├── os_ecomstation.png
    │   │   │   ├── os_fatdog.png
    │   │   │   ├── os_fedora.png
    │   │   │   ├── os_freebsd.png
    │   │   │   ├── os_freedos.png
    │   │   │   ├── os_funtoo.png
    │   │   │   ├── os_gentoo.png
    │   │   │   ├── os_gummiboot.png
    │   │   │   ├── os_haiku.png
    │   │   │   ├── os_hwtest.png
    │   │   │   ├── os_kubuntu.png
    │   │   │   ├── os_legacy.png
    │   │   │   ├── os_linuxmint.png
    │   │   │   ├── os_linux.png
    │   │   │   ├── os_lubuntu.png
    │   │   │   ├── os_mac.png
    │   │   │   ├── os_mageia.png
    │   │   │   ├── os_mandriva.png
    │   │   │   ├── os_manjaro.png
    │   │   │   ├── os_mythbuntu.png
    │   │   │   ├── os_netbsd.png
    │   │   │   ├── os_openbsd.png
    │   │   │   ├── os_opensuse.png
    │   │   │   ├── os_redhat.png
    │   │   │   ├── os_refind.png
    │   │   │   ├── os_refit.png
    │   │   │   ├── os_slackware.png
    │   │   │   ├── os_suse.png
    │   │   │   ├── os_ubuntu.png
    │   │   │   ├── os_unknown.png
    │   │   │   ├── os_win.png
    │   │   │   ├── tool_apple_rescue.png
    │   │   │   ├── tool_memtest.png
    │   │   │   ├── tool_mok_tool.png
    │   │   │   ├── tool_part.png
    │   │   │   ├── tool_shell.png
    │   │   │   ├── tool_windows_rescue.png
    │   │   │   ├── transparent.png
    │   │   │   ├── vol_external.png
    │   │   │   ├── vol_internal.png
    │   │   │   └── vol_optical.png
    │   │   ├── keys
    │   │   │   ├── altlinux.cer
    │   │   │   ├── canonical-uefi-ca.der
    │   │   │   ├── fedora-ca.cer
    │   │   │   ├── openSUSE-UEFI-CA-Certificate.cer
    │   │   │   ├── refind.cer
    │   │   │   └── SLES-UEFI-CA-Certificate.cer
    │   │   ├── refind.conf
    │   │   ├── refind.conf.old
    │   │   ├── refind.conf-sample
    │   │   └── refind_x64.efi
    │   └── tools
    ├── grub
    │   ├── grub.cfg
    │   └── grub.cfg.example
    ├── initramfs-linux-fallback.img
    ├── initramfs-linux.img
    ├── loader
    │   ├── entries
    │   │   └── arch.conf
    │   └── loader.conf
    ├── refind_linux.conf
    └── vmlinuz-linux
    refind_linux.conf
    "Boot with standard options" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee quiet "
    "Boot to single-user mode" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee quiet single"
    "Boot with minimal options" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee"

  • [SOLVED] FFMPEG appears to be trashing bash script variables

    Hi,
    I have a directory containg MP4 files which were downloaded via youtube-dl upon which I want to extract audio using FFMPEG.
    I am using the usual find/while/read/do/done loop to process each file individually. The files were downloaded using Youtube-dl (invoked with --restrict-filenames) so the youtube video ID is recorded within the filename which can then be used to obtain the video title (ie to tag the audio with once extracted, ie ID3).
    Without FFMPEG the loop works as expected as can be seen when using echo, but as soon as I introduce FFMPEG into the loop, no such file or directory errors are reported because the filenames passed to FFMPEG are nonsense and appear to have been trashed, for instance, characters are stripped from the start or end of the filename.
    find . -name '*.mp4' | while read FILE
    do
    FNAME=${FILE%.mp4}
    FID=${FNAME: -11}
    FTITLE=${FNAME%-$FID}
    TITLE=$(youtube-dl --get-title $FID)
    # MP3="${FNAME}.mp3"
    AAC="${FNAME}.aac"
    ffmpeg -i $FILE -vn -acodec copy $AAC
    done
    Frequently green text like so reams down the terminal:
    stream #1:
    keyframe=1
    duration=0.023
    dts=355.033 pts=355.033
    size=252
    Swiftly followed by:
    00000000 21 0a 4f ff ff e0 3f fe a2 c6 b1 41 31 a0 88 41 !.O...?....A1..A
    00000010 28 3e 00 03 d2 15 25 4a 92 17 40 0b e4 f5 4c e5 (>....%[email protected].
    00000020 af 56 45 aa 31 0c eb 87 45 ac 26 54 8a ed c9 b4 .VE.1...E.&T....
    00000030 94 98 ca a8 03 34 aa bf 04 51 38 12 c9 43 80 62 .....4...Q8..C.b
    00000040 5b 16 94 99 20 18 9e cd 55 d0 6c 15 38 13 ce cc [... ...U.l.8...
    00000050 d4 2e 80 3b 10 e9 07 70 bc 23 8c 8c 84 96 8a 38 ...;...p.#.....8
    00000060 29 63 8d 87 75 5e 66 dc fa de 7f 4e 70 b2 44 09 )c..u^f....Np.D.
    00000070 39 c7 30 50 78 2b 6a b0 48 90 ba c4 14 c4 41 5c 9.0Px+j.H.....A\
    00000080 b6 3c 64 38 4d 92 3a b6 d1 01 d3 99 86 d5 54 23 .<d8M.:.......T#
    00000090 2a c4 13 49 61 50 b7 d0 3c 1e 2b 4b 90 c4 32 ae *..IaP..<.+K..2.
    000000a0 bc 6b 57 a6 de df 19 53 8e 38 66 d1 c4 fc a4 d5 .kW....S.8f.....
    000000b0 f9 6f a9 2d 20 6c eb 29 1e 1a ef 96 a6 84 82 63 .o.- l.).......c
    000000c0 0a cc 75 82 14 b4 08 09 fa 11 b8 0d e7 11 80 84 ..u.............
    000000d0 20 31 18 00 05 2a 54 af 46 ac 08 79 b9 a8 11 70 1...*T.F..y...p
    000000e0 f5 c0 2f 88 4b 27 7c a4 fd f9 f1 e4 77 53 c5 4a ../.K'|.....wS.J
    000000f0 d7 74 d1 02 80 46 40 08 16 a1 e7 .t...F@....
    It doesn't matter if the filenames originate from find or redirected from the contents of a text file. Anyone have any suggestions for workarounds?
    Last edited by jwm-art (2014-05-27 21:39:39)

    Self contained example:
    #!/bin/bash
    while read URL
    do
    echo -n "Downloading video from ${URL}... "
    youtube-dl --restrict-filenames "${URL}" --quiet
    if test $? -eq 0; then
    echo "Ok"
    else
    echo "FAIL"
    echo "Aborting..."
    exit
    fi
    done <<YT_URLS
    https://www.youtube.com/watch?v=XqdYnxv01yM
    https://www.youtube.com/watch?v=lX_o5t2YoUE
    https://www.youtube.com/watch?v=V9sI6VEDE5M
    YT_URLS
    find . -name '*.mp4' | while read -r FILE
    do
    echo "-----------------------------------------"
    echo -n "Converting ${FILE} to MP3... "
    MP3="${FILE%.mp4}.mp3"
    echo "${MP3}"
    ffmpeg -loglevel warning -y -i "${FILE}" "${MP3}"
    if test $? -eq 0; then
    echo "Ok"
    else
    echo "FAIL"
    echo "Abortingm..."
    exit
    fi
    echo
    done
    Here's the output on my system:
    $ ../ffmpeg_test
    Downloading video from https://www.youtube.com/watch?v=XqdYnxv01yM... Ok
    Downloading video from https://www.youtube.com/watch?v=lX_o5t2YoUE... Ok
    Downloading video from https://www.youtube.com/watch?v=V9sI6VEDE5M... Ok
    Converting ./Rabbit_City_White_Lable_-_Beyond_Control-lX_o5t2YoUE.mp4 to MP3... ./Rabbit_City_White_Lable_-_Beyond_Control-lX_o5t2YoUE.mp3
    Enter command: <target>|all <time>|-1 <command>[ <argument>]
    Parse error, at least 3 arguments were expected, only 1 given in string 'osmo_Dibs_-_Xultation-V9sI6VEDE5M.mp4'
    debug=1
    debug=2 1984kB time=00:02:06.95 bitrate= 128.0kbits/s
    error parsing debug value
    debug=0
    [output stream 0:0 @ 0xd90b60] EOF on sink link output stream 0:0:default.
    No more output streams to write to, finishing.
    [libmp3lame @ 0xc71de0] Trying to remove 815 more samples than there are in the queue
    size= 6971kB time=00:07:26.12 bitrate= 128.0kbits/s
    video:0kB audio:6971kB subtitle:0 data:0 global headers:0kB muxing overhead 0.004483%
    19212 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 0xd9ff60] Statistics: 2 seeks, 17081 writeouts
    [AVIOContext @ 0xc77200] Statistics: 7082450 bytes read, 176 seeks
    Ok
    The first MP4 file found is converted, but alongside strange unexplained output, and then it just stops. In the first iteration of the second loop how does FFMPEG get hold of the second filename (incomplete, missing first character)? What is the "Enter command" all about? Its all very weird.
    Last edited by jwm-art (2014-05-27 20:17:57)

  • [SOLVED] bash help: rsync only if device mounted

    Hi,
    First bash-script here - the tldp.org-guide has gotten me somewhere already, but the final condition 'if rsync...' seems to fail and I don't know why. The script checks if the location to backup the files to is a mountpoint. If not, the script should mount it or die. If it is a mountpoint, rsync should be run.
    #!/bin/bash
    ## VARIABLES
    # Set location to backup from
    BACKUP_FROM="/srv/media/"
    # Set location to backup to
    BACKUP_TO="/media/backup/media/"
    BACKUP_DEV="e3434573-ad6f-4c44-8168-391292ba5ec5"
    BACKUP_MNT="/media/backup"
    # Log file
    LOG_FILE="/var/log/script_sync_media.log"
    ## SCRIPT
    # Check if the log file exists
    if [ ! -e $LOG_FILE ]; then
    touch $LOG_FILE
    fi
    # Check if the drive is mounted
    if [[ `! mountpoint -q $BACKUP_MNT` ]]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Backup device needed mounting!" >> $LOG_FILE
    # If not, mount the drive
    if [[ `mount -U $BACKUP_DEV $BACKUP_MNT` ]]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Backup device mounted." >> $LOG_FILE
    else
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Unable to mount backup device." >> $LOG_FILE
    exit
    fi
    fi
    # Start entry in the log
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Sync started." >> $LOG_FILE
    # Start sync
    if [[ `rsync -a --delete $BACKUP_FROM $BACKUP_TO` ]]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Sync completed succesfully." >> $LOG_FILE
    else
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Sync failed." >> $LOG_FILE
    fi
    # End entry in the log
    echo "" >> $LOG_FILE
    exit
    It is probably a trivial problem for a bash-professional? The log states 'Sync started.' and immediately 'Sync failed.'...
    Thx.
    Vincent
    Last edited by zenlord (2011-03-05 15:29:41)

    OK, a little bit later than I should have replied, but I have incorporated the tips provided above, and a few other changes:
    * added an extra check for the target dir
    * applied general exit codes
    * added unmount after running the script (which makes the earlier warning if the device nees to be mounted a little superfluous)
    Here goes:
    #!/bin/bash
    ## VARIABLES
    # Set source location
    BACKUP_FROM="/srv/media/"
    # Set target location
    BACKUP_TO="/media/backup/media/"
    BACKUP_DEV="xxxxxxx-xxxxx-xxxxxxxxxxxxxxx" #UUID of the disk
    BACKUP_MNT="/media/backup"
    # Log file
    LOG_FILE="/var/log/script_sync_media.log"
    ## SCRIPT
    # Check that the log file exists
    if [ ! -e "$LOG_FILE" ]; then
    touch "$LOG_FILE"
    fi
    # Check that source dir exists and is readable.
    if [ ! -r "$BACKUP_FROM" ]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to read source dir." >> "$LOG_FILE"
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to sync." >> "$LOG_FILE"
    echo "" >> "$LOG_FILE"
    exit 1
    fi
    # Check that target dir exists and is writable.
    if [ ! -w "$BACKUP_TO" ]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to write to target dir." >> "$LOG_FILE"
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to sync." >> "$LOG_FILE"
    echo "" >> "$LOG_FILE"
    exit 1
    fi
    # Check if the drive is mounted
    if ! mountpoint "$BACKUP_MNT"; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - WARNING: Backup device needs mounting!" >> "$LOG_FILE"
    # If not, mount the drive
    if [ mount -U "$BACKUP_DEV" "$BACKUP_MNT" ]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Backup device mounted." >> "$LOG_FILE"
    else
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to mount backup device." >> "$LOG_FILE"
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to sync." >> "$LOG_FILE"
    echo "" >> "$LOG_FILE"
    exit 1
    fi
    fi
    # Start entry in the log
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Sync started." >> "$LOG_FILE"
    # Start sync
    if rsync -a -v --delete "$BACKUP_FROM" "$BACKUP_TO" &>> "$LOG_FILE"; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Sync completed succesfully." >> "$LOG_FILE"
    else
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: rsync-command failed." >> "$LOG_FILE"
    echo "$(date "+%Y-%m-%d %k:%M:%S") - ERROR: Unable to sync." >> "$LOG_FILE"
    echo "" >> "$LOG_FILE"
    exit 1
    fi
    # Unmount the drive so it does not accidentally get damaged or wiped
    if [ umount "$BACKUP_MNT" ]; then
    echo "$(date "+%Y-%m-%d %k:%M:%S") - Backup device unmounted." >> "$LOG_FILE"
    else
    echo "$(date "+%Y-%m-%d %k:%M:%S") - WARNING: Backup device could not be unmounted." >> "$LOG_FILE"
    fi
    # End entry in the log
    echo "" >> "$LOG_FILE"
    exit 0
    Usage:
    1. c/p to a .sh-file
    2. Make the file executable (chmod +x <file>.sh)
    3. set an entry in crontab to run this script daily/weekly/monthly
    Maybe this little script helps other bash newbies...
    Last edited by zenlord (2012-09-23 21:08:32)

Maybe you are looking for

  • Terrmap.jsp is not working (mapviewer 10.1.3)

    Hi I cannot seem to get the terrmap demo to work. All I get is this error: Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for det

  • Word 2011 for Mac: Advanced question regarding the navigation pane--aka sidebar

    Hi everyone-- I'm a new Mac owner, with a Macbook Pro 13" 2.4 GHz Intel Core i5, with 8GB RAM, 256GB storage. I'm operating on the latest OS (Maverick), freshly purchased from the Apple store today (July 5, 2014). Can you help me figure out if there

  • Cscript.exe for running a program in config manager 2012 R2

    Hi, I have packages and have program in it to install software. I have created a .wsf script to install a software with switch. Ts downloads the package but fails to execute the program to install software using cscript.exe filename.wsf. I am giving

  • Failing nodes over results in a 2 minute gap where "nothing" is done

    We're on 3.7.1.9 and I'm testing a reconfiguration of our storage nodes on new hardware with adjusted heap sizing etc. Our primary use of coherence is as a distributed cache with clients having near caches. We don't use it as a data grid and therefor

  • Lost iPad and want to turn off 3G plan

    Sadly I have lost my iPad and have no way to track it. I am paying for a 3G plan that has automatic renewal. How do I cancel that without the iPad to do it on?