Encoding flac with xbmc

Hi,
I'm having a unique issue, maybe someone knows how to resolve it. 
I'm using xbmc to encode whole audio CD's into flac files.  I've been slowly working through my collection when I noticed some flac files are huge, around 150 gigabytes in size.  The average 5 minute music track should result in a flac file 25 to 35 megabytes in size.  What's wierd is that they play fine.  For a 5 minute audio track, it shouldn't be 150 gigabytes in size.  Also I've noticed although it's shown as 150 gigabytes in size (from both the commandline and filemanager), it doesn't actually take up that space on my hard drive.  I can copy the file from the commandline to another drive and it takes just a few seconds.
I'm guessing here, but somehow during the encoding process the encoder stored the wrong file size, or gave the wrong information to the filesystem?  I've dismouted the drive, and forced a fsck on it.  No problems found, and after mounting the disk again, the large flac files are still the same size.
Has anyone else experienced this behaviour with either xbmc encoding flac (or ogg / mp3) files, or, using faac from the commandline to encode wav files?
Jacob
using: xbmc 10.1-1 from Community

.:B:. wrote:
I read your report 'totally' . You didn't mention what file system you were using, so it was worth a guess (just like it would have been worth mentioning in your opening post, since you obviously tested it but left us in the dark about that ). So yes, it pretends to be 150 GB large, but it's not taking up that space. There is a discrepancy there that has to be accounted for somewhere, and that's exactly what seems to be happening to some btrfs users - albeit not that large. I haven't seen Ext4 to exhibit that kind of problems, or JFS, or XFS, so that probably leaves Xbmc indeed. Maybe it is allocating space but not using it?
Is there a particular reason why you are using Xbmc? There are tools like Grip/Rubyripper (and even EAC through Wine, a de facto standard) to rip your music. Does Xbmc support the same features those dedicated ripping utilities do? E.g. online and offline integrity verification of the resulting FLAC/WAV file?
My suggestion would be to ditch Xbmc for the ripping and use one of the specialised programs. If you really want to get to the bottom of this you should check on the Xbmc forum or in their #xbmc-linux IRC channel, or even open a ticket on their bugtracker.
As for your posting in the other subforum, please read the description of the forum where you originally posted in:
A place for true innovation. Share your own created utilities with the Arch community.
Hi, I didn't believe the filesystem was the issue, so I didn't put that information in, my mistake not to have posted results which didn't happen to be the issue. 
The reason I am using XBMC is simple.  I am creating a media center for a friend who's never used Linux before (barely uses a computer), and I wanted the simplicity of an all-on-one program.  From my days as a teacher, I can say that if someone isn't familiar with a computer, asking them to learn a few different programs is harder than mastering just one.  So, in that regard XBMC is a specialised program, and I cannot find a better / more supported media center program.  But I digress my reasons for choosing XBMC don't play a part in determining the problem I am faced with.
If it was a matter of integrity checking, flac files store their md5 sum inside.  If the sum is off the player will refuse to play the file, it would give error.  Also, decoding the flac file to a wav file would fail.  This is not the case, as the huge flac files both play and decode to proper sized wav files.  So something is a miss with xbmc's flac creation mechanism, and I'm trying to determine if I'm either missing a dependency or if there is a problem with Arch's XBMC package.
Looking at the other "subforum" (as you call it), "Community Contributions",  the title below it is "A place for true innovation. Share your own created utilities with the Arch community."  Since the XBMC package comes from the Community Repo, it seemed like the place to put my topic.  It still seems like the place that it should go in.  If I am trying to get the attention of the XBMC package developer and the people who use Arch's Community XBMC package (my target audience for this problem) then "Community Contributions" is still the best subforum to get the problem noticed, and possible resolved.  Placing me in "Multimedia and Games" is definately not the right place to be, as XMBC is not a game nor is the issue multimedia based (i.e. faac/faad package based), but in fact a problem with how XBMC is creating / writing flac files.  I would still like my topic back in it's original subforum for best noticibility and results.
I have both enabled XBMC's logging and am monitoring it's output as I write this message, and am going to join the irc channel on freenode when I have more debug information.  I was however hoping to first get Arch's Community response as I'd hate to make mountains out of molehills.  But it seems I must dig really deep, as my topic isn't getting noticed as it's been moved from the proper subforum.
Jacob
Last edited by Jacob (2011-03-23 19:17:58)

