convert flv to vob
Hi, I want to convert a recorder flv-video to a vob-video. I am not very familiar with flv and vob files, yet. But I promised a friend to help him with this christmas present. I am looking for a conversion which leaves as many settings/codecs/bitrate as possible unchanged. The conversion should not create additional artefacts. I studied the man pages of ffmpeg a little bit and came up with this command. But I think this command can be improved, any ffmpeg-expert willing to help? I am still unsure about how to specify the bitrate.. ffmpeg -i test.flv -s 720x404 -target dvd -ar 44100 -aspect 4:3 test.mpg Below is the output of rtmpdump (which I used to record the video stream INFO: duration 3113.03 INFO: moovPosition 32.00 INFO: audiocodecid mp4a INFO: width 720.00 INFO: height 540.00 INFO: videocodecid avc1 INFO: avcprofile 77.00 INFO: avclevel 30.00 INFO: aacaot 2.00 INFO: audiosamplerate 44100.00 INFO: audiochannels 2.00 INFO: videoframerate 25.00 INFO: trackinfo: INFO: length 137284608.00 INFO: timescale 44100.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a INFO: length 77813000.00 INFO: timescale 25000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 INFO: length 137288704.00 INFO: timescale 44100.00 INFO: language und INFO: sampledescription: INFO: length 280126800.00 INFO: timescale 90000.00 INFO: language und more info on the input flv-file (output of ffmpeg): Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from 'test.flv': Duration: 01:18:18.55, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x404 [PAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16 Thanks for any help. Franz
2010/12/23 Franz Waldm?ller <waldbauernbub at gmx.at>
Hi,
I want to convert a recorder flv-video to a vob-video.
I am not very familiar with flv and vob files, yet. But I promised a friend to help him with this christmas present.
I am looking for a conversion which leaves as many settings/codecs/bitrate as possible unchanged. The conversion should not create additional artefacts.
I studied the man pages of ffmpeg a little bit and came up with this command. But I think this command can be improved, any ffmpeg-expert willing to help?
I am still unsure about how to specify the bitrate.. ffmpeg -i test.flv -s 720x404 -target dvd -ar 44100 -aspect 4:3 test.mpg
Below is the output of rtmpdump (which I used to record the video stream INFO: duration 3113.03 INFO: moovPosition 32.00 INFO: audiocodecid mp4a INFO: width 720.00 INFO: height 540.00 INFO: videocodecid avc1 INFO: avcprofile 77.00 INFO: avclevel 30.00 INFO: aacaot 2.00 INFO: audiosamplerate 44100.00 INFO: audiochannels 2.00 INFO: videoframerate 25.00 INFO: trackinfo: INFO: length 137284608.00 INFO: timescale 44100.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a INFO: length 77813000.00 INFO: timescale 25000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 INFO: length 137288704.00 INFO: timescale 44100.00 INFO: language und INFO: sampledescription: INFO: length 280126800.00 INFO: timescale 90000.00 INFO: language und
more info on the input flv-file (output of ffmpeg): Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from 'test.flv': Duration: 01:18:18.55, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x404 [PAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
Thanks for any help.
Franz
Hi Franz, I have also seen that warning: container frame rate differs from codec frame rate when I converted from mp4 to flv. I think it is safe to ignore it. pushkar
Hi, 2010/12/23 Franz Waldm?ller :
Hi,
I want to convert a recorder flv-video to a vob-video.
I am not very familiar with flv and vob files, yet. But I promised a friend to help him with this christmas present.
I am looking for a conversion which leaves as many settings/codecs/bitrate as possible unchanged. The conversion should not create additional artefacts.
I studied the man pages of ffmpeg a little bit and came up with this command. But I think this command can be improved, any ffmpeg-expert willing to help?
I am still unsure about how to specify the bitrate.. ffmpeg -i test.flv -s 720x404 -target dvd -ar 44100 -aspect 4:3 test.mpg
Below is the output of rtmpdump (which I used to record the video stream INFO: ? duration ? ? ? ? ? ? ?3113.03 INFO: ? moovPosition ? ? ? ? ?32.00 INFO: ? audiocodecid ? ? ? ? ?mp4a INFO: ? width ? ? ? ? ? ? ? ? 720.00 INFO: ? height ? ? ? ? ? ? ? ?540.00 INFO: ? videocodecid ? ? ? ? ?avc1 INFO: ? avcprofile ? ? ? ? ? ?77.00 INFO: ? avclevel ? ? ? ? ? ? ?30.00 INFO: ? aacaot ? ? ? ? ? ? ? ?2.00 INFO: ? audiosamplerate ? ? ? 44100.00 INFO: ? audiochannels ? ? ? ? 2.00 INFO: ? videoframerate ? ? ? ?25.00 INFO: trackinfo: INFO: ? length ? ? ? ? ? ? ? ?137284608.00 INFO: ? timescale ? ? ? ? ? ? 44100.00 INFO: ? language ? ? ? ? ? ? ?eng INFO: sampledescription: INFO: ? sampletype ? ? ? ? ? ?mp4a INFO: ? length ? ? ? ? ? ? ? ?77813000.00 INFO: ? timescale ? ? ? ? ? ? 25000.00 INFO: ? language ? ? ? ? ? ? ?eng INFO: sampledescription: INFO: ? sampletype ? ? ? ? ? ?avc1 INFO: ? length ? ? ? ? ? ? ? ?137288704.00 INFO: ? timescale ? ? ? ? ? ? 44100.00 INFO: ? language ? ? ? ? ? ? ?und INFO: sampledescription: INFO: ? length ? ? ? ? ? ? ? ?280126800.00 INFO: ? timescale ? ? ? ? ? ? 90000.00 INFO: ? language ? ? ? ? ? ? ?und
more info on the input flv-file (output of ffmpeg): Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from 'test.flv': ? Duration: 01:18:18.55, start: 0.000000, bitrate: N/A ? ? Stream #0.0: Video: h264, yuv420p, 720x404 [PAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc ? ? Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
-ar 44100 -s 720x404 will create a non-valid DVD VOB. Just use: ffmpeg -i test.flv -target dvd -aspect 4:3 test.mpg Play with -b if you're not happy with the default bitrate. Merry Christmas, V?ctor
Hi Victor, Hi Pushkar, Thank you very much for your hints for transcoding flv to vob. I finally just used kdenlive to transcode the files. I don't know if this was the best option, but it was suited for my tight time budget. Franz Am 2010-12-24 19:40, schrieb V?ctor Paesa:
Hi,
2010/12/23 Franz Waldm?ller :
Hi,
I want to convert a recorder flv-video to a vob-video.
I am not very familiar with flv and vob files, yet. But I promised a friend to help him with this christmas present.
I am looking for a conversion which leaves as many settings/codecs/bitrate as possible unchanged. The conversion should not create additional artefacts.
I studied the man pages of ffmpeg a little bit and came up with this command. But I think this command can be improved, any ffmpeg-expert willing to help?
I am still unsure about how to specify the bitrate.. ffmpeg -i test.flv -s 720x404 -target dvd -ar 44100 -aspect 4:3 test.mpg [snip] more info on the input flv-file (output of ffmpeg): Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from 'test.flv': Duration: 01:18:18.55, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x404 [PAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
-ar 44100 -s 720x404 will create a non-valid DVD VOB.
Just use:
ffmpeg -i test.flv -target dvd -aspect 4:3 test.mpg
Play with -b if you're not happy with the default bitrate.
Merry Christmas, V?ctor _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
participants (3)
-
pradhan.pushkar@gmail.com -
victorpaesa@googlemail.com -
waldbauernbub@gmx.at