Public bug reported:

Came across this problem using OGMRip in ubuntu 13.04. The rip broke
down at the last step: merging the video-, audio- and chapters-files
into a complete mp4. Tried the same rip in Ubuntu 12.04. Same result.
Which was odd, because OGMRip has always worked fine for me in 12.04 in
the past.

Submitted a post, including a full log-file, about this failure at the
developper's web-page at sourceforge. Find it here:

http://sourceforge.net/p/ogmrip/discussion/258034/thread/dc196114/

I then started experimenting with MP4Box as a stand-alone ap, to see if
I could narrow down the source of the failure:

Thus I interrogated / re-packaged one of my old mp4s with MP4Box.
To get a record of the material in the source-file I did:

azed@azed-N110:~/Desktop$ MP4Box -info LesTroyensAct2.mp4

* Movie Info *
        Timescale 600 - Duration 00:25:21.898
        2 track(s)
        Fragmented File: no
        File suitable for progressive download (moov before mdat)
        File Brand mp42 - version 0
        Created: GMT Sat Apr 20 20:39:29 2013

File has root IOD (9 bytes)
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 2 (0x29)
No streams included in root OD

Chapters:
        Chapter #1 - 00:00:00.000 - "Act 2, Tableau 1.1 Sc�ne et R�citatif - "O 
lumi�re de Troie !" (Ascagne, En�e, Le Phant�me d'Hector)"
        Chapter #2 - 00:07:58.500 - "Act2, Tableau 1.2 R�citatif et Choeur - 
"Quelle esp�rance encore" (Ascagne, En�e, Chor�be, Panth�e, Choeur des Soldats 
troyens)"
        Chapter #3 - 00:10:46.167 - "Act 2, Tableau 2.1 Choeur-Pri�re - 
"Puissante Cyb�te" (Cassandre, Polyx�ne, Choeur)"
        Chapter #4 - 00:13:53.400 - "Act2 Tableau 2.2 R�citatif et Choeur - 
"Tous ne p�riront pas" (Cassandre, Polyx�ne, Choeur)"
        Chapter #5 - 00:17:58.033 - "Act 2, Tableau 2.3 Final - "Complices de 
sa gloire" (Les m�mes, un Chef Grec, Choeur des Grecs)"

iTunes Info:
        Name: Les Troyens Act 2

Track # 1 Info - TrackID 201 - TimeScale 30000 - Media Duration 00:25:21.720
Media Info: Language "Undetermined" - Type "vide:avc1" - 45606 samples
Visual Track layout: x=0 y=0 width=599 height=336
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 608 x 336
        AVC Info: 1 SPS - 1 PPS - Profile High @ Level 3
        NAL Unit length bits: 32
        Pixel Aspect Ratio 336:341 - Indicated track size 599 x 336
Synchronized on stream 1

Track # 2 Info - TrackID 202 - TimeScale 48000 - Media Duration 00:25:21.898
Media Info: Language "Unknown" - Type "soun:mp4a" - 71339 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000
Synchronized on stream 1
Alternate Group ID 1

azed@azed-N110:~/Desktop$

Very complete. No problems, thus far. [The omissions in the chapter-
headings, above, can be ignored (I assume), as being caused by
limitations on the characters available to the terminal]

Re-packaged this mp4, without including a chapters file, with:

azed@azed-N110:~/Desktop$ MP4Box -fps 30000/1001 -add LesTroyensAct2.mp4#video 
-add LesTroyensAct2.mp4#audio ../LesTroyensAct2.mp4
IsoMedia import LesTroyensAct2.mp4 - track ID 201 - Video (size 608 x 336)
Warning: track ID 201 has references to a track not imported
IsoMedia import LesTroyensAct2.mp4 - track ID 202 - Audio (SR 48000 - 2 
channels)
Warning: track ID 201 has references to a track not imported
Saving to ../LesTroyensAct2.mp4: 0.500 secs Interleaving
azed@azed-N110:~/Desktop$

Thus no problems here either – produced a new out-file at the stipulated 
location; and the new file played fine.
Finally, I tried adding a chapters-file to the mix:

azed@azed-N110:~/Desktop$ MP4Box -new -fps 30000/1001 -add 
LesTroyensAct2.mp4#video -add LesTroyensAct2.mp4#audio -chap 
LesTroyensAct2Chaps.txt ../LesTroyensAct2.mp4
IsoMedia import LesTroyensAct2.mp4 - track ID 201 - Video (size 608 x 336)
Warning: track ID 201 has references to a track not imported
IsoMedia import LesTroyensAct2.mp4 - track ID 202 - Audio (SR 48000 - 2 
channels)
Warning: track ID 201 has references to a track not imported
Segmentation fault (core dumped)

And so the re-mux aborted at the add-chapters point.

I am wondering: does this behaviour, in both precise and raring, have
anything to do with the update of libavcodec-extra-53 which both systems
recently received. As I understand it, libavcodec-extra-53 handles
x264-encoding and is a dependency of gpac.

Final point: since chapter-imorting cannot be "turned off" in OGMRip,
this bug (if such it be) effectively kills OGMRip as a DVD ripper.

** Affects: gpac (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1176596

Title:
  MP4Box crashes in Precise and Raring when importing chapters text-file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gpac/+bug/1176596/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to