Similar Messages

  • Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    You MUST have a 64bit computer... what is your computer?
    Adobe's MINimums http://helpx.adobe.com/premiere-pro/system-requirements.html
    -Programs won't display if they will not install on your computer
    -http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html

  • Acquire encoder position with Motion and DAQ

    Hi,
    I am trying to acquire an encoder position with Motion. It seems impossible to set the frequency of the acquisition with Motion and I must poll for the position in a do-while loop.
    I have read in a lot of threads that one can use RTSI lines to retrieve encoder position with a DAQ Board though it is acquired with a Motion board. But there are no examples at all about this.
    To sum up, I need to send Encoder Phase A to RTSI0, Encoder PhaseB to RTSI1 (which I already do), retrieve info with a DAQ device and then calculate rpm.
    Christophe
    PS: please don't answer with measure angular position.vi or explain me in what this Vi can help me

    Hi Christophe,
    I'm not sure I understood well what you need. You have the angular position and you need to know the timing, am I right? Can you use an other counter on your card to get the period (or the frequency) of your signal? From that, I think you should be able to calculate the velocity.
    I hope this helps,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • H264 encoding issue with FlashPlayer 11

    Hi,
    When encoding live in h264 with the FP 11  then playing it live on another client (through FMS r) the video sometimes (1/3 of times) has major skips or jerks. It's almost as if the video goes back to some older keyframes and then returns to live. Same experience with non-h264 produces smooth video.
    If the server (FMS ) records the video, the replay looks smooth, which is strange because I would have assumed the FP was not encoding well with H264.
    Has anyone had this issue? please reply
    Thank you.

    Hi,
    When encoding live in H264 with the FP 11  then playing it live on another client (through FMS r) the video sometimes (1/3 of times) has major skips or jerks. It's almost as if the video goes back to some older keyframes and then returns to live. Same experience with non-h264 produces smooth video.
    If the server (FMS ) records the video, the replay looks smooth, which is strange because I would have assumed the FP was not encoding well with H264.
    Has anyone had this issue? please reply
    Thank you.

  • Adobe Encoder crash with a r6025 pure virtual function since last update and Aero enabled

    Adobe Encoder crash with a r6025 pure virtual function call when I export most of my sequences (mostly multicam sequences) to it when Aero is enabled. Everything was working fine before the 7.1 update.
    Any solution for that?

    Adobe Media Encoder has its own forum. You might have more success getting help there: http://forums.adobe.com/community/ame

  • How does adobe encoder work with windows 8?  I can't get it to work.

    How does adobe encoder work with windows 8?  I cant get it to work.

    Flash Media Live Encoder doesn't work with Windows 8.
    The best it gets is Windows 7 64 bit.

  • Encoding  video with NERO 7

    Anyone here use NERO 7 to encode video with the IPOD-AVC profile or IPOD profile? curious about success or not..

    The AVC or Advanced Video Codec / H.264 the MPEG-4 Standard is as smooth as glass. Very hardware intensive and time consuming depending on the size of your file. I reserve this for music videos and family video that I have captured to DVI. I am running a Windows machine dedicated to video work, P4 HT 3.6 overclocked to 4.1 and running liquid cooling and 4Gb of Ram.

  • Some encoded files with subtitle and other are not

    I just encoded a few videos files with Nokia Video Manager. and all files b4 encoding are with subtitles(*.smi) in one same folder. I played encoded files and some results are with subtitles. (I didn't set up the video manager program to inserted the subtitles into final encoded files. also there is no option I can make insert subtitles in). and rest of files are not with subtitles. now I wanna make all files with subtitles. how make all files with subtitles?

    Short answer is I don't know.
    The way I get files with Subtitles is by Ripping the DVD with ImTOO DVD ripper, in the selections I select the audio track and Subtitle from the DVD to be used during the encoding. Then the resulting video has the subtitles built in.
    I can't get Nokia Video Manager to work reliably for me so I don't use it.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • Does Flash Media Live Encoder work with all the blackmagic-Design Decklink Studio?

    Does Flash Media Live Encoder work with all the Blackmagic-Design Decklink Studio?

    Well, I have my XH A1 Canon video camera hooked up to Shuttle Thundbolt as composite and the thunderbolt to my Macbook Pro (Late 2011 - 2.4GHz, i7, 16GB Ram) and FLM 3.2 does not see my camera.
    When I hook my same camera up to my Windows i7, 2.8Ghz, 8GB Ram using my "Hauppauge capture card" as composite it can see my camera.
    I'm going to try a simple VHS tape deck and see if my macbook pro can see it using the Shuttle Thunderbolt. I'm going to guess and say it won't.
    I installed the drivers as well.
    Evan

  • Read encoder signal with 9201

    Hi
    I have a quite uncommon problem. I need to acquire the encoder signal with a NI-9201 (analogue module).
    Is this even possible? Of course I saw I that I should use a NI-9401 but my chassis is full...
    I already tryed to acquire impulse signals with such a module but they were slower.
    Thanks for any help.
    Yves

    Hi Yves,
    when you acquire data from an encoder, do you mean a quadrature encoder or rotary encoder?
    This encoder generates a binary or digital signal.
    Of course, you can always acquire a digital signal with an analog input module. This isn't recommended and necessary when you can use a pre-built api in the palettes for digital modules.
    When there is no free slot you can think about an expension chassis or a single carrier. This depense on your application.
    How did you acquired the slower signal until now?
    Kind Regards,
    Philipp K. | NI-Germany

  • Setting up a remote with ir-tables for use with XBMC

    My main goal is to use a remote with xbmc, but I'm having issues.
    Issue #1 (main problem): The directional keys and enter will work but no other keys seem to register.
    Issue #2: Even the keys that work have this weird usage issue, where pressing any of the same key twice loses the second key press. For example clicking up arrow 4 times results in only two actual "up's" being done. (first up works, second fails, third works, forth fails, etc)
    I've spent about four hours getting to this point and there is a lot of conflicting information out there on this subject which has had me very confused, but at this point I assume I can ignore any mention of Lirc as it seems like its not needed and if ir-keytable is used correctly things should just work?
    Quote from www.lirc.org: "Recent linux kernels make it possible to use some IR remote controls as regular input devices"
    What I have got/done:
    Machine: Zotac Zbox Nano AD10 with remote.
    Linux: Manjaro Openbox Addition
    Testing in applications: XBMC, Leafpad, Terminal
    [david@zotac ~]$ dmesg | grep CIR
    [    4.444693] ite_cir: Auto-detected model: ITE8704 CIR transceiver
    [    4.444701] ite_cir: Using model: ITE8704 CIR transceiver
    [    4.478490] input: ITE8704 CIR transceiver as /devices/virtual/rc/rc0/input8
    [    4.478531] rc0: ITE8704 CIR transceiver as /devices/virtual/rc/rc0
    [david@zotac ~]$ ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event6) with:
            Driver ite-cir, table rc-rc6-mce
            Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
            Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
            Name: ITE8704 CIR transceiver
            bus: 25, vendor/product: 1283:0000, version: 0x0000
            Repeat delay = 500 ms, repeat period = 500 ms
    #My keymaps file contains (I just put the keys that I would like to use with xmbc)
    0x8034045b KEY_RIGHT
    0x8034045a KEY_LEFT
    0x8034045c KEY_ENTER
    0x80348459 KEY_DOWN
    0x80340458 KEY_UP
    0x80348421 KEY_R
    0x80340420 KEY_F
    0x80348410 KEY_EQUAL
    0x80348483 KEY_ESC
    0x80348431 KEY_X
    0x8034842f KEY_T
    0x803404cb KEY_I
    0x8034845d KEY_M
    0x8034042c KEY_P
    0x80340411 KEY_MINUS
    I write my keymaps file: (I think /etc/keymaps/[file] would be a better location for this file but it shouldn't matter is that correct?)
    ir-keytable -c -w /home/david/Documents/keymaps --device=/dev/input/event6 --period=500 --delay=500
    I can verify the settings are registered:
    [david@zotac ~]$ ir-keytable --read --device=/dev/input/event6
    scancode 0x80340411 = KEY_MINUS (0x0c)
    scancode 0x80340420 = KEY_F (0x21)
    scancode 0x8034042c = KEY_P (0x19)
    scancode 0x80340458 = KEY_UP (0x67)
    scancode 0x8034045a = KEY_LEFT (0x69)
    scancode 0x8034045b = KEY_RIGHT (0x6a)
    scancode 0x8034045c = KEY_ENTER (0x1c)
    scancode 0x803404cb = KEY_I (0x17)
    scancode 0x80348410 = KEY_EQUAL (0x0d)
    scancode 0x80348421 = KEY_R (0x13)
    scancode 0x8034842f = KEY_T (0x14)
    scancode 0x80348431 = KEY_X (0x2d)
    scancode 0x80348459 = KEY_DOWN (0x6c)
    scancode 0x8034845d = KEY_M (0x32)
    scancode 0x80348483 = KEY_ESC (0x01)
    At this point is seems like everything is setup correctly but like I said only the direction keys and return work. If it did work my next step would be determining when to issue the ir-keytable write, and I'm assuming I can just do that in openbox's autostart file?
    Does anyone have any ideas as to what I might do to correct these issues?

    I also encountered davevallance's issue #1.  Directional and enter keys already work, as do volume keys.  If any other button is mapped to those working keys (using ir-keytable) then they also work, for example I can successfully map the useless "teletext" to "enter" and it produces a linefeed when pressed but I cannot get it to do the same with "space".  Interestingly it does produce a space keypress in a virtual terminal (Ctrl+Alt+F3), also "ir-keytable -t" shows the correct key event which proves the underlying OS is recognising the mapping.  The issue is somewhere in the X system instead.
    I refer now to HID Remotes which covers the situation well.  It explains that X does not process keycodes above 255 and at first that would seem to fit here.  All the keys which work (arrows, enter, volume) have keycodes less than 255.  So why don't other 'safe' keycodes work too?
    Xorg has it's own keycode map with "xmodmap" but I don't think that is responsible in this case.  From the Arch wiki it suggests exploring with:
    xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
    Unmapped keys should produce a "NoSymbol" message but for my non-working keys there is no response at all in X.  Is there another layer between kernal and GUI?

  • Recording (encoding) MP3 with JMF

    Hi all,
    I'm not sure to be the first one, but I ask anyway.
    Does anybody out there have a solution how to record (encode) MP3 with only using JMF.
    Your help will be highly appreciated !!!!!!
    Kind regards
    aro

    I havent installed that plugin but i can decode (play) mp3 files with jmf.
    So, i suppose it was for encoding.
    If anyone has proved the plugin... ?
    Anyway you can use fobs project or jffmpeg.

  • Encoder interfaced with NI-9401

    I have purchased an encoder which has open collector and 3.3 Kohm pull-up resistor (TTL) as its logic output.
    The encoder comes with four leads: +5V power, GND, Channel A and Channel B. Both Channel A and Channel B are logic output.
    Channel A and Channel B are connected to the DIO of NI-9401 which is mounted on cRIO.
    A standard VI for encoder counting is used and compiled under the FPGA environment.
    During the measurement, I observed that there are significant loss count in both encoder direction.
    I do not think that there is any problem with the VI as I have used it quite a few times on encoders with RS422 logic output.
    Is there any problem with my current encoder in terms of its electrical interface with NI-9401?
    Thanks.
    Solved!
    Go to Solution.

    I'm new to labview fpga.
    I used the code (attached). with cRIO-9076,NI-9401
    Observation:1) ON FPGA VI: Position count value is not incrementing,the values shown are either 0,-1 or 1
                          2) ON HOST VI: As velocity & acceleration calculations are depending on count in fixed velocity interval ,that are also showing random values
    Que:
         1. what are  floating point to fixed point conversion issues in LV-2102?
         2.what should be the value of velocity fixed interval ?
         3. how can use this velocity data in dc motor pid speed control with NI-9401 without using NI-9505 dc brushed drive?
         4. Is SCTL necessary? 
     Also: i need information regarding 1.how to create .exe ?
                                                                2.how to make crio standalone ?

  • AME encodes queue with "Media Offline" screen

    Hi, sometimes AME encodes files with media offline screen, even though the files exist, while im batch encoding a bunch of videos. im wondering what i could do about that, or if there is any way to make AME postpone encoding a video that has any media offline? it is annoying because i wake up after leaving the thing on to encode overnight and find that some of the files have not encoded properly and have to reencode them. also it annoying because i cant trust that they will come out right and have to check every single file, frame by frame..
    thanks in advance
    -murphy

    In AME preferences, uncheck the beckbox named "Import Sequences natively" and let us know if that works.
    Unlike PPro, AME doesn't do media relinking so that could be one of the potential causes for this problem.
    Another cause could be that you installed plugins in PPro that you didn't put in AME plugins folder.
    Anyhow, please try unchecking that checkbox and let us know more details about your workflow - like what plugins you are using, what codecs are in your sources, what effects you are using, etc.
    Also, if you don't want to encode media offline, there is a checkbox in preferences called "Don't encode sources containing offline media"

  • IOS 5.1 AAC encoded music with "High Efficiency" is not playing

    Hello to all,
    Since I upgraded my iPhone 4 to iOS 5.1, m4a tracks encoded in AAC with "High Efficiency" profile are NOT playing.
    The tracks are playing correctly in iTunes on my MacBook Pro but they are not playing on the iPhone.
    This is a serious and annoying bug because there are millions of users out there who encoded tjeir music this way.
    So, now what? Do I have to re-encode my entire music library using the "Low Complexity" profile from the source CD's, again ???

    Hello,
    i saw no better result, but i did find a solution : i did buy an App reading flac encoded music. Part of my library was flac, part m4a aac+ ... i did rework from my Cds the m4a in flac, (400 in around one month) and that's done ... bad new : it takes more place on the phone ... good new : the sound is always perfect, as it's lossless and free of any brand (not an other m4a) ... good new (2) : i do encode only once (for my Tvix Dvico and my Iphone), so it's faster.
    I think that Apple does not want to pay (anymore) for the Poiko codec, and that's why it does not work anymore since IOS5 ... there was in the (far) past a similar situation with a mp3+ (enhanced) created by Thompson ... very good but noone wanting to pay for it, so not used anymore 
    The iTunes App Flac Player was around 8 euros and works well (not perfect, but good) and the small equalizer is fine. So that's a quick and not so expensive solution (compared to the amount of music not readable).
    I don't thank Apple for this functionnal downgrade, it's anything but fair, but i'm back now in a free situation (no link to a Apple dedicated codec), and then may be more free to choose between I5 and S3 at the end of this year.
    I hope that  this can help someone in a similar situation.
    Regards,
    Lampro

