[SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

General support questions
Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

[SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by Rocksockdoc » 2012/07/17 04:25:57

The first step to creating a DVD disc from Youtube movies was downloading the flv, mov, wmv, etc. files using DownloadHelper 4.4.4:
- [url=http://www.downloadhelper.net/]How to install downloadhelper into Firefox to download YouTube videos[/url]

The next step was using avidemux 2.5.6 to convert those flv, mov, wmv, etc. files to the avi format on Centos 6:
- [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=38026&forum=55&post_id=165971#forumpost165971]How to install avidemux on Centos 6[/url]

Next using DeVeDe 3.16.9 to create a DVD iso disc image file with menus for playing on any DVD player:
- [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37907&forum=55&post_id=165633#forumpost165633]How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus[/url]

Once I had the ISO file, the last step was burning that DVD iso file to a DVD disc with Brasero 2.28.3:
- [url=What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}]How to install Brasero on Centos6 for burning files to DVD disc[/url]

Now my problem is simply that Brasero has failed to burn the resultant ISO image to a blank DVD disc on Centos6.

The brasero.log file is trying to tell me 'something':
[code]
Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1848)
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_set_output_size_for_current_track
BraseroBurnURI stopping
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_session_output_size
BraseroBurnURI output set (IMAGE) image = /tmp/brasero_tmp_0TMZHW.bin toc = none
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_current_track
BraseroBurnURI no burn:// URI found
BraseroBurnURI stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_set_output_size_for_current_track
BraseroLocalTrack stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_session_output_size
BraseroLocalTrack output set (IMAGE) image = /tmp/brasero_tmp_ANMZHW.bin toc = none
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_current_track
BraseroLocalTrack no remote URIs
BraseroLocalTrack stopping
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_flags
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_fd_in
BraseroChecksumImage called brasero_job_set_output_size_for_current_track
BraseroChecksumImage stopping
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage There is a checksum already 0
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_action
BraseroLibburn unsupported operation
BraseroLibburn deactivating
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_device
BraseroLibburn Drive (/dev/sr1) init result = 1
BraseroLibburn called brasero_job_get_flags
BraseroLibburn called brasero_job_get_media
BraseroLibburn called brasero_job_get_fd_in
BraseroLibburn called brasero_job_get_tracks
BraseroLibburn Setting multi 0
BraseroLibburn Setting burnproof 1
BraseroLibburn Setting dummy 0
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn burn_drive_convert_fs_adr( /dev/sr1 )
BraseroLibburn Waiting for operation to start
BraseroLibburn burn_drive_is_enumerable_adr( /dev/sr1 ) is true
BraseroLibburn Waiting for operation to start
BraseroLibburn Async START UNIT succeeded after 0.1 seconds
BraseroLibburn Waiting for operation to start
BraseroLibburn mmc_set_streaming: end_lba=2298495 , r=1385 , w=5540
BraseroLibburn Waiting for operation to start
BraseroLibburn dvd/bd Profile= 11h , obs= 32768 , obs_pad= 1
BraseroLibburn Waiting for operation to start
BraseroLibburn Feature 21h Link Size = 0 (expected 16)

BraseroLibburn Waiting for operation to start
BraseroLibburn Something went wrong
BraseroLibburn called brasero_job_error
BraseroLibburn finished with an error
BraseroLibburn asked to stop because of an error
error = 15
message = "An error occured while writing to disc"
BraseroLibburn stopping
Session error : An error occured while writing to disc (brasero_burn_record brasero-burn.c:2808)
[/code]

All I get from that Brasero log file is that an error occurred.

Looking at dmesg, I find the following debug information:
[code]
usb-storage: device scan complete
scsi 6:0:0:0: CD-ROM PIONEER DVD-RW DVR-107D 1.13 PQ: 0 ANSI: 0
sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 6:0:0:0: Attached scsi CD-ROM sr1
sr 6:0:0:0: Attached scsi generic sg2 type 5
usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
usb 4-2: New USB device found, idVendor=1058, idProduct=0740
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
usb 4-2: Product: USB Drive 0740
usb 4-2: Manufacturer: Western Digital
usb 4-2: SerialNumber: 474833614128384124125499
usb 4-2: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 7:0:0:0: Direct-Access WD USB Drive 0740 1003 PQ: 0 ANSI: 6
scsi 7:0:0:1: Enclosure WD SES Device 1003 PQ: 0 ANSI: 6
sd 7:0:0:0: Attached scsi generic sg3 type 0
scsi 7:0:0:1: Attached scsi generic sg4 type 13
sd 7:0:0:0: [sdb] Spinning up disk....ready
sd 7:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 47 00 10 08
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI disk
ses 7:0:0:1: Attached Enclosure device
SELinux: initialized (dev sdb1, type fuseblk), uses genfs_contexts
sr 6:0:0:0: [sr1] Unhandled sense code
sr 6:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 6:0:0:0: [sr1] Sense Key : Blank Check [current]
sr 6:0:0:0: [sr1] Add. Sense: No additional sense information
sr 6:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
Buffer I/O error on device sr1, logical block 0
sr 6:0:0:0: [sr1] Unhandled sense code
sr 6:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 6:0:0:0: [sr1] Sense Key : Blank Check [current]
sr 6:0:0:0: [sr1] Add. Sense: No additional sense information
sr 6:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
Buffer I/O error on device sr1, logical block 0
sr 6:0:0:0: [sr1] Unhandled sense code
sr 6:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 6:0:0:0: [sr1] Sense Key : Blank Check [current]
sr 6:0:0:0: [sr1] Add. Sense: No additional sense information
sr 6:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
Buffer I/O error on device sr1, logical block 0
[/code]

Given that, I 'guess' the key information from the Brasero log file is:
[code]
An error occured while writing to disc (brasero_burn_record brasero-burn.c:2808)
[/code]

And, I guess, the key information from dmesg is:
[code]
Unhandled sense code
[/code]

But that's all that I can figure out on my own.

Can you help?
Q: Where can I get debug information that will help me understand the problem?

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to download, assemble, & convert YouTube movies to burn to DVD disc using Brasero Disc Burner

Post by Rocksockdoc » 2012/07/17 05:24:35

Googling for the Brasero errors above, I find more bug reports on Brasero than I've ever seen on any product.
For example:
- [url=http://bugs.centos.org/view.php?id=5188]Centos 0005188: An error occured while writing to disc (brasero_burn_record brasero-burn.c:2808)[/url]
- [url=https://bugzilla.redhat.com/show_bug.cgi?id=476409]Bugzilla 476409 - Brasero doesn't burn iso images[/url]

For most of the Brasero bugs I found, people suggested that other DVD iso burners worked just fine so I installed k3b:
[code]
$ sudo yum install k3b
[/code]

Other than the dumb warning on Centos 6 when executing K3b for the first time that k3b needed "mad" codecs for MP3 burning, k3b had absolutely no problem burning the iso to DVD & subsequently verifying that newly created DVD disc.
[img]http://www1.picturepush.com/photo/a/8748964/640/8748964.png[/img]

So, it is my (newly arrived at) humble opinion, based on these results and my quick research, that Brasero is garbage, at least for my 64-bit Intel-based PC (Lenovo W510).

Q: Since Brasero is such a dismal failure, it would be nice to know what you guys use to burn ISO images to DVD.

Note: The only problem with k3b so far was the nearly useless error message that I needed "mad" Mp3 codecs - but without any hint as to HOW to obtain the necessary 'mad' mp3 codecs. A quick "yum install mad" failed to find anything called 'mad'. Googling for "k3b mad mp3 codec", it appears I'm not the only one frustrated by dumb warnings such as this one:
- [url=https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=17865&forum=38]Centos K3b MP3 support[/url]
- [url=http://forums.opensuse.org/archives/sf-archives/archives-software/archives-multimedia/340178-rpm-k3b-mad-mp3-decoder-plugin.html]Which RPM has the mad codec for k3b to burn audio CDs[/url]
- [url=http://k3b.plainblack.com/requirements]K3b requirements[/url]
etc.

Apparently K3b needs the "MAD MPEG Audio Decoder Library" but these attempts all fail:
- $ sudo yum install [url=http://www.mombu.com/gnu_linux/ubuntu/t-k3b-and-mad-mp3-support-which-package-12389914.html]libk3b2-mp3[/url]
- $ sudo yum install [url=http://www.rpmseek.com/rpm-pl/k3b-mad.html?hl=com&cx=0:]k3b-mad[/url]
- $ sudo yum install [url=http://forums.fedoraforum.org/archive/index.php/t-246239.html]k3b-extras-freeworld[/url]
etc.

Luckily, even though it's annoying not to be able to figure out what the command is to install the Mad MP3 codecs, this DVD didn't need them so the k3b KDB burner worked just fine where Brasero failed miserably.
[img]http://www4.picturepush.com/photo/a/8748997/640/8748997.png[/img]

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to download, assemble, & convert YouTube movies to burn to DVD disc using Brasero Disc Burner

Post by Rocksockdoc » 2012/07/17 09:34:59

Wow. The K3B KDE Burning Tool is working like a charm. I'm going to delete Brasero from my Centos6 installation because K3B is that good.
I tested it the past few hours on a variety of ISOs on my system.
K3B is fast. So far 100% of my resulting DVDs have verified and played in my DVD player.

So, we can mark this SOLVED.

Here is the procedure I recommend:

1. Download YouTube videos (many formats) using DownloadHelper 4.4.4.
2. Convert those various formats to AVI files using DeVeDe's "DivX/MPEG-4" button.
3. If desired, edit the AVI files using avidemux.
4. Combine the AVI files into a DVD-format ISO image (with menus) using DeVeDe's "VideoDVD" button.
5. Burn the resulting ISO image to DVD media using the "k3b" kde burning tool.

[img]http://www5.picturepush.com/photo/a/8749988/640/8749988.png[/img]

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

[SOLVED] How to download, assemble, & convert YouTube movies

Post by AlanBartlett » 2012/07/17 22:00:29

I am pleased to read of your success and that your now consider that this thread is [SOLVED].

On your behalf and for posterity, it is thus marked as such.

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by megatux » 2012/07/23 18:22:11

I have rebuilt the Centos K3B RPM with libmad and libmp3lame support enabled and I have also included a patch from the Fedora 12 K3B package that fixes Video DVD ripping using K3B and transcode.

More details here:
http://scientificlinuxforum.org/index.php?showtopic=1781

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by Rocksockdoc » 2012/07/23 20:32:50

[quote]
megatux wrote:
I have rebuilt the Centos K3B RPM with libmad and libmp3lame support enabled[/quote]

Wow. You guys are good!

For the record, K3b has burned a few dozen DVD's for me since I installed it without a single failure!

But now, with your fix, K3b 1.0.5 now comes up with MP3 support!
[img]http://www4.picturepush.com/photo/a/8800837/640/8800837.png[/img]

Thanks. For me, and for every single person who follows me installing the K3b burning program on Centos6 (and others).

Following your helpful instructions:
install the linuxtech.repo config file if you don't have it already:
[code]
su - root
cd /etc/yum.repos.d/
wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo
[/code]

install K3B:
[code]
yum --enablerepo=linuxtech-backports install k3b
[/code]

Here's a log of my re-install of K3b with MP3 audio encoding support on Centos6:
(Note: It seemed to update fine, even though K3b 1.0.5 was prior installed.)
[code]
$ su - root
# yum --enablerepo=linuxtech-backports install k3b
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.ecvps.com
* epel: ftp.cse.buffalo.edu
* extras: centos.mirrors.tds.net
* updates: ftp.linux.ncsu.edu
linuxtech-backports | 1.3 kB 00:00
linuxtech-backports/primary | 12 kB 00:00
linuxtech-backports 36/36
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package k3b.x86_64 1:1.0.5-13.el6 will be updated
--> Processing Dependency: k3b = 1:1.0.5-13.el6 for package: 1:k3b-common-1.0.5-13.el6.noarch
--> Processing Dependency: k3b = 1:1.0.5-13.el6 for package: 1:k3b-libs-1.0.5-13.el6.x86_64
---> Package k3b.x86_64 1:1.0.5-20.el6 will be an update
--> Running transaction check
---> Package k3b-common.noarch 1:1.0.5-13.el6 will be updated
---> Package k3b-common.noarch 1:1.0.5-20.el6 will be an update
---> Package k3b-libs.x86_64 1:1.0.5-13.el6 will be updated
---> Package k3b-libs.x86_64 1:1.0.5-20.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
k3b x86_64 1:1.0.5-20.el6 linuxtech-backports 783 k
Updating for dependencies:
k3b-common noarch 1:1.0.5-20.el6 linuxtech-backports 8.2 M
k3b-libs x86_64 1:1.0.5-20.el6 linuxtech-backports 676 k

Transaction Summary
================================================================================
Upgrade 3 Package(s)

Total download size: 9.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): k3b-1.0.5-20.el6.x86_64.rpm | 783 kB 00:01
(2/3): k3b-common-1.0.5-20.el6.noarch.rpm | 8.2 MB 00:10
(3/3): k3b-libs-1.0.5-20.el6.x86_64.rpm | 676 kB 00:01
--------------------------------------------------------------------------------
Total 645 kB/s | 9.7 MB 00:15
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 5cc6587f: NOKEY
Retrieving key from http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET
Importing GPG key 0x5CC6587F:
Userid: "LTN Packager <packager-el6rpms@LinuxTECH.NET>"
From : http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : 1:k3b-common-1.0.5-20.el6.noarch 1/6
Updating : 1:k3b-1.0.5-20.el6.x86_64 2/6
Updating : 1:k3b-libs-1.0.5-20.el6.x86_64 3/6
Cleanup : 1:k3b-common-1.0.5-13.el6.noarch 4/6
Cleanup : 1:k3b-1.0.5-13.el6.x86_64 5/6
Cleanup : 1:k3b-libs-1.0.5-13.el6.x86_64 6/6
Verifying : 1:k3b-libs-1.0.5-20.el6.x86_64 1/6
Verifying : 1:k3b-common-1.0.5-20.el6.noarch 2/6
Verifying : 1:k3b-1.0.5-20.el6.x86_64 3/6
Verifying : 1:k3b-common-1.0.5-13.el6.noarch 4/6
Verifying : 1:k3b-1.0.5-13.el6.x86_64 5/6
Verifying : 1:k3b-libs-1.0.5-13.el6.x86_64 6/6

Updated:
k3b.x86_64 1:1.0.5-20.el6

Dependency Updated:
k3b-common.noarch 1:1.0.5-20.el6 k3b-libs.x86_64 1:1.0.5-20.el6

Complete!
[/code]

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by megatux » 2012/07/23 22:07:25

Rocksockdoc, make sure you re-disable the linuxtech-release repo (set enabled=0 in the file /etc/yum.repos.d/linuxtech.repo) as I think you have a lot of packages from atrpms installed (if I remember your previous posts correctly) and keeping both enabled could cause you conflicts during updates in future.

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by Rocksockdoc » 2012/07/29 05:50:58

[quote]
megatux wrote:
make sure you re-disable the linuxtech-release repo [/quote]

These are the settings in that file (are they enough)?

[code]
# Installed 7/1/2012 for devede & also used 7/23/2012 for k3b
[linuxtech-release]
name=LinuxTECH.NET el6 production repo
baseurl=http://pkgrepo.linuxtech.net/el6/release/
enabled=0
gpgcheck=1
gpgkey=http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET

[linuxtech-testing]
name=LinuxTECH.NET el6 testing repo
baseurl=http://pkgrepo.linuxtech.net/el6/testing/
enabled=0
gpgcheck=1
gpgkey=http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET

[linuxtech-backports]
name=LinuxTECH.NET el6 backports repo
baseurl=http://pkgrepo.linuxtech.net/el6/backports/
enabled=0
gpgcheck=1
gpgkey=http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET
[/code]

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by megatux » 2012/07/29 14:35:01

[quote]
Rocksockdoc wrote:
[quote]
megatux wrote:
make sure you re-disable the linuxtech-release repo [/quote]

These are the settings in that file (are they enough)?
[/quote]

Yes, those are fine.
I mistakenly thought you re-ran the wget command and therefore re-downloaded the default linuxtech.repo file which contains "enabled=1", since you listed the wget command in your previous post.

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: [SOLVED] How to download, assemble, & convert YouTube movies to burn to DVD disc

Post by Rocksockdoc » 2012/08/04 09:08:19

[quote]
megatux wrote:
thought you re-ran the wget command [/quote]

I understand.

I didn't re-run the wget command because I had already run it when I needed DeVeDe as shown below so others may benefit:
[code]
[b]DeVeDe installation (linuxtech method):[/b]
1. Add the linuxtech repo to /etc/yum.repos.d using steps 2 & 3 below
2. $ cd /etc/yum.repos.d/
3. $ sudo wget http://pkgrepo.linuxtech.net/el6/testing/linuxtech.repo
4. This linuxtech.repo file has the 'linuxtech-release' repo enabled by default.
5. Since mixing repos is bad, disable linuxtech-release using step 6 below
6. sudo vi /etc/yum.repos.d/linuxtech.repo ==> Change: linuxtech-release 'enabled=1' to 'enabled=0'
7. Then see if devede is available:
8. $ yum --enablerepo=linuxtech-testing info devede
9. To install devede, enable the 'linuxtech-release' repo for dependencies:
10. yum --enablerepo=linuxtech-testing --enablerepo=linuxtech-release install devede
11. If this reports dependencies of mplayer and mencoder, install them from elsewhere; then repeat step 10
12. $ which devede ==> should report /usr/bin/devede & it will show up in your menus
[/code]

The only reason I repeated it here is that there was no way I could assume others had already downloaded it, and I like to write instructions that anyone can follow.

Thanks for all your help!

Post Reply