Coder Social home page Coder Social logo

Unable to process video about untrunc HOT 9 OPEN

ponchio avatar ponchio commented on August 23, 2024
Unable to process video

from untrunc.

Comments (9)

gearhead avatar gearhead commented on August 23, 2024

Tried using the libav-0.8.7 in your instructions. I was able to compile libav and now when I try to compile untrunc, I get:
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:995: undefined reference to BZ2_bzDecompressInit' untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1009: undefined reference toBZ2_bzDecompress'
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1012: undefined reference to BZ2_bzDecompressEnd' untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1003: undefined reference toBZ2_bzDecompressEnd'

from untrunc.

ponchio avatar ponchio commented on August 23, 2024

Ciao Gear, about the bz2_bzDecompressInit, probaby you just need to add
-lbz2.

About the other error I really have no idea, I never had recovered files as
input, you can send me the samples if you wish I will gladly have a look a
them.

On Mon, Sep 16, 2013 at 11:58 PM, gearhead [email protected] wrote:

Tried using the libav-0.8.7 in your instructions. I was able to compile
libav and now when I try to compile untrunc, I get:
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:995: undefined
reference to BZ2_bzDecompressInit'
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1009: undefined
reference toBZ2_bzDecompress'
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1012: undefined
reference to BZ2_bzDecompressEnd'
untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1003: undefined
reference toBZ2_bzDecompressEnd'


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-24548248
.

from untrunc.

gearhead avatar gearhead commented on August 23, 2024

Adding -lbz2 to the gcc command allowed it to compile and use the 0.8.7 library. I have 4 files I am trying to 'fix'. When I try to 'fix' these, I get 2 different errors depending on the file. For most of them, I get a channel element error:
[aac @ 0x2dc08a0] channel element 0.12 is not allocated,
[aac @ 0x20e48a0] channel element 3.2 is not allocated,
or
[aac @ 0x29088a0] channel element 3.13 is not allocated.

For the one file, I get
[aac @ 0x187d8a0] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x187d8a0] Not evaluating a further program_config_element as this construct is dubious at best.
[aac @ 0x187d8a0] Number of scalefactor bands in group (52) exceeds limit (49).

Thanks for any help. If I were to send them to you, how would I do that? The faulty video is 160Mb and the sample is 18Mb...

from untrunc.

ponchio avatar ponchio commented on August 23, 2024

Ciao,
never encountered those errors... to send me the files you can:

  1. (preferred!) Setup a free dropbox.com account (2GB free) and send me the
    link.
  2. truncate the 160Mb to 16Mb and send them by email.

Ciao,

Federico

On Tue, Sep 17, 2013 at 4:14 PM, gearhead [email protected] wrote:

Adding -lbz2 to the gcc command allowed it to compile and use the 0.8.7
library. I have 4 files I am trying to 'fix'. When I try to 'fix' these, I
get 2 different errors depending on the file. For most of them, I get a
channel element error:
[aac @ 0x2dc08a0] channel element 0.12 is not allocated,
[aac @ 0x20e48a0] channel element 3.2 is not allocated,
or
[aac @ 0x29088a0] channel element 3.13 is not allocated.

For the one file, I get
[aac @ 0x187d8a0] Sample rate index in program config element does not
match the sample rate index configured by the container.
[aac @ 0x187d8a0] Not evaluating a further program_config_element as this
construct is dubious at best.
[aac @ 0x187d8a0] Number of scalefactor bands in group (52) exceeds limit
(49).

Thanks for any help. If I were to send them to you, how would I do that?
The faulty video is 160Mb and the sample is 18Mb...


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-24591183
.

from untrunc.

gearhead avatar gearhead commented on August 23, 2024

Just sent a link to 2 files on my G Drive to your gmail email address.

from untrunc.

ponchio avatar ponchio commented on August 23, 2024

I will have a look at them and let you know.

Ciao,

Federico

On Tue, Sep 17, 2013 at 7:02 PM, gearhead [email protected] wrote:

Just sent a link to 2 files on my G Drive to your gmail email address.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-24604803
.

from untrunc.

gearhead avatar gearhead commented on August 23, 2024

Frederico,

Any hope?

Keith

from untrunc.

csepulveda avatar csepulveda commented on August 23, 2024

I have the same error:

root@ubuntu:~# ffmpeg -i test.mp4
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Apr  2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2013-10-17 19:01:51
    encoder         : Lavf53.21.1
  Duration: 00:00:59.00, start: 0.000000, bitrate: 4141 kb/s
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 4015 kb/s, 29.95 fps, 30 tbr, 30 tbn, 60 tbc
    Metadata:
      creation_time   : 2013-10-17 19:01:51
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 120 kb/s
    Metadata:
      creation_time   : 2013-10-17 19:01:51
At least one output file must be specified
root@ubuntu:~# ffmpeg -i error.mp4
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Apr  2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x65a7a0] moov atom not found
error.mp4: Invalid data found when processing input
root@ubuntu:~# untrunc/untrunc test.mp4 error.mp4
Reading: test.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2013-10-17 19:01:51
    encoder         : Lavf53.21.1
  Duration: 00:00:59.00, start: 0.000000, bitrate: 4141 kb/s
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 4015 kb/s, 29.95 fps, 30 tbr, 30 tbn, 60 tbc
    Metadata:
      creation_time   : 2013-10-17 19:01:51
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 120 kb/s
    Metadata:
      creation_time   : 2013-10-17 19:01:51
[aac @ 0xfe2fe0] channel element 3.3 is not allocated
Begin: 66747970 66747970
root@ubuntu:~#

from untrunc.

stgarf avatar stgarf commented on August 23, 2024

I'm having the same issue as well...

$ uname -a
Linux hostname 3.2.5-gg1236-ganetixenu #1 SMP Tue May 21 04:18:30 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

$ ffmpeg -version
ffmpeg version 0.8.8-4:0.8.8-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Oct 22 2013 12:31:55 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
ffmpeg 0.8.8-4:0.8.8-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0

$ avconv -version
avconv version 0.8.8-4:0.8.8-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Oct 22 2013 12:31:55 with gcc 4.6.3
avconv 0.8.8-4:0.8.8-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0

$ ./untrunc/untrunc MV43_339.m4v MV43_398.m4v
Reading: MV43_339.m4v
Composition time offset atom found. Out of order samples possible.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MV43_339.m4v':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-10-01 22:36:15
Duration: 00:22:27.19, start: 0.000000, bitrate: 2196 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1998 kb/s, 29.62 fps, 30 tbr, 3k tbn, 60 tbc
Metadata:
creation_time : 2013-10-01 22:36:15
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 191 kb/s
Metadata:
creation_time : 2013-10-01 22:36:15
[aac @ 0xf49660] channel element 3.3 is not allocated
Begin: 66747970 66747970
$

from untrunc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.