Maybe you are looking for

  • Can't boot Lion on my new WD7500BPVT HDD

    Hello everybody, I've recently purchased a new Western Digital WD7500BPVT HDD for my MacBook Pro 15" Mid 2009 with 8GB RAM to do a clean install of Lion. I've created a bootable USB drive with Lion and it installs perfectly in around 15 minutes. But

  • How do I open a .pub file sent via email

    I received an email attachment with a .pub file extension, but my MAC can't open it. I saw that some users had success with  ZamZar or Adobe sites, but I can't access them since the file won't download. Any ideas?

  • Java.rmi.MarshalException when getting a Connection from DataSource

    Hi, folks! Whenever I try to get a Connection from a DataSource, I´ve got the following Exception: "java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:      org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe CORBA MAR

  • Firefox is repeatedly DESTROYING my website Bookmarks; will not 'Restore' ANY Bookmarks

    Firefox is repeatedly DESTROYING my website Bookmarks; will not 'Restore' ANY Bookmarks!! This has happened several times in the past week (late-June, 2014) This is OUTRAGEOUS, CYNICAL, SADDISTIC, INCOMPETENT, MEAN-SPIRITED - on Firefox-Mozilla's par

  • Will this kill my hard drive even further?

    Hi, My MacBook hung on me the other night and I heard clicking from inside it. I forced a shut down, but the machine would not reboot (other than to a blinking ? icon) which leads me to believe the hard drive is dud. If I have to, I will pay a drive