-
Notifications
You must be signed in to change notification settings - Fork 16
two pass encoding #50
Comments
I tried it and works fine. Can you copy&paste the error? |
I have installed 4.8.6 back and tried it, but there is no error except "There was an error while creating the disk" and debug data: Static data: |
When DEVEDE shows a window with that error there is an expander just below the text. Clicking on it shows a text entry with all the error text, and a button that allows to copy all the text, in order to paste it in a bug report. |
Oops. The box was too small and it seemed empty, but now I see: FFProbe JSON data: { Getting data for /opt/data/nakole/nakole1.dvd with ffprobe Dynamic data: Converting nakole1 (pass 1) Launching: avconv -i /opt/data/nakole/nakole1.dvd -i /opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v 3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000 -sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777 -trellis 0 -mbd 0 -b:a 224k -b:v 5000k -passlogfile /var/data/movie_preview.mpg -pass 1 /var/data/movie_preview.mpg ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers Converting nakole1 (pass 2) Launching: avconv -i /opt/data/nakole/nakole1.dvd -i /opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v 3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000 -sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k -passlogfile /var/data/movie_preview.mpg -pass 2 /var/data/movie_preview.mpg ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers |
Which distro are you using? Which version of Devede? Can you switch to
ffmpeg instead of avconv?
El 23/01/17 a las 22:19, pletiplot escribió:
…
Oops. The box was too small and it seemed empty, but now I see:
Static data:
`
FFProbe JSON data: {
"streams": [
{
"index": 0,
"codec_type": "data",
"codec_time_base": "1/90000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"id": "0x1bf",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"start_pts": 3120,
"start_time": "0.034667",
"duration_ts": 134402880,
"duration": "1493.365333",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
},
{
"index": 1,
"codec_name": "mpeg2video",
"codec_long_name": "MPEG-2 video",
"profile": "Main",
"codec_type": "video",
"codec_time_base": "1/50",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 720,
"height": 576,
"has_b_frames": 1,
"sample_aspect_ratio": "64:45",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 8,
"color_range": "tv",
"color_space": "bt470bg",
"color_transfer": "smpte170m",
"chroma_location": "left",
"timecode": "00:00:00:00",
"refs": 1,
"id": "0x1e0",
"r_frame_rate": "25/1",
"avg_frame_rate": "25/1",
"time_base": "1/90000",
"start_pts": 3600,
"start_time": "0.040000",
"duration_ts": 134402400,
"duration": "1493.360000",
"max_bit_rate": "9000000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
},
{
"index": 2,
"codec_name": "ac3",
"codec_long_name": "ATSC A/52A (AC-3)",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"dmix_mode": "-1",
"ltrt_cmixlev": "-1.000000",
"ltrt_surmixlev": "-1.000000",
"loro_cmixlev": "-1.000000",
"loro_surmixlev": "-1.000000",
"id": "0x80",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"start_pts": 3120,
"start_time": "0.034667",
"duration_ts": 134400960,
"duration": "1493.344000",
"bit_rate": "256000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
}
]
}
Getting data for /opt/data/nakole/nakole1.dvd with ffprobe
Estimated length: 1493; Resolution: 720x576
Dynamic data:
Converting nakole1 (pass 1)
Launching: avconv -i /opt/data/nakole/nakole1.dvd -i
/opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a
ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v
3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000
-sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777
-trellis 0 -mbd 0 -b:a 224k -b:v 5000k -passlogfile
/var/data/movie_preview.mpg -pass 1 /var/data/movie_preview.mpg
ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-cflags='-g -O2
-fstack-protector-strong -Wformat -Werror=format-security '
--extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared
--enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
--enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc
--enable-x11grab --enable-libgsm --enable-libtheora
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-version3 --enable-libopenjpeg --enable-librtmp
--enable-avfilter --enable-libfreetype --enable-libvo-aacenc
--disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
--libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray
--enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
--enable-libass --enable-libopus --enable-fontconfig --enable-libpulse
--disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
--enable-libvidstab --enable-libzvbi --enable-avresample
--disable-htmlpages --disable-podpages --enable-libutvideo
--enable-libfdk-aac --enable-libx265 --enable-libiec61883
--enable-vaapi --enable-libdc1394 --disable-altivec
--shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[NULL @ 0x2556ee0] start time for stream 0 is not set in
estimate_timings_from_pts
Input #0, mpeg, from '/opt/data/nakole/nakole1.dvd':
Duration: 00:24:53.37, start: 0.034667, bitrate: 5305 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv,
bt470bg/unknown/smpte170m), 720x576 [SAR 64:45 DAR 16:9], max. 9000
kb/s, Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv,
bt470bg/unknown/smpte170m), 720x576 [SAR 64:45 DAR 16:9], max. 9000
kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[NULL @ 0x255d3a0] start time for stream 0 is not set in
estimate_timings_from_pts
Input #1 <#1>, mpeg, from
'/opt/data/nakole/nakole1.dvd':
Duration: 00:24:53.37, start: 0.034667, bitrate: 5305 kb/s
Stream #1 <#1>:0[0x1bf]:
Data: dvd_nav_packet
Stream #1 <#1>:1[0x1e0]:
Video: mpeg2video (Main), yuv420p(tv, bt470bg/unknown/smpte170m),
720x576 [SAR 64:45 DAR 16:9], max. 9000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #1 <#1>:2[0x80]:
Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[mpeg2video @ 0x29506a0] Warning min_rate > 0 but min_rate != max_rate
isn't recommended!
Output #0, dvd, to '/var/data/movie_preview.mpg':
Metadata:
encoder : Lavf56.25.101
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, pass 1, 5000 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc56.26.100 mpeg2video
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Metadata:
encoder : Lavc56.26.100 ac3
Stream mapping:
Stream #1 <#1>:1 -> #0:0
(mpeg2video (native) -> mpeg2video (native))
Stream #0:2 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
frame= 123 fps=0.0 q=0.0 size= 4060kB time=00:00:04.80
bitrate=6929.1kbits/s
frame= 250 fps=0.0 q=0.0 Lsize= 7670kB time=00:00:10.01
bitrate=6276.6kbits/s
video:7236kB audio:274kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 2.127558%
Converting nakole1 (pass 2)
Launching: avconv -i /opt/data/nakole/nakole1.dvd -i
/opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a
ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v
3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000
-sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777 -s
720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k -passlogfile
/var/data/movie_preview.mpg -pass 2 /var/data/movie_preview.mpg
ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-cflags='-g -O2
-fstack-protector-strong -Wformat -Werror=format-security '
--extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared
--enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
--enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc
--enable-x11grab --enable-libgsm --enable-libtheora
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-version3 --enable-libopenjpeg --enable-librtmp
--enable-avfilter --enable-libfreetype --enable-libvo-aacenc
--disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
--libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray
--enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
--enable-libass --enable-libopus --enable-fontconfig --enable-libpulse
--disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
--enable-libvidstab --enable-libzvbi --enable-avresample
--disable-htmlpages --disable-podpages --enable-libutvideo
--enable-libfdk-aac --enable-libx265 --enable-libiec61883
--enable-vaapi --enable-libdc1394 --disable-altivec
--shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[NULL @ 0x1d5fd00] start time for stream 0 is not set in
estimate_timings_from_pts
Input #0, mpeg, from '/opt/data/nakole/nakole1.dvd':
Duration: 00:24:53.37, start: 0.034667, bitrate: 5305 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv,
bt470bg/unknown/smpte170m), 720x576 [SAR 64:45 DAR 16:9], max. 9000
kb/s Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv,
bt470bg/unknown/smpte170m), 720x576 [SAR 64:45 DAR 16:9], max. 9000
kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[NULL @ 0x1d664c0] start time for stream 0 is not set in
estimate_timings_from_pts
Input #1 <#1>, mpeg, from
'/opt/data/nakole/nakole1.dvd':
Duration: 00:24:53.37, start: 0.034667, bitrate: 5305 kb/s
Stream #1 <#1>:0[0x1bf]:
Data: dvd_nav_packet
Stream #1 <#1>:1[0x1e0]:
Video: mpeg2video (Main), yuv420p(tv, bt470bg/unknown/smpte170m),
720x576 [SAR 64:45 DAR 16:9], max. 9000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #1 <#1>:2[0x80]:
Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[mpeg2video @ 0x21596c0] Warning min_rate > 0 but min_rate != max_rate
isn't recommended!
[mpeg2video @ 0x21596c0] [lavc rc] Error: bitrate too low for this
video with these parameters.
Output #0, dvd, to '/var/data/movie_preview.mpg':
Stream #0:0: Video: mpeg2video, none, q=2-31, 128 kb/s Stream #0:0:
Video: mpeg2video, none, q=2-31, 128 kb/s, SAR 64:45 DAR 0:0, 25 fps
Metadata:
encoder : Lavc56.26.100 mpeg2video
Stream #0:1: Audio: ac3, 0 channels, 128 kb/s
Metadata:
encoder : Lavc56.26.100 ac3
Stream mapping:
Stream #1 <#1>:1 -> #0:0
(mpeg2video (native) -> mpeg2video (native))
Stream #0:2 -> #0:1 (ac3 (native) -> ac3 (native))
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArFd6Y6Jj619eCM7YA1GO65ev0phAOdks5rVRl1gaJpZM4LlfOx>.
--
Nos leemos
RASTER (Linux user #228804)
sergio.costas@rastersoft.com http://www.rastersoft.com
|
I have Debian jessie 8.6, python3-devedeng-sid_4.8.6-debian1_all.deb FFProbe JSON data: { Getting data for /opt/data/nakole/nakole1.dvd with ffprobe Dynamic data: Converting nakole1 (pass 1) Launching: ffmpeg -i /opt/data/nakole/nakole1.dvd -i /opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v 3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000 -sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777 -trellis 0 -mbd 0 -b:a 224k -b:v 5000k -passlogfile /var/data/movie_preview.mpg -pass 1 /var/data/movie_preview.mpg ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers Converting nakole1 (pass 2) Launching: ffmpeg -i /opt/data/nakole/nakole1.dvd -i /opt/data/nakole/nakole1.dvd -map 1:1 -map 0:2 -y -c:v mpeg2video -c:a ac3 -f dvd -r 25 -pix_fmt yuv420p -maxrate:v 7500000 -minrate:v 3333300 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 -ar 48000 -sn -g 12 -bf 2 -strict 1 -t 10 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k -passlogfile /var/data/movie_preview.mpg -pass 2 /var/data/movie_preview.mpg ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers |
I'm unable to reproduce this bug. Can you send me a video file that triggers it? (rastersoft@gmail.com) |
Yes, I can, but the video is a bit large (about 1 GB). I can try to cut 10 seconds using Openshot. |
Ok |
I have sent you reference to the file, I tried to double-encode, but failed. It works with 3.7.0. |
I'll check it ASAP. Thanks. |
I am often online via gtalk pletiplotcz@gmail.com, if you need more
information.
Thx Marek
P.S. - according to inability of making menu pictures 4:3 - may be it would
be possible to alter xml file after it is generated by the authorizer
program.
…---------- Původní zpráva ----------
Od: Sergio Costas <notifications@github.com>
Komu: rastersoft/devedeng <devedeng@noreply.github.com>
Datum: 7. 3. 2017 13:07:30
Předmět: Re: [rastersoft/devedeng] two pass encoding (#50)
"
I'll check it ASAP. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
(#50 (comment)),
or mute the thread
(https://github.com/notifications/unsubscribe-auth/AAWBo78UtFQheV4thMPqkswnEXTNnu6Kks5rjUh9gaJpZM4LlfOx)
.
"
|
I tried to install devedeng from the source (not from deb package) and it seems it works. |
From GIT, or from the DEBs available in my home page? |
The DEB from your page. |
I have found that when I use two step encoding and non Automatic bitrate, the program crashes. When I use Automatic bitrate, the program works. It seems there is some problem transfering the bitrate to the second step. |
Another test - if I keep 5000 kbit/s, it works, both Auto or non-auto. If I put there 3500, or when I put 6 parts and leave auto, it don't work. |
The last version it works OK is 4.8.2 In higher versions it works sometimes. |
I'm experiencing this issue with 4.8.8. This is with the 64-bit Ubuntu package on http://www.rastersoft.com/programas/devede.html on Ubuntu 16.04 LTS. I get the same messages with ffmpeg on the failed pass 2 as listed in the debug output above. Whether it happens seems to depend on exactly how much video I'm trying to fit on a disc. It seems that ffmpeg doesn't like the -minrate:v parameter devedeeng is using. If I take the devede-generated pass 2 encoding command for ffmpeg and launch it manually in a terminal, I get the same error, but if I remove just the -minrate:v parameter, or set it to 0, the encoding succeeds. Perhaps some adjustment is needed to ensure devedeeng stays within the range that ffmpeg wants, or maybe the minrate shouldn't be used (as the “Warning min_rate > 0 but min_rate != max_rate isn't recommended!” warning from ffmpeg seems to imply). |
(On Debian 9) Same here; I just installed devede 4.9 from the GItHub releases section and no longer have this problem when choosing 2-pass encoding (partial debugging output from using "preview"):
The deb package I had installed was 1:4:8.8-dmo1 The ffmpeg version I have installed is 10:3.3.6-dmo1+deb9u1 |
I'll check this during this weekend.
El 10/04/18 a las 06:35, Andy Alt escribió:
…
I tried to install devedeng from the source (not from deb package)
and it seems it works.
(On Debian 9) Same here; I just installed devede 4.9 from the GItHub
releases section and no longer have this problem when choosing 2-pass
encoding (partial debugging output from using "preview"):
|Stream mapping: Stream #1:0 -> #0:0 (h264 (native) -> mpeg2video
(native)) Stream #0:1 -> #0:1 (aac (native) -> mp2 (native)) Press [q]
to stop, [?] for help [mpeg2video @ 0x555d7a1bd4a0] Warning min_rate >
0 but min_rate != max_rate isn't recommended! [mpeg2video @
0x555d7a1bd4a0] [lavc rc] Error: bitrate too low for this video with
these parameters. Error initializing output stream 0:0 -- Error while
opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height Conversion failed! |
The deb package I had installed was 1:4:8.8-dmo1
The ffmpeg version I have installed is 10:3.3.6-dmo1+deb9u1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArFd0HQOx8Uh3RN9uMV2RxOQdyXjbdtks5tnDajgaJpZM4LlfOx>.
|
Hello,
I have installed devede version 4.8.6 and tried two pass encoding, but it allways failed (even preview). I have tried 4.7.0 and it worked. Can you have a look at it?
Thanks, Marek
The text was updated successfully, but these errors were encountered: